Skip to content

[PROFILE-005] Reuse profile card for onboarding preview - #71

Merged
chev0004 merged 1 commit into
developfrom
refactor/profile-005
Jun 21, 2026
Merged

[PROFILE-005] Reuse profile card for onboarding preview#71
chev0004 merged 1 commit into
developfrom
refactor/profile-005

Conversation

@chev0004

Copy link
Copy Markdown
Owner

Outline

Summary

Replaces the bespoke onboarding preview markup with the shared discovery ProfileCard (variant="preview"), so the onboarding card now matches the profile editor preview and the discovery card, and stops drifting from them as the card evolves.


Changes & Enhancements

  • Type of Change:
    • Feature
    • Bugfix
    • Refactor
    • Chore
  • Changes:
    • (onboarding):
      • Render the onboarding live preview with ProfileCard variant="preview" instead of duplicate card markup.
      • Map onboarding draft values into a DiscoveryProfile, mirroring the profile editor preview, and convert the availability enum with availabilityPresetToPattern.
    • (i18n):
      • Add previewPrimaryFallback and previewNoTags Onboarding keys (en, ja).
      • Remove the now-unused previewPublic and previewAvailabilityFallback Onboarding keys.

Page / App Changes

Affected Next.js Routes (Local):

  • /[lang]/onboarding
Before (Screenshot)
After (Screenshot)

Component / Storybook Changes

Affected Storybook Components (Local):

Before (Screenshot)
After (Screenshot)

Not Doing


Other (Remarks)


Checklists

  • No out-of-scope changes are included.
  • Removed unnecessary debug code (e.g., console.log, debugger).
  • Self-reviewed and tested locally.

@chev0004 chev0004 self-assigned this Jun 21, 2026
@chev0004
chev0004 merged commit dafa721 into develop Jun 21, 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.

1 participant