-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Fix UI Overflow Issue for Long Organization Names #18816
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
Fix UI Overflow Issue for Long Organization Names #18816
Conversation
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.
Thanks, @Siddhant-K-code. 🌮
Left some comments below, I think we only need to add truncate
and w-40
in two places and remove all the other changes to make this use truncation properly.
Cross-posting for visibility from relevant discussion (internal) although this could be out of the scope of this PR:
@gtsiolis: We should probably also limit the org name to 32 as it makes even more sense here.
BEFORE | AFTER |
---|---|
![]() |
![]() |
![]() |
![]() |
Co-authored-by: George Tsiolis <[email protected]>
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.
LGTM. Thanks, everyone!
/unhold
Description
This PR addresses a UI overflow bug that occurs when organization names exceed a certain length. Users were experiencing a visual glitch where long organization names would overflow their container, leading to a disrupted user interface and degraded user experience.
Summary generated by Copilot
🤖 Generated by Copilot at a7f1578
This pull request improves the UI of the dashboard by truncating long organization names and icons in the organization selector component. It applies the
truncate
class to several divs inOrganizationSelector.tsx
.Related Issue(s)
Fixes EXP-708
How to test
Documentation
Preview status
Gitpod was successfully deployed to your preview environment.
Build Options
Build
Run the build with werft instead of GHA
Run Leeway with
--dont-test
Publish
Installer
Add desired feature flags to the end of the line above, space separated
Preview Environment / Integration Tests
If enabled this will build
install/preview
If enabled this will create the environment on GCE infra
Valid options are
all
,workspace
,webapp
,ide
,jetbrains
,vscode
,ssh
. If enabled,with-preview
andwith-large-vm
will be enabled./hold