-
-
Notifications
You must be signed in to change notification settings - Fork 2.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
feat(web): improve UI/UX for settings pages #12626
Conversation
…settings-accordion
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.
This is a nice visual refresh! What do you think about moving the search bar out of the header, to spanning the width above the settings? This space is already particularly cramped in small screen sizes, and I think it would be cool to make this feature more visible and give users more space to see the text they have typed.
web/src/lib/components/shared-components/settings/setting-accordion.svelte
Outdated
Show resolved
Hide resolved
Co-authored-by: Ben <[email protected]>
…rdion.svelte Co-authored-by: Ben <[email protected]>
web/src/lib/components/shared-components/settings/setting-accordion.svelte
Outdated
Show resolved
Hide resolved
|
||
$: filteredSettings = settings.filter(({ title, subtitle }) => { | ||
const query = searchQuery.toLowerCase(); | ||
return title.toLowerCase().includes(query) || subtitle.toLowerCase().includes(query); |
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.
Can you include the actual config content on here as well? Basically index into it data.configs via the selected component.
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.
Can you elaborate?
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.
If I use Google oauth and search for "Google" would it return that result?
If I search for aac and that is the code I'm using for transcoding would it return that section as well?
I was just mentioning that you could also search against the current config for each second as well as the title and description.
This PR adds enhancements for the settings pages.
New UI
Text search