Skip to content

fix: move band-profile Share button into the header#628

Merged
BreakableHoodie merged 1 commit into
mainfrom
fix/band-profile-share-placement
Jul 17, 2026
Merged

fix: move band-profile Share button into the header#628
BreakableHoodie merged 1 commit into
mainfrom
fix/band-profile-share-placement

Conversation

@BreakableHoodie

Copy link
Copy Markdown
Owner

Summary

The Share button sat in a flex column beside the bio — floating above it on mobile (flex-col-reverse) and forcing a mostly-empty right column that compressed the bio on desktop. The layout flaw was invisible until this week because every description was empty; the LWBC17 performer-sheet entry exposed it (reported by Dre with screenshots). Share is a page-level action, so it now lives in the header on both variants: absolutely positioned top-right over the photo hero's scrim, and flex top-right beside the name in the no-photo header. The bio takes the full section width — max-w-prose stays as a deliberate reading measure, not a squeeze.

What changed

File Change
frontend/src/pages/BandProfilePage.jsx ShareButton into both header variants (photo: absolute top-right; no-photo: header flex with min-w-0 title block); bio section unwrapped from the col-reverse flex; placement rationale commented

Verified visually on local wrangler, desktop (1280px) + mobile (390px), screenshots shared with Dre in-session.

Security / correctness notes

None — layout-only. The bio's dangerouslySetInnerHTML is unchanged and remains behind the marked→DOMPurify pipeline in utils/markdown.js.

Verification

  • Tests: frontend 528 pass (52 files)
  • ESLint: 0 errors
  • Format check: clean
  • Build: green
  • validate:openapi: n/a
  • Manual smoke: local wrangler, both viewports, both with-bio and share-affordance states screenshotted

Built by Theo · Reviewed by Theo · 🤖 Claude Code

The Share button sat in a flex column beside the bio — floating above
it on mobile (col-reverse) and forcing an empty right column on
desktop, only visible now that bios exist. It's a page-level action:
top-right of the photo hero (absolute, over the scrim) and top-right
of the no-photo header (flex). The bio takes the full section width;
max-w-prose stays as a deliberate reading measure.

Requested by Dre.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@BreakableHoodie BreakableHoodie added bug Something isn't working priority:p3 Lower priority labels Jul 17, 2026
Copilot AI review requested due to automatic review settings July 17, 2026 19:06
@BreakableHoodie BreakableHoodie added bug Something isn't working priority:p3 Lower priority labels Jul 17, 2026
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

Copilot AI 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.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@BreakableHoodie
BreakableHoodie merged commit 1613f95 into main Jul 17, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working priority:p3 Lower priority

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants