Repository navigation
Build the participant profile page with editable cards and uploads - #33
Merged
Merged
Conversation
saitunguturu
force-pushed
the
codex/profile-page-31
branch
from
November 12, 2026 02:26
b6c7689 to
784f5ba
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
👍 What's new in this PR
Replaces the always-open profile form with the Figma card layout: personal info, military service, education and employment, resume/documents, and Coursera email. Each editable card has its own draft, Save/Cancel controls, validation, saving indicator, success message, and retryable error state.
Behavior decisions: unverified users can still edit and upload. This preserves the explicit acceptance flow in closed #13 and merged #16, and #31's visible-unverified requirement, despite the locked cards in the mockup. Verify is shown only when unverified and retains the honest placeholder until #21 / #27 lands. Affiliation uses the existing saved field in place of the mockup's unsupported location field. Coursera displays the saved email without claiming an enrollment status the current schema does not track.
Closes #31.
Screenshots
Fictional profile values; original test-account details were restored after capture.
Desktop, 1440 CSS px:
Mobile, 390 CSS px:
👍 How to review
lib/participant-profile.tsandlib/participant-data.ts.components/participant/profile-page-content.tsxand the scoped profile styles. Existing onboarding upload behavior remains the default./profile, edit a card, save, and refresh. Try an invalid email and cancel an unsaved edit. Upload a resume and a supporting document, refresh, then download.Validation completed:
next build --webpackpass.No migrations or dependency changes.
👍 Next steps
Wire the Verify action to the ID-verification flow when #27 is ready; it also touches the profile page, so that integration needs reconciliation. Review and merge this frontend change.
👍 Relevant links