Skip to content

feat(dashboard): compact MCP Apps into a masonry layout - #5006

Merged
reachjalil merged 1 commit into
devfrom
feature/dashboard-masonry
Sep 15, 2026
Merged

reachjalil merged 1 commit into
devfrom
feature/dashboard-masonry

Conversation

@reachjalil

Copy link
Copy Markdown
Member

Summary

Make shared MCP App dashboards read as a dashboard rather than a grid of equally tall host cards.

  • Pack variable-height widgets using CSS grid row spans measured with ResizeObserver, preserving saved element order and stable React keys.
  • Remove the redundant host title/status/refresh bar, border and padding from healthy widgets. Keep Refresh and status in a compact hover/focus menu; touch keeps its trigger visible.
  • Preserve visible launch, approval and recovery controls, retain the last measured iframe height across refresh, and leave chat presentation unchanged.
  • Clarify the existing Den move-up/down controls and keep updates pending through query invalidation so a subsequent move uses the refreshed order. No API or database migration.
  • Extend the existing duplicate-capability dashboard journey with reorder/reload assertions and update dashboard documentation.

UI/UX impact

Shared dashboard widgets use responsive masonry with 8px horizontal gaps and 8–15px vertical gaps, with smaller page padding. Successful Apps supply their own visual frame instead of appearing inside a second card. The options menu retains refresh without a permanent header; failed or unavailable views keep explicit recovery controls. Den ordering arrows gain explanatory tooltips. Widget content, permissions, launch policy and chat styling are unchanged.

Verification — Incomplete

Passed on the committed candidate, with each App test file run in a separate process:

  • pnpm --filter @openwork/app exec bun test --isolate ./tests/dashboard-masonry.test.tsx — 2 passed.
  • pnpm --filter @openwork/app exec bun test --isolate ./tests/mcp-app-tile.test.tsx — 22 passed.
  • pnpm --filter @openwork/app exec bun test --isolate ./tests/mcp-app-frame.test.ts — 62 passed.
  • pnpm --filter @openwork-ee/den-web exec bun test --conditions development tests/org-dashboard-detail-screen.test.tsx tests/org-dashboards-query-keys.test.ts tests/dashboard-element-identity.test.ts — 4 passed.
  • pnpm evals:typecheck — 452 source files, no errors.
  • git diff --check origin/dev...HEAD — passed.

App and Den typechecks also passed during implementation with these same source changes.

Limitations:

  • The masonry unit test uses mocked measurements, not real browser geometry proof.
  • Real-dashboard mixed-height/narrow-window/menu verification and the extended Den persistence E2E journey have not run. No exact-head testkit runtime evidence is published.
  • An earlier combined Bun 1.3.4 invocation failed with cross-file mock interference symptoms; all selected files passed in separate processes. The combined invocation is not claimed passing.
  • Den lint was blocked because the declared next lint command is rejected by the installed Next version; no lint workaround or unrelated tooling change is included.

Follow-up runtime command: pnpm evals:e2e dashboard-duplicate-capability-tiles. Shared-dashboard mixed-height rendering still needs real-app coverage.

This PR does not change personal saved-App cards, widget HTML, refresh policy, or the existing 800px iframe maximum.

@mintlify

mintlify Bot commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
differentai 🟢 Ready View Preview Sep 15, 2026, 1:10 AM

💡 Tip: Enable Automations to automatically generate PRs for you.

@vercel

vercel Bot commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
openwork-app Ready Ready Preview Sep 15, 2026 1:10am UTC
openwork-den Ready Ready Preview Sep 15, 2026 1:10am UTC
openwork-diagnostics Ready Ready Preview Sep 15, 2026 1:10am UTC
openwork-landing Ready Ready Preview, v0 Sep 15, 2026 1:10am UTC

@github-actions

Copy link
Copy Markdown
Contributor

Warden review summary — Clear

Native findings: 0. Blocking policy matches before consolidation: 0. Full finding text remains in Warden's native checks and review threads. This comment retains only native IDs, severity, skill attribution, and safe locations. Analysis run

Reported trigger coverage (not proof of complete repository or context coverage): diff-security-review (111109 ms), confidentiality-review (160508 ms), spec-provenance-review (157219 ms), desktop-den-sync-review (196873 ms).

Blockers

  • None.

Advisories

  • None.

Needs recheck

  • None.

Observed review-thread metrics

  • Unique observed run attempts in retained window: 1
  • Distinct heads in retained window: 1
  • Current unresolved Warden threads: 0 of 0 observed
  • Observed resolved/unresolved transitions in retained snapshots: 0 / 0
  • First observed resolved/unresolved (state at first collection, not event time): 0 / 0
  • Precision: unavailable (no adjudications; no TP/FP values are inferred)
  • Observation window: 1/20 run attempts retained; truncated: false
  • Transition snapshot: 0/0 current attributed threads retained (limit 500); truncated: false

Thread states are read-only collection snapshots. These metrics are neither lifetime totals nor exact resolution times, and this summary is not clearance authority.

@diff-warden diff-warden Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (eff0be4827657379565eec2f59378a75ee94e5e4). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run

@github-actions

Copy link
Copy Markdown
Contributor

Passed · 12/12 tests · 18/18 assertions · 8 images

Commit eff0be4827657379565eec2f59378a75ee94e5e4 · selected evidence

Open review report

@reachjalil
reachjalil merged commit cee48d0 into dev Sep 15, 2026
37 checks passed

This branch was successfully deployed

5 active deployments
staging - packages/docs — eff0be48 Deployed Sep 15, 2026 by mintlify[bot]
Preview – openwork-landing — eff0be48 Deployed Sep 15, 2026 by vercel[bot]
Preview – openwork-app — eff0be48 Deployed Sep 15, 2026 by vercel[bot]
Preview – openwork-den — eff0be48 Deployed Sep 15, 2026 by vercel[bot]
Preview – openwork-diagnostics — eff0be48 Deployed Sep 15, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant