Repository navigation
Redesign the Add apps dialog - #48215
Conversation
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Expand the Add apps catalog with a responsive grid, category chips, and an Added view. Preserve keyboard focus when filters fold or connector recovery rows appear. Keep connector setup and search available from the catalog. Retire the translations of the copy keys the redesign removes.
17310e4 to
40ba1ec
Compare
40ba1ec to
1b44bf3
Compare
ELI5
The Add apps dialog was cramped. It is now bigger, shows apps in two columns, filters them with chips across the top, and puts the apps a bot already has behind an "N added" button.
What Changed
Why
The old dialog was a narrow single column beside a category rail, so it felt cramped. The new layout was checked against comparable products.
Linked Issue
N/A (maintainer change)
Visual Proof
Component fixtures with invented data; before was the narrow rail layout.
All, 1280, dark
All, 860, light
More open
After picking a folded category
Added view (4 added)
Composio
Custom with Webhooks
Mixed search ("no")
Removed GitHub orgs
Testing
BotAppsChips.test.tsxcovers chip folding and focus when a resize unfolds a category from More. The unfold-focus test fails on the component without the fix (focus falls to the page body). The other two tests guard behaviour that also held before, so they were not expected to fail on rollback.At
1b44bf3dbe63: typecheck, lint, both localization catalog checks and the two affected test files pass locally. Design-system lint reports nothing in the changed files; the repo-wide run still has findings in other files. CI runs the full suite.Performance
No expected regression; not measured. The header builds the bot's added-app list (a map over its connectors, URL apps and Composio sign-ins, sorted by name) on each render of the dialog, and the Added view filters that list per search keystroke; both are small, bounded lists. The catalog rows still mount after the first paint. Existing host requests and Composio pagination are unchanged; All and Custom also match Custom rows locally. Fitting the chips uses one resize observer over a fixed set of labels, and picking a chip reuses the measured widths. The narrow Add org tooltip observes its label only while open.
Risk
Level: Low. Renderer-only; no saved data, IPC or host changes. The riskiest part is chip fitting at unusual widths or long translations, which would show as a chip folding into More early. Back out with a plain revert.