open-design/apps/web/tests/components
Cursor Agent 411d83b0bf
feat(web): MarketplaceView + PluginDetailView + /marketplace routes
Plan G4 / spec §11.6.

router.ts gains two new Route variants — 'marketplace' and
'marketplace-detail' — plus parsing for both /marketplace/<id> and
the /plugins/<id> alias the public site (§13) reserves. App.tsx
dispatches them outside the EntryView / ProjectView split so the
discovery surface stays independent of any active project.

New components:

- MarketplaceView (apps/web/src/components/MarketplaceView.tsx)
  - Card grid of every installed plugin with trust-tier filters
    (All / Trusted / Restricted).
  - Secondary 'Configured catalogs' panel listing every row in
    /api/marketplaces with id / url / trust / plugin count.
  - Cards link to /marketplace/<id>.

- PluginDetailView (apps/web/src/components/PluginDetailView.tsx)
  - Loads /api/plugins/:id, renders header (title, version, trust,
    sourceKind, taskKind), description, capability checklist,
    connector requirements (required + optional), and declared GenUI
    surfaces.
  - 'Use this plugin' button calls applyPlugin(id) and navigates
    back to Home so the existing inline rail / NewProjectPanel
    surface picks up the snapshot.

Web tests: 579 → 586 (added router-marketplace 5 cases +
MarketplaceView 2 cases). Typecheck clean.

Co-authored-by: Tom Huang <1043269994@qq.com>
2026-05-09 12:28:59 +00:00
..
AgentIcon.test.tsx feat[qoder cli] add Qoder CLI agent support (#626) 2026-05-06 19:54:03 +08:00
App.connectors.test.tsx feat: add Orbit activity summaries (#681) 2026-05-08 14:27:46 +08:00
App.mediaProviders.test.tsx feat: add Orbit activity summaries (#681) 2026-05-08 14:27:46 +08:00
assistant-message-unfinished-todos.test.tsx test(e2e): gate beta packaged runtime (#637) 2026-05-06 17:44:29 +08:00
AssistantMessage.test.ts chore: enforce test directory conventions (#496) 2026-05-05 15:34:22 +08:00
auto-open-file.test.ts chore: enforce test directory conventions (#496) 2026-05-05 15:34:22 +08:00
chat-scroll-preservation.test.tsx feat: add Orbit activity summaries (#681) 2026-05-08 14:27:46 +08:00
ChatComposer.search.test.tsx feat: agent-callable research command and /search (#615) 2026-05-08 10:33:44 +08:00
ConnectorsBrowser.test.tsx [codex] Optimize Composio connector previews (#907) 2026-05-08 20:01:06 +08:00
conversation-timestamps.test.tsx test(e2e): gate beta packaged runtime (#637) 2026-05-06 17:44:29 +08:00
DesignsTab.test.ts chore: enforce test directory conventions (#496) 2026-05-05 15:34:22 +08:00
EntryView.test.ts fix(connectors): show stable curated tool count in connector card badge (#748) (#767) 2026-05-08 23:42:52 +08:00
examples-tab-filter-counts.test.tsx fix: keep examples filter counts consistent (#949) 2026-05-08 21:41:52 +08:00
examples-tab-retry.test.tsx fix(daemon): typecheck leaf modules (#943) 2026-05-08 20:01:25 +08:00
file-viewer-markdown-copy.test.tsx test(e2e): gate beta packaged runtime (#637) 2026-05-06 17:44:29 +08:00
file-viewer-render-mode.test.ts feat(web): add Inspect mode for live per-element style tuning 2026-05-07 16:40:30 +08:00
FileViewer.test.tsx feat: support Cloudflare Pages custom domains (#851) 2026-05-08 11:11:22 +08:00
FileWorkspace.test.tsx feat: add draggable file tab reordering (#936) 2026-05-08 22:21:19 +08:00
GenUISurfaceRenderer.test.tsx feat(web): plugin composer surface — applyPlugin + Rail + Inputs + GenUI renderer 2026-05-09 11:47:12 +00:00
InlinePluginsRail.test.tsx feat(web): plugin composer surface — applyPlugin + Rail + Inputs + GenUI renderer 2026-05-09 11:47:12 +00:00
ManualEditPanel.test.tsx Implement manual edit mode (#620) 2026-05-06 16:13:52 +08:00
MarketplaceView.test.tsx feat(web): MarketplaceView + PluginDetailView + /marketplace routes 2026-05-09 12:28:59 +00:00
modelOptions.test.tsx test: cover model option rendering (#948) 2026-05-08 21:38:13 +08:00
NewProjectPanel.test.ts feat(media): add Nano Banana image provider (#631) 2026-05-06 20:26:31 +08:00
NewProjectPanel.test.tsx feat: add Orbit activity summaries (#681) 2026-05-08 14:27:46 +08:00
PluginInputsForm.test.tsx feat(web): plugin composer surface — applyPlugin + Rail + Inputs + GenUI renderer 2026-05-09 11:47:12 +00:00
PluginsSection.test.tsx feat(web): mount PluginsSection in NewProjectPanel 2026-05-09 12:12:34 +00:00
preview-modal-error-state.test.tsx fix(web): show explicit error/retry state when example preview HTML fails to load (#863) 2026-05-08 11:16:14 +08:00
preview-modal-fullscreen.test.tsx test(e2e): gate beta packaged runtime (#637) 2026-05-06 17:44:29 +08:00
PreviewModal.test.tsx chore: enforce test directory conventions (#496) 2026-05-05 15:34:22 +08:00
ProjectView.run-cleanup.test.tsx fix: settle completed runs and clean up shutdown children (#924) 2026-05-08 21:05:22 +08:00
QuestionForm.test.tsx feat: add Orbit activity summaries (#681) 2026-05-08 14:27:46 +08:00
QuickSwitcher.test.tsx feat(web): add Cmd/Ctrl+P quick file switcher (#556) 2026-05-06 10:31:50 +08:00
SettingsDialog.execution.test.tsx fix(web): confirm before clearing a saved Media provider API key (#875) 2026-05-08 22:15:59 +08:00
SettingsDialog.orbit.test.tsx fix(connectors): show stable curated tool count in connector card badge (#748) (#767) 2026-05-08 23:42:52 +08:00
SettingsDialog.test.ts Harden security scan findings and upgrade dependencies (#806) 2026-05-08 19:46:34 +08:00