schon/storefront
Alexandr SaVBaD Waltz 2ea18eb8a6 feat(storefront): refactor i18n and cart/wishlist handling for improved user experience
Refactored i18n configuration, replacing `DEFAULT_LOCALE` with `DEFAULT_LOCALE_FALLBACK` and enhancing environment-based locale validation. Improved cookie persistence for cart and wishlist, ensuring fallback handling for unauthenticated users.

Enhancements:
- Added `createProjectKey` utility for consistent project key generation.
- Reworked cart and wishlist composables (`useOrderOverwrite`, `useWishlistOverwrite`) to decouple product identifier and handle cookies robustly.
- Centralized `DEFAULT_LOCALE` logic for better maintainability.
- Refined `useOrderSync` and `useWishlistSync` for clean synchronization across auth states.
- Updated SCSS in hero and header styles for alignment corrections.

Breaking Changes: `DEFAULT_LOCALE` constant removed; replaced with runtime config and fallback logic. Consumers must adapt to `DEFAULT_LOCALE_FALLBACK` and `$appHelpers.DEFAULT_LOCALE`.
2026-02-28 22:38:45 +03:00
..
app feat(storefront): refactor i18n and cart/wishlist handling for improved user experience 2026-02-28 22:38:45 +03:00
i18n feat(storefront): refactor i18n and cart/wishlist handling for improved user experience 2026-02-28 22:38:45 +03:00
public 2026.1 2026-02-27 21:59:51 +03:00
types 2026.1 2026-02-27 21:59:51 +03:00
.gitignore 2026.1 2026-02-27 21:59:51 +03:00
app.config.d.ts 2026.1 2026-02-27 21:59:51 +03:00
biome.json **chore(storefront): apply consistent code formatting and improve readability** 2026-02-28 17:41:25 +03:00
nuxt-app.d.ts feat(storefront): refactor i18n and cart/wishlist handling for improved user experience 2026-02-28 22:38:45 +03:00
nuxt.config.ts feat(storefront): refactor i18n and cart/wishlist handling for improved user experience 2026-02-28 22:38:45 +03:00
package-lock.json 2026.1 2026-02-27 21:59:51 +03:00
package.json 2026.1 2026-02-27 21:59:51 +03:00
tsconfig.json 2026.1 2026-02-27 21:59:51 +03:00