Commit Graph

2 Commits

Author SHA1 Message Date
gsxdsm
9b7f282b84 FN-8131: wrap Quality header actions on mobile
Keep Quality preset and refresh actions visible beneath the title on compact screens.

- Wrap the scoped Quality dashboard header at mobile breakpoints.
- Give the title and action cluster full-width rows without desktop regressions.
- Add responsive CSS coverage and a patch changeset.

Files changed:
 .changeset/fn-8131-quality-mobile-header.md        |  7 ++++
 .../__tests__/dashboard-view-mobile-header.test.ts | 37 ++++++++++++++++++++++
 .../fusion-plugin-quality/src/dashboard-view.css   | 29 +++++++++++++++++
 3 files changed, 73 insertions(+)

Fusion-Task-Id: FN-8131

Fusion-Task-Lineage: 920ae59f-327a-45c8-90b1-1b4d7639442f

Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
2026-07-16 13:03:20 -07:00
gsxdsm
9b8edf06c4 fix(FN-2127): Quality experimental gate, done-task worktrees, hub layout (#2164)
## Summary

Follow-up on **#2127** (Quality plugin already on `main`). This PR only
lands the remaining Quality deltas that were not merged:

- **Experimental gate fix** — `TaskStore.getSettings()` is async; the
gate now awaits merged settings so enabling
`experimentalFeatures.qualityPlugin` actually works, and status-bearing
errors return structured `{ status, body }` instead of collapsing to
hard failures
- **Done-task QA worktrees** — when a task has no live worktree (typical
after land), preview/task runs create a disposable checkout under
`.fusion/quality-qa/` at the task branch or merge commit so processes
run the **done task’s code**, not project root
- **Hub layout** — shared `ViewHeader` + dashboard spacing/typography so
Quality matches Insights / Compound Engineering / Goals

Scoped to `plugins/fusion-plugin-quality/**` only (rebased onto current
`main`; duplicate plugin-landing commits dropped).

## Test plan

- [ ] Enable **Settings → Experimental → Quality Plugin**, restart if
routes were cold
- [ ] Quality hub: header matches other views; refresh + presets work
- [ ] Done task → QA tab → Start preview uses QA worktree at
branch/merge commit (not project root)
- [ ] Active task with live worktree still uses that worktree
- [ ] Flag off: clear experimental-disabled error (not generic empty
failure)
- [ ] `pnpm --filter @fusion-plugin-examples/quality test` (32 tests)
2026-07-16 00:16:12 -07:00