Repository navigation
Bound long tool inventories in the Plugins view - #8335
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
Screenshots
Execution Summary
Click to expand
Bounded the Plugins tool inventory (plugins.js toolInventory, plugins.css).
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
Branch Freshness
origin/agent-mainorbit/ORB-22550-54fe8058