Skip to content

refactor(stage-profile): two-column editor layout (plan B)#68

Merged
TTigger merged 1 commit into
masterfrom
feat/profile-editor-layout
Jul 8, 2026
Merged

refactor(stage-profile): two-column editor layout (plan B)#68
TTigger merged 1 commit into
masterfrom
feat/profile-editor-layout

Conversation

@TTigger

@TTigger TTigger commented Jul 8, 2026

Copy link
Copy Markdown
Owner

The tool had grown into eight stacked blocks with three visually
identical control rows mixing unrelated concerns. Restructured into
an editor layout - chart as the hero, controls grouped by intent:

  • desktop (lg+): chart/stats/climb-table on the left, a sticky
    340px sidebar on the right with three tabs - 圖面 (title, theme,
    watermark/steepest toggles), 編輯 (reverse, trim, comparison,
    waypoints - moved out of its own card), 輸出 (download, size,
    transparency, preview/share/copy, share link). The island drops
    its own max-w-3xl cap at lg (BaseLayout is already max-w-6xl)
  • mobile keeps one column with the panel between stats and the
    climbs table (flex order utilities; same DOM)
  • source area (upload / guide / manual builder) collapses into a
    one-line "⛰ {title} ・ 換一條路線" details bar once a profile
    exists; full stack is unchanged for the empty state
  • gradient-distribution chips moved from the download row to the
    stats block where they belong
  • no logic changes: all handlers, aria-labels and zh strings are
    untouched; e2e updated only by inserting tab clicks (10 places),
    all 12 stage-profile specs + full suite green; layout verified by
    screenshot at 1440px and 390px

Co-Authored-By: Claude Fable 5 noreply@anthropic.com

The tool had grown into eight stacked blocks with three visually
identical control rows mixing unrelated concerns. Restructured into
an editor layout - chart as the hero, controls grouped by intent:

- desktop (lg+): chart/stats/climb-table on the left, a sticky
  340px sidebar on the right with three tabs - 圖面 (title, theme,
  watermark/steepest toggles), 編輯 (reverse, trim, comparison,
  waypoints - moved out of its own card), 輸出 (download, size,
  transparency, preview/share/copy, share link). The island drops
  its own max-w-3xl cap at lg (BaseLayout is already max-w-6xl)
- mobile keeps one column with the panel between stats and the
  climbs table (flex order utilities; same DOM)
- source area (upload / guide / manual builder) collapses into a
  one-line "⛰ {title} ・ 換一條路線" details bar once a profile
  exists; full stack is unchanged for the empty state
- gradient-distribution chips moved from the download row to the
  stats block where they belong
- no logic changes: all handlers, aria-labels and zh strings are
  untouched; e2e updated only by inserting tab clicks (10 places),
  all 12 stage-profile specs + full suite green; layout verified by
  screenshot at 1440px and 390px

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 8, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
tiglet Ready Ready Preview, Comment Jul 8, 2026 8:10am

@TTigger TTigger merged commit f02d56d into master Jul 8, 2026
3 checks passed
@TTigger TTigger deleted the feat/profile-editor-layout branch July 8, 2026 08:12
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.

1 participant