Skip to content

Registration - #23

Merged
J164 merged 41 commits into
mainfrom
edleyjacob/rp-82-registration
Aug 15, 2025
Merged

Registration#23
J164 merged 41 commits into
mainfrom
edleyjacob/rp-82-registration

Conversation

@J164

@J164 J164 commented Jul 3, 2025

Copy link
Copy Markdown
Member

No description provided.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 3, 2025

Copy link
Copy Markdown

Deploying rp-web-admin with  Cloudflare Pages  Cloudflare Pages

Latest commit: eeec4a3
Status: ✅  Deploy successful!
Preview URL: https://e97ca30f.rp-web-admin.pages.dev
Branch Preview URL: https://edleyjacob-rp-82-registratio.rp-web-admin.pages.dev

View logs

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 5, 2025

Copy link
Copy Markdown

Deploying rp-web-hype with  Cloudflare Pages  Cloudflare Pages

Latest commit: eeec4a3
Status: ✅  Deploy successful!
Preview URL: https://fa656ffa.rp-web-hype.pages.dev
Branch Preview URL: https://edleyjacob-rp-82-registratio.rp-web-hype.pages.dev

View logs

@J164
J164 marked this pull request as ready for review August 1, 2025 07:51
Copilot AI review requested due to automatic review settings August 1, 2025 07:51

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull Request Overview

This PR implements a comprehensive registration system with form components, authentication improvements, and API restructuring. The changes focus on creating a multi-step registration form with autosave functionality and updating the shared API architecture.

  • Adds a complete registration system with multi-step forms for personal and career information
  • Refactors API architecture from factory pattern to singleton with centralized error handling
  • Creates reusable form components for various input types (text fields, selects, checkboxes, file uploads)

Reviewed Changes

Copilot reviewed 64 out of 70 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
shared/src/utils/require-auth.tsx New utility for creating authentication-protected routes
shared/src/hooks/form-autosave.ts Custom hook for automatic form saving with debouncing
shared/src/components/form/* Reusable form components with consistent styling and validation
shared/src/api/api.ts New singleton API instance replacing the factory pattern
apps/site/src/routes/Register.tsx Main registration page with responsive design and multi-step flow
apps/*/src/util/api.ts Removed in favor of centralized API singleton
Comments suppressed due to low confidence (2)

shared/src/components/form/FormLinks.tsx:103

  • This React Fragment should have a key prop since it's inside a map function. Add key={index} to avoid React warnings.
                    <>

shared/src/components/form/FormFileUpload.tsx:23

  • The component is named 'FileUpload' but exported as 'default FileUpload'. This is inconsistent with the filename 'FormFileUpload.tsx'. Consider renaming the component to 'FormFileUpload' for consistency.
const FileUpload = <

Comment thread shared/src/components/form/FormMultiSelectMenu.tsx Outdated
Comment thread apps/site/src/routes/Register.tsx Outdated
Comment thread shared/src/api/api.ts
Comment thread shared/src/hooks/form-autosave.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 7, 2025

Copy link
Copy Markdown

Deploying rp-web-sponsor with  Cloudflare Pages  Cloudflare Pages

Latest commit: eeec4a3
Status: ✅  Deploy successful!
Preview URL: https://3f2783c9.rp-web-sponsor.pages.dev
Branch Preview URL: https://edleyjacob-rp-82-registratio.rp-web-sponsor.pages.dev

View logs

@anandani4136 anandani4136 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Alright I'm a huge fan of the incredible new flow – few things to note moving forward

  • Lets clean up the final confirmation page
  • Restrict file types and file size limits
  • Limit amount of options that can be chosen / add character limits to open field values so we don't get text spammed

But for a initial merge, I'm more than happy with this. LGTM!

@J164
J164 merged commit 5233427 into main Aug 15, 2025
6 checks passed
@J164
J164 deleted the edleyjacob/rp-82-registration branch August 15, 2025 06:12
J164 added a commit that referenced this pull request Aug 15, 2025
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