Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[View] Make a request form with Nuxt3 (mega PR) #60

Merged
merged 18 commits into from
Jan 31, 2024

Conversation

delano
Copy link
Contributor

@delano delano commented Jan 31, 2024

  • Replaced placeholder UI in NewRequestForm Vue component with a full-fledged form layout including personal, contact, preferences, and security sections.

  • Introduced input fields with validation rules for user details such as name, email, address, and preferences like language and currency.

  • Added dynamic form elements for adding fellow travelers with validations for names and birthdates.

  • Cleaned up MakeRequestView by removing redundant form code and embedding NewRequestForm.

  • Standardized termination of lines with semicolons in RegistrationVueform.

  • Commented out unused icon imports and relocated heroicons import comment to the top in RegisterView.

Migrate from Vue 3 + Vite to Nuxt 3

  • Renamed apps/ui to apps/ui-vue3.

  • Added docker configs.

  • Added nuxt3 ui base.

  • Added pinia for storage.

  • Run nuxt app on all interfaces.

  • Add authjs dep.

  • Add .prettierrc file with formatting configurations.

  • Update trunk version and dependencies.

  • Add runtime config and access in login form.

  • Remove vue3 images and config files.

  • Place nuxt3 files and configs at ui/.

Revisit user registration and auth management

delano and others added 18 commits January 25, 2024 13:50
Creating room for apps/ui-nuxt3. After migrating, we'll go back to apps/ui.
Creating room for apps/ui-nuxt3. After migrating, we'll go back to apps/ui.
Currently just for local dev and testing, not running in staging or production.

Signed-off-by: delano <delano@cpan.org>
Signed-off-by: delano <delano@cpan.org>
Signed-off-by: delano <delano@cpan.org>
Makes it accessible from other devices.
See note re: next-auth version pinning:

https://sidebase.io/nuxt-auth/getting-started/installation#specifics-authjs-provider

Signed-off-by: delano <delano@cpan.org>
Signed-off-by: delano <delano@cpan.org>
- Added SuperTokens as the primary authentication service.
- Added `supertokens_python` and its dependencies to the requirements.
- Commented out Django Rest Framework (DRF) auth-related paths and components, preparing for SuperTokens integration.
- Implemented initial SuperTokens configuration in settings, including customizations for CORS headers and allowed origins.
- Ensured proper CORS setup to work with SuperTokens.
- Updated the README to include the `auth/` directory for future reference.
- Removed unused `ready` method from `AfbcoreConfig`.
- Intentionally left some sections of code (like certain middleware) unchanged until full integration with SuperTokens is confirmed.
- Replaced SuperTokens with Zitadel as the new authentication server.
- Updated documentation links to reflect the new authentication service.
- Removed SuperTokens-related settings and initializations from `settings.py`.
- Added Docker configuration and a README for the new Zitadel auth service integration.
- Improved auth system modularity and maintainability with these updates.

Signed-off-by: delano <delano@cpan.org>
[#57] Refactor auth system to use Zitadel
@delano delano self-assigned this Jan 31, 2024
@delano delano added the tech-debt Pays off some debt label Jan 31, 2024
@delano delano changed the title [View] Make a request form with Nuxt3 [View] Make a request form with Nuxt3 (mega PR) Jan 31, 2024
@delano delano marked this pull request as ready for review January 31, 2024 00:27
@delano delano merged commit 75a64bb into feature/38-request-form Jan 31, 2024
@delano delano deleted the feature/56-nuxt3 branch January 31, 2024 00:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tech-debt Pays off some debt
Projects
Status: ✔️ Done
Development

Successfully merging this pull request may close these issues.

1 participant