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

There's no limit on the sidebar size #329

Open
nkaretnikov opened this issue Nov 4, 2023 · 2 comments
Open

There's no limit on the sidebar size #329

nkaretnikov opened this issue Nov 4, 2023 · 2 comments
Labels
area: UI design 🎨 Items related to the user interface type: question 🤔 Further information is requested

Comments

@nkaretnikov
Copy link
Contributor

Context

If you create an environment with a very long name, the sidebar will scale to accommodate it.
I think there should be limit on how big this is rendered.
Yes, I understand it's an extreme example, but there might be envs with long names.
Screen Shot 2023-11-04 at 17 35 37

Value and/or benefit

Better UX.

Anything else?

No response

@nkaretnikov nkaretnikov added the type: question 🤔 Further information is requested label Nov 4, 2023
@smeragoel
Copy link

image
I added an example case for a long environment name. The environment name should be truncated when number of characters is more than 30, and an ellipsis (...) should be appended at the end. The max characters we can display is 30 + ellipsis

@nkaretnikov
Copy link
Contributor Author

The said truncation should also happen wherever the env name is printed (such as in the tabs bar and above environment metadata). Otherwise, it hides the close tab button (x):

Screen Shot 2023-11-12 at 21 23 26

A quick fixup might be using the max-width: 20px; in CSS, in one of the sidebar divs. This is shown on the screenshot above, but the proposed design above looks way better.

@trallard trallard added the area: UI design 🎨 Items related to the user interface label Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: UI design 🎨 Items related to the user interface type: question 🤔 Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants