Skip to content

fix(plugin-id/ui): keep user list group chips on a single line#28

Merged
fdaugan merged 1 commit into
feature/vuejsfrom
norman/fix-user-list-chips-nowrap
May 19, 2026
Merged

fix(plugin-id/ui): keep user list group chips on a single line#28
fdaugan merged 1 commit into
feature/vuejsfrom
norman/fix-user-list-chips-nowrap

Conversation

@Terracosmos
Copy link
Copy Markdown
Collaborator

Keep the group chips on a single line in the user list, so vertical
alignment stays consistent across rows regardless of how many groups
each user belongs to.

Fix

Wrap the #item.groups slot of LigojDataTableServer in a
<div class="groups-cell"> with scoped CSS:

display: flex;
align-items: center;
flex-wrap: nowrap;
overflow: hidden;
white-space: nowrap;

Chips that exceed the column width are now hidden on the right by
overflow:hidden instead of wrapping onto a 2nd line.

Files

1 file, +17/-4 — UserListView.vue.

Note on validation

Local dev LDAP has only one group and no multi-group users, so the
original wrap couldn't be reproduced directly. Validation was done by
manually assigning Sample Group to cli10 and resizing the Chrome
window to force truncation (visible: chip "Sample Grou" cut off
horizontally instead of wrapping). The canonical CSS fix is low-risk
for this single-cell concern — to revalidate on a richer environment
if needed.

Per Fabrice's review (18 mai 13h30): when a user has many groups, the
chips column was wrapping onto multiple lines, breaking vertical
alignment across rows in the user list. Constrain the chips container
to single-line (display: flex; flex-wrap: nowrap; overflow: hidden) so
chips overflow horizontally instead of pushing rows down.
@Terracosmos Terracosmos requested a review from fdaugan May 19, 2026 13:38
@sonarqubecloud
Copy link
Copy Markdown

@sonarqubecloud
Copy link
Copy Markdown

@fdaugan fdaugan merged commit f31e5c4 into feature/vuejs May 19, 2026
4 of 5 checks passed
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