fix(ux): replace the per-table access cards with a summary, plural unprefixed labels, sectioned nav #124

Merged
james.maes merged 1 commits from feature/issue-35-admin-ux into develop 2026-11-27 02:01:38 +00:00
Owner

Addresses the home-size, label and nav findings of #35 (admin UX audit).

Home: "Data access" widget

AssistantAccessWidget rendered one HTML card per table in the instance (130+ on kof22, a page over 7000 px). It is now a fixed-size multiStatistics summary computed from the same explainer output:

  • a lead group for the viewing user with the count of tables, linking to the Data Access table;
  • one group per access level (Read and write, Read, None) with the number of tables at that level and how many of their tool operations the assistant could call (allowed) or would be denied, given the user's own UI permissions.

The "not running" and "UI API not reachable" states answer in the same data type. AssistantAccessWidget.render(...) now returns the summary instead of an HTML string.

Labels

Table labels no longer start with "Assistant " and are plural: Conversations, Messages, Turns, Turn Events, Tool Calls, Feedback, Client Errors, Policies, Daily Usage, Providers, Models, Model Prices, Model Calls, Data Access, Profiles, Skills, Profile Skills, Pending Actions, Pending Action Claims, Data Audit. Table names and permissions are unchanged. The write-refusal message ("Rows of Conversations are written by the assistant...") and one help-bundle sentence follow the new labels.

Nav

Three sections, Conversations first: Assistant (Conversations, Scheduled tasks, Knowledge sources, Client Errors), Setup (Providers, Profiles, Skills, Data Access, Budgets) and Settings (Model Prices, Policies). NAV_TABLES is now the concatenation of the three section lists.

Tests

New AdminAppLayoutTest pins the labels and sections; ProfilesSkillsAndAccessTest checks the summary and the widget type; the producer and table-write tests follow the new labels and order. The rest of the suite (700 tests) passed on the full run before those two test updates.

Not in this PR

The home widget AssistantHome is unchanged, and the "Assistant Retention" process label is unchanged.

🤖 Generated with Claude Code

Addresses the home-size, label and nav findings of #35 (admin UX audit). ## Home: "Data access" widget `AssistantAccessWidget` rendered one HTML card per table in the instance (130+ on kof22, a page over 7000 px). It is now a fixed-size `multiStatistics` summary computed from the same explainer output: - a lead group for the viewing user with the count of tables, linking to the Data Access table; - one group per access level (Read and write, Read, None) with the number of tables at that level and how many of their tool operations the assistant could call (allowed) or would be denied, given the user's own UI permissions. The "not running" and "UI API not reachable" states answer in the same data type. `AssistantAccessWidget.render(...)` now returns the summary instead of an HTML string. ## Labels Table labels no longer start with "Assistant " and are plural: Conversations, Messages, Turns, Turn Events, Tool Calls, Feedback, Client Errors, Policies, Daily Usage, Providers, Models, Model Prices, Model Calls, Data Access, Profiles, Skills, Profile Skills, Pending Actions, Pending Action Claims, Data Audit. Table names and permissions are unchanged. The write-refusal message ("Rows of Conversations are written by the assistant...") and one help-bundle sentence follow the new labels. ## Nav Three sections, Conversations first: **Assistant** (Conversations, Scheduled tasks, Knowledge sources, Client Errors), **Setup** (Providers, Profiles, Skills, Data Access, Budgets) and **Settings** (Model Prices, Policies). `NAV_TABLES` is now the concatenation of the three section lists. ## Tests New `AdminAppLayoutTest` pins the labels and sections; `ProfilesSkillsAndAccessTest` checks the summary and the widget type; the producer and table-write tests follow the new labels and order. The rest of the suite (700 tests) passed on the full run before those two test updates. ## Not in this PR The home widget `AssistantHome` is unchanged, and the "Assistant Retention" process label is unchanged. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
james.maes added 1 commit 2026-11-27 01:37:22 +00:00
fix(ux): replace the per-table access cards with a summary, plural unprefixed labels, sectioned nav
maven / build (push) Successful in 19m6s
build / maven (push) Successful in 19m30s
b530e5bd15
Addresses the home-size, label and nav findings of #35 (admin UX audit).

## Home: "Data access" widget
`AssistantAccessWidget` rendered one HTML card per table in the instance (130+ on kof22, a page over 7000 px). It is now a fixed-size `multiStatistics` summary computed from the same explainer output:
- a lead group for the viewing user with the count of tables, linking to the Data Access table;
- one group per access level (Read and write, Read, None) with the number of tables at that level and how many of their tool operations the assistant could call (allowed) or would be denied, given the user's own UI permissions.

The "not running" and "UI API not reachable" states answer in the same data type. `AssistantAccessWidget.render(...)` now returns the summary instead of an HTML string.

## Labels
Table labels no longer start with "Assistant " and are plural: Conversations, Messages, Turns, Turn Events, Tool Calls, Feedback, Client Errors, Policies, Daily Usage, Providers, Models, Model Prices, Model Calls, Data Access, Profiles, Skills, Profile Skills, Pending Actions, Pending Action Claims, Data Audit. Table names and permissions are unchanged. The write-refusal message ("Rows of Conversations are written by the assistant...") and one help-bundle sentence follow the new labels.

## Nav
Three sections, Conversations first: **Assistant** (Conversations, Scheduled tasks, Knowledge sources, Client Errors), **Setup** (Providers, Profiles, Skills, Data Access, Budgets) and **Settings** (Model Prices, Policies). `NAV_TABLES` is now the concatenation of the three section lists.

## Tests
New `AdminAppLayoutTest` pins the labels and sections; `ProfilesSkillsAndAccessTest` checks the summary and the widget type; the producer and table-write tests follow the new labels and order. The rest of the suite (700 tests) passed on the full run before those two test updates.

## Not in this PR
The home widget `AssistantHome` is unchanged, and the "Assistant Retention" process label is unchanged.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
james.maes merged commit 8f59d0d107 into develop 2026-11-27 02:01:38 +00:00
Sign in to join this conversation.