Skip to content
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

Merged
merged 12 commits into from
Sep 16, 2024
Merged

Conversation

alextran1502
Copy link
Contributor

@alextran1502 alextran1502 commented Sep 13, 2024

This PR adds enhancements for the settings pages.

  • New accordion UI to give a visual clue that the setting is being opened
  • Add an icon to each setting to help distinguish each of them more easily
  • Add a search box to the admin settings since the list has grown off-screen, you can search using the set locale of the web app

New UI

image

Text search

image

@alextran1502 alextran1502 changed the title feat(web): improve UI/UX for settings page feat(web): improve UI/UX for settings pages Sep 13, 2024
Copy link
Member

@ben-basten ben-basten left a 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.

Screenshot 2024-09-13 at 07 18 23


$: filteredSettings = settings.filter(({ title, subtitle }) => {
const query = searchQuery.toLowerCase();
return title.toLowerCase().includes(query) || subtitle.toLowerCase().includes(query);
Copy link
Contributor

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Can you elaborate?

Copy link
Contributor

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.

@jrasm91 jrasm91 merged commit 186b4e1 into main Sep 16, 2024
35 checks passed
@jrasm91 jrasm91 deleted the feat/better-settings-accordion branch September 16, 2024 20:51
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.

4 participants