Skip to content

Enhancement/4.5.3 #316

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

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Enhancement/4.5.3 #316

wants to merge 7 commits into from

Conversation

scottyzen
Copy link
Owner

This pull request introduces several improvements and refinements to the LoginAndRegister.vue component, error handling, and product-related functionality. The most significant changes include the introduction of a FormView enum for better readability, enhanced error handling, and improvements to the product list UI to handle empty states more gracefully.

Login and Registration Improvements:

  • Refactored the LoginAndRegister.vue component to use a FormView enum for better readability and maintainability. This replaces string literals for form views with strongly typed values. [1] [2] [3] [4]
  • Updated the UI to provide clearer messaging and navigation between login, registration, and password reset views.
  • Improved error handling by ensuring error messages default to an empty string if no error is provided. [1] [2] [3]

Product List Enhancements:

  • Enhanced the setProducts function in useProducts.ts to reset product lists to empty arrays if invalid data is provided, preventing UI errors.
  • Added a hasProducts computed property in products.vue to simplify product list checks and improve code readability.
  • Updated the product list UI to display a more user-friendly message when no products are found.

Localization Update:

  • Updated the English localization file to improve the phrasing of account-related messages, such as changing "Sign up" to "Create an Account."

Copy link

netlify bot commented Jul 24, 2025

Deploy Preview for sleepy-chandrasekhar-717c3d ready!

Name Link
🔨 Latest commit e6b4105
🔍 Latest deploy log https://app.netlify.com/projects/sleepy-chandrasekhar-717c3d/deploys/6882add75ee97e000893972e
😎 Deploy Preview https://deploy-preview-316--sleepy-chandrasekhar-717c3d.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link

cloudflare-workers-and-pages bot commented Jul 24, 2025

Deploying woo with  Cloudflare Pages  Cloudflare Pages

Latest commit: e6b4105
Status: ✅  Deploy successful!
Preview URL: https://9be6c77c.woo-ijf.pages.dev
Branch Preview URL: https://enhancement-4-5-3.woo-ijf.pages.dev

View logs

@scottyzen scottyzen marked this pull request as ready for review July 27, 2025 22:40
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.

1 participant