Skip to content

bug: Project page header squeezes the project goal into a narrow column beside the action buttons #4597

Closed

Description

@vybe

Summary

On the Workspace project page, the project header squeezes the title, goal (description) and role line into a narrow left column (~450px on a ~1500px-wide content area). The action buttons on the right take most of the row and leave a large empty area under them. A long goal turns into a very tall, narrow block of text that pushes the Overview / Tasks / Log tabs far down the page.

Context

src/frontend/src/components/portal/projects/ProjectPage.vue lays out the header as flex sm:flex-row:

  • the left column (min-w-0 flex-1) has a flex-basis of 0
  • the action group (flex flex-wrap items-center gap-2) has the default flex: 0 1 auto, so its basis is its max-content width, meaning every button on one line

With enough actions (status/mode selector, Stop, Mark done, Edit, Members & access, Archive), the action group claims most of the row at its unwrapped width. Only the leftover space reaches the left column, so the goal wraps into a narrow column while the actions never wrap. The longer the action list gets, the worse it looks. The same pattern applies to the goal's max-w-3xl block.

Observed at desktop width (~1600px+ viewport) on a project whose goal is a few paragraphs of markdown (text plus a blockquote).

Acceptance Criteria

  • At desktop widths, the title, goal and role line use the main content width (up to the existing max-w-3xl reading measure), not a column squeezed by the action buttons
  • The action buttons wrap or move (for example to their own row above or below the title, or a right column with a bounded width) and never squeeze the goal below a readable width
  • No empty dead area under the actions; the tabs sit directly after the header content
  • Mobile (flex-col) layout unchanged; both light and dark themes checked
  • Holds for a project with the full action set (owner view) and with a long, multi-paragraph markdown goal

Technical Notes

  • Likely fix: give the action group a bounded basis (e.g. sm:max-w-[…] / sm:basis-auto sm:shrink with justify-end) or move it to its own row, instead of letting it size to max-content
  • Follow docs/memory/design-system-contract.md (layout stability, semantic tokens only)

Activity

  1. added
    priority-p2
    type-bug
    theme-ui-ux
    status-ready
    on Nov 15, 2026
  2. removed
    status-ready
    on Nov 15, 2026
  3. vybe commented on Nov 15, 2026

    @vybe
    ContributorAuthor

    /claim

  4. added
    status-in-progress
    on Nov 15, 2026
  5. github-actions commented on Nov 15, 2026

    @github-actions

    Claimed by @vybe. Label status-in-progress added.

    Next steps:

    1. Create branch: feature/4597-<short-slug>
    2. Implement the feature
    3. Open a PR with Fixes #4597
  6. added
    status-in-dev
    and removed
    status-in-progress
    on Nov 15, 2026
  7. removed
    status-in-dev
    on Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

priority-p2theme-ui-uxtype-bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions