Commit graph

81 commits

Author SHA1 Message Date
c433103588
fix(Commitment): update commitment description for clarity
Refined the text to enhance clarity and emphasize the exclusive sourcing from alternative farming methods.
2026-10-20 17:14:56 +02:00
f0ca2622d6
feat(products): add conservation instructions to product details
Added handling for conservation instructions before and after opening, ensuring they are displayed only when available.
2026-10-20 12:43:24 +02:00
a8bf4ea681
style(components): add containerClassName to Section components
Updated Section components to include containerClassName for improved layout consistency.
2026-10-20 12:32:14 +02:00
597e1c720a
refactor: add missing nutritional values on products 2026-10-20 12:23:15 +02:00
325c7a7fd6
style(inputs): update layout alignment in SimpleString component
Adjusted the alignment from justify-between to justify-end for better layout consistency.
2026-10-20 09:18:45 +02:00
764e58b61b
style(inputs): update Label component to use font-bold class
Enhances the visual emphasis of the label in the CompleteInputFile component.
2026-10-20 09:16:47 +02:00
345d0cfbfd
style(inputs): update Label component to use font-bold class
Enhances the visibility of the label in the MultiSelect component.
2026-10-20 09:15:18 +02:00
7482e8cebc
refactor(wysiwyg): improve editor initialization and styling
- Updated editor initialization to use useEditor hook.
- Enhanced styling for better responsiveness and focus handling.
2026-10-20 09:15:04 +02:00
cd2d8ed397
refactor(i18n): replace GetTranslation with trans function
- Updated translation utility to improve consistency and reduce redundancy.
- Removed deprecated useTrans hook and related code.
- Introduced a new Zustand store for managing translations and locale settings.
- Cleaned up unused hooks and files related to localization.
2026-10-19 17:43:33 +02:00
1d628201a6
style(inputs): update Label components to use font-bold class
This change enhances the visual consistency of input labels across various components.
2026-10-19 16:24:15 +02:00
93beae7ade
refactor(inputs): replace Button with span in ModelSelect and MultiSelect
Updated the button elements to span for better semantic usage without altering functionality.
2026-10-19 15:43:36 +02:00
cad48f967c
style(products): adjust button and heading alignment
style(recipes): update button and heading alignment
2026-10-19 15:07:34 +02:00
d4e46b187c
feat: add SEO fields to product and page components
Added seoTitle and seoDescription fields to the Product model and updated relevant components to utilize these fields for improved SEO.
2026-10-19 14:55:17 +02:00
83c5ff3e6f
feat(products): add description field to product model and forms
- Added description field to Product model and database migration.
- Updated StoreProductRequest validation rules for description.
- Modified product factory and seeder to include description.
- Enhanced product forms and show pages to display description.
2026-10-19 11:38:58 +02:00
c35b65d76f
refactor: add "Sans élevage" on Breeding 2026-10-19 10:59:37 +02:00
Jeremy Munsch
9efcb32ee1
refactor: hudge bump !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!111
Fixes #59
2026-10-16 14:00:55 +02:00
Jeremy Munsch
9116a4bf88
fix: products layout 2026-10-16 10:28:11 +02:00
Corentin Huet
858711fa4f feat: ✨ update IAA assets 2026-10-06 15:26:49 +02:00
Noah Lancien
ccaa4de15a fix: 🐛 added url for recipes and products pages 2026-09-28 15:14:52 +02:00
K Muller
3f5537731d style: 💄 wording and picto for commit page 2026-09-25 16:11:20 +02:00
Jeremy Munsch
03ffaf5093
refactor: lint fixes 2026-09-25 13:25:27 +02:00
79cd52bcd6
chore: eslint fixes 2026-09-21 13:00:42 +02:00
fd5992f65f
chore: modification des traductions pour les pages {recipes,products}.index avec les éléments fournis 2026-09-21 11:52:41 +02:00
28f447c8ec
refactor: fron and back recipe - products association 2026-09-21 11:52:40 +02:00
b6d08c8bd1
refactor(CarouselContent): reorganize imports and improve pagination logic 2026-09-21 11:51:20 +02:00
d3014b1ac8
style(MobileSlider): adjust dot indicator sizes and spacing
Updated the height and margin of dot indicators for better visibility and alignment.
2026-09-21 11:50:41 +02:00
5a7230ca9a
refactor(Recipes): enhance list formatting for ingredients and preparation steps
Improved the formatList function to convert plain text into structured lists.
2026-09-21 11:50:40 +02:00
04d038a61d
refactor(Recipes): replace 'create' and 'update' with 'viewAny' permission check
Updated permission checks in Create and Edit components to use 'viewAny' instead of 'create' and 'update'.
2026-09-21 11:50:40 +02:00
c0f5ae7a77
refactor(Recipes): simplify Form component structure
Removed unnecessary div wrapper around Form component in Create and Edit pages for cleaner code.
2026-09-21 11:50:40 +02:00
3e4201cb98
style(MobileSlider): adjust dot indicator styles and translation 2026-09-21 11:50:40 +02:00
86b0b3cbe3
style(Products): update button label for product view
Removed trailing '>' from button label for clarity.
2026-09-21 11:50:39 +02:00
5a24c6c8b7
refactor(Create): remove unused ProductModel import
This change cleans up the code by removing an unused import,
improving readability and maintainability.
2026-09-21 11:50:38 +02:00
026b511015
refactor(AppSidebar): remove unused authService import
Cleaned up the AppSidebar component by removing the unused authService import.
2026-09-21 11:50:38 +02:00
524cba1070
refactor: eslint fixes 2026-09-21 11:50:37 +02:00
7abc85c3e3
feat(wysiwyg): enhance styling and structure for tiptap component
Updated the tiptap class with improved styles for headings, lists, and other elements.
Applied consistent spacing and formatting to enhance readability and presentation.
2026-09-21 11:47:38 +02:00
108e26f9c0
feat(sanitize): add HTML sanitization utility functions
- Introduced DOMPurify for sanitizing HTML inputs.
- Added `sanitizeRichHtml` and `toSanitizedHtml` functions for safe HTML rendering.
- Updated various components to use the new sanitization methods to prevent XSS attacks.
2026-09-21 11:47:38 +02:00
9fc2690e74
feat(products): add mobile filter functionality and UI enhancements
- Implemented mobile filter toggle and drawer for product filters.
- Added MobileFilterGroup component for better filter management.
- Enhanced UI for active filter chips and search bar.
- Improved layout and styling for better responsiveness.

feat(recipes): introduce mobile filter functionality and UI updates

- Added mobile filter toggle and drawer for recipe filters.
- Created MobileFilterGroup component for recipe filtering.
- Updated layout and styling for improved user experience.
- Enhanced responsiveness for recipe display on mobile devices.
2026-09-21 11:44:53 +02:00
b20846f731
feat(ModelActions): add external link handling for front view actions
Enhance GetAction to open specific routes in a new tab with security attributes.
2026-09-21 11:44:52 +02:00
1ad8c00241
fix(link): update rel attribute to 'noopener noreferrer' for security 2026-09-21 11:44:52 +02:00
a1f8e410fe
feat(routes): add duplicate, restore, and force destroy routes for products and recipes
This update introduces new routes for duplicating, restoring, and force deleting products and recipes, enhancing the management capabilities in the application.
2026-09-21 11:43:40 +02:00
1a7f321cff
refactor: initial Recipes and products implementation ok 2026-09-21 11:43:39 +02:00
1a12569395
feat(directory): update ProductDirectory to use ProductId
- Changed the find method to accept ProductId instead of int.
- Added findBySlug method to retrieve products by slug.
- Updated getCategoryProducts method to return CategoryProducts type.

feat(eloquent): implement findBySlug in EloquentProductDirectory

- Implemented findBySlug method to retrieve products by slug.
- Updated find method to handle ProductId.

feat(dto): enhance CategoryProducts to serialize product IDs

- Updated CategoryProducts to serialize product IDs as strings.

feat(controller): modify ProductController to handle search limits

- Set limitPerCategory to -1 for search functionality.

refactor(model): change Product model ID to UUID

- Changed the id field in Product model to UUID.
- Updated related methods to handle UUIDs.

feat(migration): alter products and recipes tables for UUIDs

- Updated migrations to use UUIDs for primary keys in products and recipes tables.
- Adjusted foreign key constraints in product_recipe table.

feat(route): add route model binding for products

- Implemented route model binding for products using ProductId and slug.

chore(seed): remove CSV import calls from MandatorySeeder

- Removed calls to ImportProductsCsvSeeder and ImportRecipesCsvSeeder.

feat(entity): create ProductId and RecipeId value objects

- Added ProductId and RecipeId classes to encapsulate UUIDs.

feat(frontend): update TypeScript interfaces for products

- Updated TypeScript interfaces to reflect changes in product structure.
2026-09-21 11:43:39 +02:00
1200bfea4c
refactor: product.index page with search 2026-09-21 11:43:38 +02:00
028f769dbc
feat(products): add create and edit product pages
- Implemented Create and Edit pages for products with forms.
- Added validation and permissions handling for product actions.
- Introduced new product model and related types for better structure.
- Enhanced sidebar registry to remove auth dependency for link resolution.
- Updated routes to handle precognitive requests for product forms.
2026-09-21 11:36:52 +02:00
43c3d55b72
refactor: products.index and recipes.index pages on Bo 2026-09-21 11:36:51 +02:00
86fdfa5560
fix: not found page 2026-09-21 11:35:41 +02:00
Abdel LAMRANI
377be050da fix: 🐛 url social network 2026-09-15 12:56:19 +02:00
K Muller
f2a59d8356 fix: 🐛 resolve conflicts 2026-08-20 10:14:16 +02:00
Karl M'muller
c3c3af0b03 Merge branch 'issue-31' into 'develop'
style: 💄 add slider product on commitment page

See merge request ldc-web/projets/ovoteam!29
2026-08-20 08:12:13 +00:00
K Muller
76edf3f575 feat: ✨ add labels to range page 2026-08-10 09:40:06 +02:00