From bddb1ab99afdd152eb7b1ac28e3cd374caffe96d Mon Sep 17 00:00:00 2001 From: Fabio Fantoni Date: Mon, 13 Jul 2026 19:58:23 +0200 Subject: [PATCH 1/2] feat(settings): allow resizing the columns of the accounts list The accounts list columns have a fixed width: long values (display names, emails, LDAP account names, translated quota strings, storage paths) are ellipsised with no way to see or copy them from the list. This is a usability regression from the Nextcloud 28 table rework (#39050): until then the columns were fluid and grew with the available space. Add a resize handle to each column header: drag to resize, arrow keys as keyboard alternative, double click to reset. Widths are clamped to sane bounds, applied through per-column CSS variables on the list container so header, rows and footer stay aligned, and persisted in localStorage. Closes #43777 Assisted-by: ClaudeCode:claude-fable-5 Signed-off-by: Fabio Fantoni --- apps/settings/src/components/UserList.vue | 23 +++- .../Users/UserColumnResizer.spec.ts | 97 +++++++++++++ .../components/Users/UserColumnResizer.vue | 128 ++++++++++++++++++ .../src/components/Users/UserListHeader.vue | 95 ++++++++++++- .../settings/src/components/Users/UserRow.vue | 14 +- .../src/components/Users/shared/styles.scss | 19 +++ .../src/utils/userListColumns.spec.ts | 64 +++++++++ apps/settings/src/utils/userListColumns.ts | 33 +++++ 8 files changed, 458 insertions(+), 15 deletions(-) create mode 100644 apps/settings/src/components/Users/UserColumnResizer.spec.ts create mode 100644 apps/settings/src/components/Users/UserColumnResizer.vue create mode 100644 apps/settings/src/utils/userListColumns.spec.ts create mode 100644 apps/settings/src/utils/userListColumns.ts diff --git a/apps/settings/src/components/UserList.vue b/apps/settings/src/components/UserList.vue index 0cb78e12b0e9a..b30186a1958a5 100644 --- a/apps/settings/src/components/UserList.vue +++ b/apps/settings/src/components/UserList.vue @@ -55,7 +55,10 @@