Skip to content

feat(user): align profile row values, use edit icon, split subscription card - #484

Merged
zigzagdev merged 1 commit into
mainfrom
feat/user-profile-view-layout
Aug 1, 2026
Merged

zigzagdev merged 1 commit into
mainfrom
feat/user-profile-view-layout

Conversation

@zigzagdev

Copy link
Copy Markdown
Owner

Summary

  • Switch each editable row to a CSS grid (grid-cols-[8rem_1fr_auto]) so the label column has a fixed width and value text starts at the same X position on every row, with the edit affordance flush right
  • Replace the "Edit" text button with a pencil icon (EditIcon), keeping the existing aria-label for accessibility
  • Increase row padding (px-6 → px-8) for more breathing room
  • Widen the profile card (max-w-xl → max-w-2xl)
  • Split Subscription (+ the "Upgrade to Paid" link) out of the profile-fields card into its own card — billing status is a different kind of information than editable profile fields

Related

Closes #483

Test plan

  • npx tsc --noEmit
  • npx jest (16 tests in UserProfileView.test.tsx, no behavior change so none needed updating)
  • npm run format:check

@zigzagdev zigzagdev self-assigned this Aug 1, 2026

@zigzagdev zigzagdev left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Ok

@zigzagdev
zigzagdev merged commit 58187fe into main Aug 1, 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.

feat: UserProfileViewのレイアウト調整(値の位置揃え・編集アイコン化・Subscriptionをカード分離)

1 participant