Commit graph

12 commits

Author SHA1 Message Date
Jérémy Munsch
9808ef9769
refactor(products): decouple views, policies and queries from Eloquent model via ProductDtoAssemblerService 2026-11-15 16:44:58 +01:00
Jérémy Munsch
82697ed416
fix(products): respect is_old_price_displayed discount setting in product cards
- Condition strikethrough price display on showStrippedPrice in ProductCard.vue
- Add showStrippedPrice to product Zod schemas, TypeScript types, repositories and store
- Optimize showStrippedPrice in FilteredProductResource using eager-loaded validDiscount
- Add unit tests for productModelSchema and integration tests in ProductsControllerTest
2026-10-29 15:08:53 +01:00
Jérémy Munsch
f882b431b7
refactor(AisleViewer): update page title logic and imports
Improved the logic for displaying the page title based on search criteria.
2026-10-28 15:08:46 +01:00
Jérémy Munsch
7a5c91e55e
refactor(crud): simplify no results messages in views
Updated no results messages to remove model references for consistency across various views.
2026-10-28 13:04:46 +01:00
Jérémy Munsch
4b0775b5ea
feat(ProductFilterViewModel): enhance URL parameter handling
Improve loading of search, ranges, tags, and brands from URL.
Trigger loading state and refresh list when filters are applied.
2026-10-28 11:36:40 +01:00
Jérémy Munsch
769949b3c3
feat(AisleViewer): update page title based on search state
Add computed properties to dynamically change the page title
between "Your search" and "All aisles" based on user input.
2026-10-28 11:10:05 +01:00
Jérémy Munsch
b3dc0ff3c4
style(BasketPanel): update button styles for better visibility
Improved button text weight for enhanced readability.
2026-10-28 10:41:08 +01:00
Jérémy Munsch
14ceb300cf
feat(ui): update button styles and add focus ring
- Added new tertiary button style with focus ring.
- Updated button classes in navbar and basket components for consistency.
2026-10-28 10:41:03 +01:00
Jérémy Munsch
bf3e7a93fd
refactor(i18n): harmonize translation keys to English and complete French translations
- Convert hardcoded strings and French translation keys to English keys across Blade templates, Vue components, TypeScript modules, models, and routes
- Complete and synchronize lang/fr.json and lang/en.json translation dictionaries
- Add timezone attribute in lang/fr/validation.php and lang/en/validation.php
- Add missing English lang files for parity: crud.php, models.php, search.php, and vue.php
2026-10-27 09:58:47 +01:00
Jérémy Munsch
acdb3ad13e
refactor: eslint fix 2026-10-27 09:58:22 +01:00
Jérémy Munsch
6adab479e0
style(basket): update tooltip placement to bottom 2026-10-27 09:58:21 +01:00
Jérémy Munsch
58af50b5c5
refactor: massive bump refactor 2026-10-27 09:58:12 +01:00