Skip to content

fix(portal): project header no longer squeezes the goal into a narrow column (#4597) - #4598

Merged
vybe merged 1 commit into
devfrom
feature/4597-project-header-layout
Nov 15, 2026
Merged

vybe merged 1 commit into
devfrom
feature/4597-project-header-layout

Conversation

@vybe

@vybe vybe commented Nov 15, 2026

Copy link
Copy Markdown
Contributor

Summary

  • The project page header was sm:flex-row: the content column was flex-1 (basis 0) and the action group kept flex: 0 1 auto, so it sized to its one-line max-content width. With the full owner action set the buttons took most of the row and the title, goal and role line wrapped into a ~450px column.
  • The header now stacks at every width. On desktop the actions are their own right-aligned, wrapping row above the title; the content uses the full width (still capped at the existing max-w-3xl reading measure). Mobile layout is unchanged (actions last).

Changes

  • src/frontend/src/components/portal/projects/ProjectPage.vue: header classes, sm:order-first sm:justify-end on the action group, data-testid="project-actions"
  • src/frontend/tests/unit/projectHeaderLayout4597.mount.spec.js: new mount spec (red on the old layout, green now)

Test Plan

  • New spec passes: npx vitest run tests/unit/projectHeaderLayout4597.mount.spec.js
  • All 30 workspaceProjects* specs (406 tests) pass
  • Raw-color and loading-gate ratchets pass
  • Manual: open a project with a long markdown goal as its owner at desktop width, light and dark; check at mobile width

Fixes #4597

🤖 Generated with Claude Code

…beside the action buttons (#4597)

The header was sm:flex-row with the content column at flex-1 (basis 0) and
the action group at its default flex: 0 1 auto, so the actions took their
one-line max-content width and the title, goal and role line wrapped into a
narrow column. The header now stacks at every width; on desktop the actions
are their own right-aligned, wrapping row above the title, mobile unchanged.

Fixes #4597

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@vybe vybe added the ui PR touches the frontend UI — triggers Playwright e2e tests label Nov 15, 2026

@trinity-ability trinity-ability 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.

merge-train: validated at 4729022. Tier 1 and e2e green; the new mount spec and both ratchets pass on the simulated batch. Not checked in a browser; the rc3 re-test of the Projects rows covers the visual check (operator's ruling at the train's gate).

@vybe
vybe merged commit 153d915 into dev Nov 15, 2026
25 of 27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ui PR touches the frontend UI — triggers Playwright e2e tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants