Skip to content

Allow group descriptions to be edited in the groups dock#119452

Open
AtomicAntt wants to merge 1 commit into
godotengine:masterfrom
AtomicAntt:edit-group-description
Open

Allow group descriptions to be edited in the groups dock#119452
AtomicAntt wants to merge 1 commit into
godotengine:masterfrom
AtomicAntt:edit-group-description

Conversation

@AtomicAntt
Copy link
Copy Markdown
Contributor

@AtomicAntt AtomicAntt commented May 14, 2026

Closes godotengine/godot-proposals#14840

Currently in the Groups dock, we can't edit descriptions for global groups after we've created them. While it is possible to edit descriptions by going into Project settings -> Globals -> Groups and then editing the description there, it's slightly inconvenient.

This PR allows users to also change the description of a global group when they want to rename them.

Edit: This PR allows users to change the description of a global group in the groups dock of the editor, and changes the Rename option to Edit.

image image

@AtomicAntt AtomicAntt requested a review from a team as a code owner May 14, 2026 05:40
@AThousandShips AThousandShips added this to the 4.x milestone May 14, 2026
Copy link
Copy Markdown
Member

@Calinou Calinou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested locally, it works as expected (including undo/redo). Code looks good to me.

I would rename the Rename option to Edit though, since it can be used to edit the group's description as well now:

Image

@AtomicAntt AtomicAntt force-pushed the edit-group-description branch from e672b5c to 996c9bd Compare May 14, 2026 18:22
@AtomicAntt AtomicAntt changed the title Allow group descriptions to be edited when renaming groups. Allow group descriptions to be edited in the groups dock May 14, 2026
@AtomicAntt
Copy link
Copy Markdown
Contributor Author

AtomicAntt commented May 14, 2026

Good point, I changed it up so that the option shows up as Edit instead of Rename.

Additionally, I changed the confirmation dialog's title to be "Edit Group" instead of "Rename Group" now that it can let users change the description as well.

image image image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow users to edit group descriptions when renaming groups

3 participants