Skip to content

fix(projects): add page heading to /projects/new route header - #9

Merged
MeepCastana merged 1 commit into
developfrom
fix/projects-new-h1
Aug 6, 2026
Merged

MeepCastana merged 1 commit into
developfrom
fix/projects-new-h1

Conversation

@OGtwelve

@OGtwelve OGtwelve commented Aug 6, 2026

Copy link
Copy Markdown
Collaborator

Fixes #2

What

/projects/new rendered no <h1> anywhere: the route passes hideHeader to ProjectForm (suppressing the form's own heading) and its header bar only contained the logo.

How

The issue's preferred option: render the <h1> in the route header next to the logo (divider between), so the heading shares the existing bar instead of stacking a second one. hideHeader stays — ProjectForm's internal header remains suppressed, so there is exactly one header bar.

For reference, /projects itself has no h1/page title either (only an h2 inside the empty state), so there was no existing route-title convention to match — this follows the issue's suggested direction instead.

Verification

Measured in headless Chromium against the dev server on /projects/new:

  • document.querySelectorAll('h1').length1 (was 0)
  • Heading text: "Create New Project", visible in the header bar
  • .panel-header bars on the page: 1 — no stacked headers

lint

Note

Sits under the #1 redesign umbrella — the redesign can restyle this header (width alignment, back affordance) on top; this PR only closes the missing-h1 gap.

The route passed hideHeader to ProjectForm (suppressing its h1) and
rendered only the logo in its own header bar, leaving the page with no
heading at all — nothing visible saying what the screen is, and no
document heading for screen-reader navigation.

Render the h1 in the route header next to the logo, separated by a
divider, per the issue's preferred option: the heading shares the
existing bar instead of stacking a second one.

@MeepCastana MeepCastana left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Reviewed locally on a combined review branch (all six merged clean, no conflicts). CI green. Approved.

@MeepCastana
MeepCastana merged commit 235da63 into develop Aug 6, 2026
1 check passed
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.

/projects/new renders no page heading (no h1 on the route)

2 participants