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

SearchBox: Unify suggestions and input design #854

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Dlurak
Copy link
Collaborator

@Dlurak Dlurak commented Dec 23, 2024

Description

In #589 we agreed to make the suggestions transparent and add a gap to the input.

Screenshots

IMG_8936

Accessibility

I'm unsure about the contrast it is probably too low for the secondary/gray labels

Copy link

vercel bot commented Dec 23, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
osmapp ✅ Ready (Inspect) Visit Preview Dec 23, 2024 11:18am

@Dlurak
Copy link
Collaborator Author

Dlurak commented Dec 23, 2024

As we now have a custom component for the paper we can also show some content above the list. What do you think about adding some big buttons above the list to open features like "Current location", "Home", "School"/"Work" and "Last seen"?

I've tried it but it didn't look good:

Untitled

export const OptionsPaper = styled(Paper)<PaperProps>`
background-color: ${({ theme }) => theme.palette.background.searchInput};
-webkit-backdrop-filter: blur(35px);
backdrop-filter: blur(35px);
Copy link
Owner

@zbycz zbycz Dec 26, 2024

Choose a reason for hiding this comment

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

To consider: The custom component looks great on empty screen. Though i think, it shouldn't be transparent, when there is a sidebar open. Everything kinda melts together. Is it fixable?

image

@zbycz
Copy link
Owner

zbycz commented Dec 26, 2024

ad accessibilty) great point - lets discuss it in separate issue: #857

ad custom button on top) i created this issue #856

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants