Skip to content

Dev#17

Merged
Stivenjs merged 260 commits into
mainfrom
dev
May 9, 2025
Merged

Dev#17
Stivenjs merged 260 commits into
mainfrom
dev

Conversation

@Stivenjs
Copy link
Copy Markdown
Contributor

@Stivenjs Stivenjs commented May 9, 2025

No description provided.

Stivenjs and others added 30 commits February 6, 2025 14:50
Actualizar URLs de autenticación y corregir configuraciones de UserPo…
Agregar comandos de configuración de URLs para el entorno de desarrol…
…orar estilos en componentes de precios y notificaciones
Agregar GSAP como dependencia, actualizar URLs de autenticación y mej…
…ace a precios en FirstView, y eliminar componentes no utilizados
Actualizar estilos en componentes de StepGuide y AboutUs, agregar enl…
…manejo de errores en la página de precios
Actualizar estilos en componentes, optimizar descripciones y mejorar …
…lanes, incluyendo actualizaciones en axios y delayed-stream
…tión de planes, y actualizar valores de plan en PaymentSettings
…ón del planScheduler a cada hora, además de actualizar el monto del nuevo plan y mejorar la autorización en el esquema de datos.
…orar la claridad y consistencia en la gestión de eventos.
…tes de inicio de sesión y configuración de cuenta, y mejorar la accesibilidad en formularios de registro y recuperación de contraseña.
…de datos, cambiar la programación del planScheduler a diario y actualizar el manejo de los últimos 4 dígitos en PaymentSettings y SubscriptionCard.
…y mejorar la lógica de selección de planes en SubscriptionCard.
…jo de planPrice en la suscripción y mejorar estilos en componentes de configuración de cuenta.
…, manteniendo el plan actual hasta la fecha de pago y revocando el acceso si es necesario.
…r datos de suscripción al revocar acceso.
…rar estilos en componentes de configuración de cuenta.
…ódigo, incluyendo ajustes en comillas y eliminación de líneas en blanco.
Stivenjs and others added 27 commits May 6, 2025 22:08
…e jest config

The commit removes redundant mocks for `amplify_outputs.json` across multiple test files and updates the Jest configuration to include a mock file for `amplify_outputs.json` in the `__mocks__` directory. This improves maintainability by centralizing the mock configuration and reducing duplication.
This commit introduces a mock for the `amplify_outputs.json` file in the unit tests for the `useAuth` and `signUp` hooks to ensure consistent test behavior. Additionally, it suppresses console warnings globally in the Jest setup to reduce noise during test execution.
The Amplify.configure calls were removed from the authentication hooks and their corresponding test files to simplify the codebase and eliminate redundant configuration. The mocks for amplify_outputs.json were also removed as they are no longer needed. This change improves maintainability and reduces unnecessary dependencies.
The file was deleted as it is no longer needed in the project structure. This cleanup helps maintain a cleaner and more organized codebase.
To prevent tracking of amplify's node_modules directory, which is unnecessary and can be regenerated, it has been added to the .gitignore file.
The file was deleted as it is no longer needed in the project, likely due to changes in the Amplify configuration or environment setup.
Update the project name in the Amplify configuration and migrate the README to reflect the use of AWS Amplify Gen2. This includes updating instructions, features, and benefits to align with Gen2's TypeScript-first approach and improved developer experience.
This commit introduces a SonarQube configuration file (`sonar-project.properties`) and a GitHub Actions workflow (`build.yml`) to enable code quality analysis. The workflow triggers on push to `main` and `dev` branches, as well as on pull request events, ensuring continuous integration and code quality checks.
Clean up the sonar-project.properties file by removing unused and commented-out configurations to improve readability and maintainability
…ing states

Refactor subscription logic to use resource preloading and suspense for better performance. Simplify payment settings component by separating concerns into smaller components. Add loading states and error fallbacks for a smoother user experience. Remove unused disconnect button and update error messages to English.
This commit introduces the `id` field to the `UserSubscription` model and updates the post-confirmation handler to include it. The changes ensure that each subscription has a unique identifier, improving data integrity and consistency. Additionally, the plan scheduler handler has been enhanced to process subscriptions more efficiently by checking expiration dates and pending plan changes.
Replace all instances of `Loader2` from Lucide with a custom `Loader` component for consistency and maintainability. This change centralizes the loading spinner implementation and simplifies future updates.
Remove unused imports, streamline form schema definitions, and improve error message consistency. Also, relocate the form schema to a shared file for better reusability and maintainability.
…r messages

Extracted API key schema and related types to a shared library for reusability. Updated error messages to English for consistency across the codebase. Simplified cache configuration in PaymentSettings to use a 5-minute TTL.
The SonarQube configuration file `sonar-project.properties` and the associated GitHub workflow `build.yml` have been deleted. This change was made as SonarQube integration is no longer required for the project, simplifying the CI/CD pipeline.
…er maintainability

Consolidated layout files under a unified structure, moving from `(with-navbar)` and `(without-navbar)` to `(main-layout)` and `(setup-layout)`. Updated related components and hooks to reflect this change. Additionally, refactored custom hooks and schemas into a more organized `ui` and `zod-schemas` directory structure. This improves code readability and maintainability while reducing redundancy.
Update the mock path in StoreSelector test to reflect the correct directory structure. Remove the unused `aws_region` variable in `useProductImageUpload` hook to clean up the code.
- Fix animation file paths in CancellationDialog to match new directory structure
- Optimize subscription store to avoid duplicate requests by tracking the last username
- Simplify PaymentSettings component by removing unused ErrorFallback and adjusting useEffect dependencies
Updated import paths in multiple files to ensure consistency with the project's directory structure. This change aligns the imports with the correct layout folders, improving maintainability and reducing potential errors.
refactor: update import paths for consistency
Add a new .env.example file with a default AMPLIFY_APP_ORIGIN value and modify .gitignore to exclude .env files from version control. These changes ensure consistent environment variable setup across development environments.
Remove the ConsoleLogger instance and replace it with direct console.log statements to simplify the code. This change reduces unnecessary complexity and improves readability while maintaining the same functionality.
Comment thread lib/zod-schemas/first-step.ts Dismissed
@Stivenjs Stivenjs merged commit 37c5162 into main May 9, 2025
5 of 9 checks 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.

3 participants