-
-
Notifications
You must be signed in to change notification settings - Fork 21.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show only compatible nodes in 'Select a node' window #79213
Show only compatible nodes in 'Select a node' window #79213
Conversation
fd7c838
to
929e3f9
Compare
I'd suggest changing the text to just "Show All" as there's nothing else it could be, and to cuddle it up on the same horizontal level as the filter input field. You're very unlikely to write something really long in it. Also, both serve the same purpose of filtering. ^ Example of a similar thing elsewhere in the editor. |
Indeed, looks much better now @MewPurPur 😊 |
929e3f9
to
37a7fe8
Compare
37a7fe8
to
8c5bf10
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Nitpick - Our code style enforces punctuation for proper sentences.
8c5bf10
to
dcace12
Compare
Oh, didn't know about that @MewPurPur , that's no problem. Should be fixed. (Now that you've said it, I notice these dots everywhere! 😄) |
Lots of places in the codebase are missing dots, yeah. You can often date Godot's code by how its comments look :P |
Is there anything left I need to do before merge ? |
It's a waiting game now! |
dcace12
to
90a3891
Compare
There's an erroneous tab making static checks fail. We keep empty lines really empty for consistency in code style. |
90a3891
to
c711472
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested locally (rebased on top of master
c495eb5), it works as expected.
Testing project: test_pr_79213.zip
Node tree
Without filter
Show All disabled | Show All enabled |
---|---|
With filter
Show All disabled | Show All enabled |
---|---|
@Calinou I don't think it's working properly when 'Show All' is disabled. On your screenshots, the nodes in red should not appear: I'll fix it, thanks for testing! |
c711472
to
1be1904
Compare
It's fixed, here is the updated result with the test project provided by @Calinou : Without filter
With filter
|
Minor nitpick, but usually we keep the title of commit messages only for the description of the change, and references to issues / proposals go in the body of the commit, e.g.:
|
I think the state of Show All should be remembered between sessions. You can use |
2406db4
to
200a7fa
Compare
Noted, it's updated. Thanks.
It's done. I've used "editor_metadata" as section, which I thought was the most suitable. I'm not sure if that's the correct one, please correct me if necessary, I don't know how the metadata are organised.
|
"editor_metadata" section is fine, but the name is not very descriptive. Something like "show_all_nodes_for_node_selection" would be better. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left some minor comments, but otherwise it's fine.
200a7fa
to
bf4cbd4
Compare
Everything is fixed, should be ready to merge. Thanks everyone for testing and reviewing ❤️ |
Thanks! |
Resolve proposal godotengine/godot-proposals#7217
Result: