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

Bug: Vault dash filter UI overflows on laptop screens #166

Open
murderteeth opened this issue Jul 13, 2023 · 9 comments
Open

Bug: Vault dash filter UI overflows on laptop screens #166

murderteeth opened this issue Jul 13, 2023 · 9 comments
Assignees
Labels
bug Something isn't working

Comments

@murderteeth
Copy link
Collaborator

murderteeth commented Jul 13, 2023

  • For laptop screens (~1440 pixels wide), filter UI on the vault dash overflows as you toggle more settings.
  • Also shrinks text filter to the point of being unusable

image

tasks

Update the toolbar to use fixed widths for its different components and use ellipsis to truncate text overflow. Here's a template:
image

@murderteeth murderteeth added the bug Something isn't working label Jul 13, 2023
@udhaykumarbala
Copy link
Contributor

Hi @murderteeth, can i work on it

@murderteeth
Copy link
Collaborator Author

murderteeth commented Jul 26, 2023

Hello @udhaykumarbala, instead of fixing this specific overflow problem, we may redesign the toolbar a bit. It will be at least several days, but I'll post a new spec here and AT you. If you have ideas on that, feel free. I'm also going to post a couple more issues tomorrow or day after that might interest you.

@udhaykumarbala
Copy link
Contributor

udhaykumarbala commented Jul 26, 2023

Hello @udhaykumarbala, instead of fixing this specific overflow problem, we may redesign the toolbar a bit. It will be at least several days, but I'll post a new spec here and AT you. If you have ideas on that, feel free. I'm also going to post a couple more issues tomorrow or day after that might interest you.

For this issue, i thought of two ideas

  1. truncate with dots like showing "vaults, v2,..."
  2. just show the filter icon, since the state is already shown on click

just thoughts🙈, feel free to ignore.

Happy to work on more issues, Thanks for your kind guidance

@murderteeth
Copy link
Collaborator Author

Your welcome and thank you for contributing @udhaykumarbala! Can you explain your idea #2 a little more?

Truncating with dots (ellipsis) has proved tricky actually, because the filters are laid out with relative width as I recall. Or anyway, I couldn't get it to work in a sane way when I tried! That's one of the reasons for a slight re-design.. the current design makes it hard to do things like adding ellipsis to truncate labels =)

@udhaykumarbala
Copy link
Contributor

Your welcome and thank you for contributing @udhaykumarbala! Can you explain your idea #2 a little more?

Truncating with dots (ellipsis) has proved tricky actually, because the filters are laid out with relative width as I recall. Or anyway, I couldn't get it to work in a sane way when I tried! That's one of the reasons for a slight re-design.. the current design makes it hard to do things like adding ellipsis to truncate labels =)

Agreed

@murderteeth
Copy link
Collaborator Author

murderteeth commented Jul 27, 2023

Hiya @udhaykumarbala, I just updated this issue with a suggestion on how to implement, let me know what you think. No major re-design for now.

I also just posted #169, have a look ;)

@udhaykumarbala
Copy link
Contributor

Hi @murderteeth, I added the ellipsis to the filter chip label. It seems to fix the problem without setting the width
CleanShot 2023-07-29 at 12 52 47@2x

Do I still need to add width?

and in the mobile, also the vault and network overflow out of the screen sometimes
CleanShot 2023-07-29 at 12 57 46@2x

Can we add an ellipsis to all screen sizes?

@udhaykumarbala
Copy link
Contributor

#170

@murderteeth
Copy link
Collaborator Author

Good question about mobile @udhaykumarbala! See my pr review comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants