Skip to content

feat(plugin-id/ui): replace user list row actions with a gear menu#31

Merged
fdaugan merged 1 commit into
feature/vuejsfrom
norman/feat-user-list-actions-menu
May 22, 2026
Merged

feat(plugin-id/ui): replace user list row actions with a gear menu#31
fdaugan merged 1 commit into
feature/vuejsfrom
norman/feat-user-list-actions-menu

Conversation

@Terracosmos
Copy link
Copy Markdown
Collaborator

first of two sub-PRs reworking theuser management UX.

Change

Replace the two per-row action buttons (edit + delete) on the user list
with a single gear button (mdi-cog) that opens a menu of 5 actions:
Edit · Delete · Lock/Unlock · Isolate/Restore · Reset password.

Details

  • Contextual labels & icons: Lock↔Unlock based on item.locked,
    Isolate↔Restore based on item.isolated. SimpleUserOrg omits these
    flags from the JSON when null, so a truthy value reliably means the
    state is active.
  • Lock / Isolate / Reset reuse the existing user action REST endpoints
    behind a confirmation dialog, then reload the current page to refresh
    the status icon and the contextual labels.
  • Edit still navigates to /id/user/:id — it will be rewired to open the
    dialog in chantier I.2.
  • Delete reuses the existing confirmation dialog.
  • No new i18n keys (all reused from the host).

Technical note

@click.stop is on the gear activator only, not on the menu entries.
The v-menu content is teleported outside the <tr>, so menu items can
never trigger @click:row — and a .stop there would break Vuetify's
close-on-content-click behavior.

Files

1 file, +79/-6 — UserListView.vue.

Per Fabrice's review (chantier I.1): replace the two per-row action
buttons (edit + delete) on the user list with a single gear button
opening a menu of 5 actions: Edit, Delete, Lock/Unlock,
Isolate/Restore, Reset password. Lock/isolate/reset reuse the
existing user action endpoints. Edit still navigates to the routed
edit page — it will be rewired to the dialog in chantier I.2.
@Terracosmos Terracosmos requested a review from fdaugan May 20, 2026 15:20
@sonarqubecloud
Copy link
Copy Markdown

@sonarqubecloud
Copy link
Copy Markdown

@fdaugan fdaugan merged commit b93718b into feature/vuejs May 22, 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