-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Settings Search #1312
Settings Search #1312
Conversation
@luah5 : Registrazione.schermo.2023-06-13.alle.12.55.26.mov
|
@luah5 : When selecting an element I don't think @austincondiff wants the whole group to be selected, at least macOS Ventura doesn't do that, it only selects the single element. Registrazione.schermo.2023-06-13.alle.21.45.14.movFor point 2) I think it is useful to understand where the property is, then you need to hear what others think ask @austincondiff. |
@Angelk90 I'd agree with out that it should probably flash or jump out at you in some way. System settings doesn't do this though so we might save this for another PR. Regardless, my guess is It is selecting all the related items because they all point to the same location, so they are all selected. We need to think of a workaround to this so only the item that is clicked is selected. |
@luah5 : The thing that the whole group remains selected does not convince me. Registrazione.schermo.2023-06-15.alle.11.19.52.mov |
CodeEdit/Utils/Extensions/String/String+camelCaseToProperWord.swift
Outdated
Show resolved
Hide resolved
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.
Nice work! I noticed some issues:
- Tab selection state isn't kept
- I should be able to go through the search results by pressing the up and down arrow keys
- It is difficult to search for settings because the search keywords don't match the "real" labels of the settings
This is a good base, but I think it needs improvements. I strongly suggest using settings labels instead of variable names as keywords. This is what will need to happen anyway.
Not doing that now is a bit pointless, as the work from this PR would be removed later on. I would also like to avoid complaints from users about search not being accurate / predictable
@luah5 When there is no search text input, the menu item color needs to be primary. It looks like it is defaulting to secondary. It should only be secondary when there is text input into the search field. |
@austincondiff , @luah5 : When the possibility of having CE in multiple languages will be enabled later and there will be all the translations, how will this system work at the moment? |
…ttings translation and add locationsSettings for better search results
fix merge conflicts
CodeEdit/Features/Settings/Pages/SourceControlSettings/Models/SourceControlSettings.swift
Show resolved
Hide resolved
CodeEdit/Features/Settings/Pages/GeneralSettings/Models/GeneralSettings.swift
Show resolved
Hide resolved
What is the status on this PR? We need to either finish it or close it. There is a lot of good work here so I'd rather push it over the finish line if we can. |
Sorry for the recent inactivity, I'll try to get this finished with my limited time at the moment. Then this PR can be merged. |
I would love to have this PR merged, could some people please review this PR? |
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.
I've only that remark, other then that it looks fine
CodeEdit/Features/Settings/Pages/AccountsSettings/Models/AccountsSettings.swift
Outdated
Show resolved
Hide resolved
…ntsSettings.swift Co-authored-by: Austin Condiff <austin.condiff@gmail.com>
@luah5 can you fix the conflict with |
sure |
just fixed the merge conflicts, if a reviewer has time, please review this PR thanks! |
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.
I found a few styling 'issues'.
CodeEdit/Features/Documents/Controllers/CodeEditWindowController.swift
Outdated
Show resolved
Hide resolved
CodeEdit/Utils/Extensions/String/String+HighlightOccurrences.swift
Outdated
Show resolved
Hide resolved
@luah5 FYI, |
Co-authored-by: Wesley de Groot <email@wesleydegroot.nl>
In the interest of preserving the work that has been done and not letting this PR become stale, I merged this PR. For those that requested changes to this PR, feel free to open follow-up PR's for these changes. |
Description
This PR adds support for searching settings in CE's settings, it works very similar to the way System Settings searches.
Related Issues
Checklist
Screenshots
trimmed.mov
Extra notes
I've updated the docs for adding a new setting so that it appears in the search results