Skip to content

Visual Affordance Changes Merge Conflict Resolution#88

Merged
tomatrow merged 3 commits intoDEVxNetwork:mainfrom
AndrewHUNGNguyen:#63-visual-affordance-to-main
Mar 26, 2026
Merged

Visual Affordance Changes Merge Conflict Resolution#88
tomatrow merged 3 commits intoDEVxNetwork:mainfrom
AndrewHUNGNguyen:#63-visual-affordance-to-main

Conversation

@AndrewHUNGNguyen
Copy link
Copy Markdown

@AndrewHUNGNguyen AndrewHUNGNguyen commented Feb 24, 2026

NEw branch for #63 to resolve merge conflicts while trying to autosquash from original branch by cherry-picking changes from #67 to this PR.

@AndrewHUNGNguyen
Copy link
Copy Markdown
Author

@samholmes here is a PR for you where I cherry-picked changes from the original branch to this new branch.

@bobbythelobster
Copy link
Copy Markdown

Thanks for resolving the conflicts — this is a meaningful UX improvement overall. Moving setup validation from a disabled submit button to explicit inline errors is a better experience.

What looks good

  • Clear required-field affordances (handle, full name, profile photo)
  • Inline error messages + error styling improve discoverability
  • Submit behavior is improved (attempt submit -> see actionable errors)
  • TextInput error state is reusable and cleanly integrated
  • noValidate + custom validation in setup is a good direction

Requested follow-ups before merge

  1. Handle error clears too early (app/setup/page.tsx)

    • handleHandleChange clears validationErrors.handle as soon as typing starts, even when the value is still invalid (length/pattern/unavailable).
    • Suggestion: after first submit attempt, recompute handle validity on each change instead of unconditional clear.
  2. Duplicate :root blocks (app/globals.css)

    • Not a blocker, but please merge duplicated :root declarations for cleanliness.
  3. No checks reported on this branch

    • Since this changes setup validation behavior, please run/attach at least a quick smoke/CI confirmation.

Suggested manual test pass

  • Empty submit => all required errors appear.
  • Invalid handle (ab, illegal chars) after first submit attempt => error persists until valid.
  • Unavailable handle shows unavailable state and still blocks submit.
  • Uploading photo clears photo error immediately.
  • Full name error clears only when non-empty trimmed value exists.

@AndrewHUNGNguyen AndrewHUNGNguyen force-pushed the #63-visual-affordance-to-main branch from fcd3160 to c8c9aeb Compare March 8, 2026 08:35
@AndrewHUNGNguyen
Copy link
Copy Markdown
Author

Manual test cases:

  • Empty submit => all required errors appear.
image
  • Invalid handle (ab, illegal chars) after first submit attempt => error persists until valid.
image The case above needs to be enhanced to have message "Please choose a valid handle" on less than 3 characters or including invalid characters (e.g. Something not lowercase letters, numbers, underscores, and hyphens) Screenshot 2026-03-21 at 2 29 12 PM

@AndrewHUNGNguyen AndrewHUNGNguyen force-pushed the #63-visual-affordance-to-main branch 3 times, most recently from 7335cc3 to 9c4d5c7 Compare March 25, 2026 09:18
@tomatrow tomatrow self-requested a review March 26, 2026 19:55
@tomatrow tomatrow self-assigned this Mar 26, 2026
@tomatrow tomatrow force-pushed the #63-visual-affordance-to-main branch from 9c4d5c7 to c7cd3de Compare March 26, 2026 20:55
Copy link
Copy Markdown
Contributor

@tomatrow tomatrow left a comment

Choose a reason for hiding this comment

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

This is pretty gooood; just approving to see if that will enable the check action.

@tomatrow tomatrow force-pushed the #63-visual-affordance-to-main branch from c7cd3de to 390233c Compare March 26, 2026 21:58
@tomatrow
Copy link
Copy Markdown
Contributor

@AndrewHUNGNguyen Thanks buddy; this is a banger

@tomatrow tomatrow merged commit 6c6a78b into DEVxNetwork:main Mar 26, 2026
1 check failed
@AndrewHUNGNguyen
Copy link
Copy Markdown
Author

This is pretty gooood; just approving to see if that will enable the check action.

Did a smoke test after your deployment @tomatrow . It looks good on prod.

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.

3 participants