Skip to content

Bound long tool inventories in the Plugins view - #8335

Merged
orbit-agent-01 merged 1 commit into
agent-mainfrom
orbit/ORB-22550-54fe8058
Nov 7, 2026
Merged

orbit-agent-01 merged 1 commit into
agent-mainfrom
orbit/ORB-22550-54fe8058

Conversation

@orbit-agent-01

Copy link
Copy Markdown
Contributor

Task

ORB-22550 — Bound long tool inventories in the Plugins view

Description

Plugins, dark theme at 1440×900 and 375×900. Open /#plugins with an installed plugin exposing 51 tools. All tool chips are expanded immediately. The office plugin tool inventory (.plugin-tools) is 176px high at desktop and 800px high in a 283px-wide phone column; the phone plugin card is 1055.5px high and the pane scrollHeight is 1992px for only three plugins (703px available content height). Its tools occupy an entire viewport and push the next plugin out of reach without a long scan. This is the unbounded-list visual-design check, not horizontal overflow.

Provide a bounded initial inventory with an accessible disclosure/search/reveal that keeps every tool discoverable. Retain plugin status and actionable diagnostics in the summary.

Evidence on ORB-22536: screenshots/dashboard-plugins-list-evidence-dark-375.jpg, screenshots/dashboard-plugins-list-evidence-dark-1440.jpg, and screenshots/dashboard-plugins-focused-dark-375.jpg. Details/padding/gap in ux-review.json and measurements/extra-* (chip gap 6px, card padding 12px). Source: crates/orbit-web/assets/dashboard/js/plugins.js:109–113 maps the entire tools collection; css/plugins.css owns the tool layout. This candidate was deferred in the previous ux-review-ui pass; current source/live bytes still reproduce it.

Acceptance Criteria

  • At dark 1440px and 375px, a plugin with at least 51 tools has a bounded initial inventory so metadata and neighbouring plugins can be scanned without crossing all tool chips.
  • Every tool remains reachable through keyboard- and touch-usable disclosure, reveal, or filtering; status/diagnostics remain readable and no document or panel overflow is introduced.
  • Attach manual screenshots at both widths showing the initial and expanded/filtered states; no UI tests are added.

Screenshots

Before After
plugins-tools-after-expanded, 1440 — plugins-tools-after-expanded-dark-1440.png
plugins-tools-after-expanded, 375 — plugins-tools-after-expanded-dark-375.png
plugins-tools-after-filtered, 1440 — plugins-tools-after-filtered-dark-1440.png
plugins-tools-after-filtered, 375 — plugins-tools-after-filtered-dark-375.png
plugins-tools-after-initial, 1440 — plugins-tools-after-initial-dark-1440.png
plugins-tools-after-initial, 375 — plugins-tools-after-initial-dark-375.png
plugins-tools-before-initial, 1440 — plugins-tools-before-initial-dark-1440.png
plugins-tools-before-initial, 375 — plugins-tools-before-initial-dark-375.png

Execution Summary

Click to expand

Bounded the Plugins tool inventory (plugins.js toolInventory, plugins.css).

  • Plugins with more than 8 tools show the first 8 chips, a "Filter tools" search input, a "Show all N tools"/"Show fewer" button (aria-expanded, aria-controls) and an aria-live count. Expanded/filtered results sit in a max-height 9rem scrollable group (tabindex=0, focus ring). Plugins with 8 or fewer render as before. State is kept in a module-level Map keyed by plugin name so card rebuilds preserve it. Status, diagnostics and enablement controls are untouched.
  • Docs: one sentence added to docs/design/user-interface/2_design.md (Plugins tab).
    Manual QA (mock /api/plugins server + Playwright chromium, 51-tool plugin): base reproduced tools height 176px @1440 and 748px @375 (card 953px, pane scrollHeight 1723). After: tools 20px @1440 / 98px @375 (card 177 / 359.5px); expanded 126px; filter 'merge' -> 2 of 51 match; all 51 chips reachable; Enter on focused toggle sets aria-expanded=true; Tab from filter reaches toggle; collapse resets; no document/pane/body horizontal overflow at either width.
    Screenshots: screenshots/plugins-tools-{before-initial,after-initial,after-expanded,after-filtered}-dark-{1440,375}.png (before shots from base revision).
    Validation: make ci-guards passed; scripts/generate-doc-indexes.sh --check passed; git diff --check clean. Not run: cargo fmt/clippy/doc (no Rust changed); final_validation commands left to pipeline. No UI tests added. Real orbit web serve not run (harness served the dashboard assets directly with mocked API); the plugin list API shape was mirrored from plugins.js usage, not a live server.
    Reconciliation: changed paths plugins.js, plugins.css (selectors) and docs/design/user-interface/2_design.md (outside selectors, doc duty). Scratch in .orbit/tmp only.

Validation

  • Not reported

Branch Freshness

  • Base ref: origin/agent-main
  • Head ref: orbit/ORB-22550-54fe8058
  • Behind base: 0
  • Ahead of base: 1

@orbit-agent-01 orbit-agent-01 added the orbit orbit related label Nov 7, 2026
@orbit-agent-01
orbit-agent-01 merged commit fc7689a into agent-main Nov 7, 2026
15 checks passed
@orbit-agent-01
orbit-agent-01 deleted the orbit/ORB-22550-54fe8058 branch November 7, 2026 04:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

orbit orbit related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant