Commit graph

101 commits

Author SHA1 Message Date
04a9f97719
feat(recipes): implement CRUD actions for recipes
- Added actions for creating, updating, deleting, force deleting, and restoring recipes.
- Introduced input classes for each action to handle data validation and transfer.
- Implemented DTOs for recipes to facilitate data transfer between layers.
- Updated RecipeController to utilize new actions and input classes.
- Enhanced recipe model to manage picture URLs and storage.
- Updated frontend components to handle new data structures and display images correctly.
2026-11-05 11:54:19 +01:00
57faeada75
feat(dto): add CategoryProductsDto, ProductDto, and ProductSummaryDto
Add new DTOs for handling product and category data structures.
These DTOs facilitate data transfer and serialization for products and categories.

refactor(controller): update ProductController to use executor pattern

Refactor ProductController to utilize an executor for handling product creation,
updating, and deletion, improving code organization and maintainability.

refactor(controller): update RecipeController to use executor pattern

Refactor RecipeController to utilize an executor for handling recipe creation,
improving code organization and maintainability.

chore: remove MediaController

Remove MediaController as it is no longer needed in the application.

feat(request): enhance StoreProductRequest and UpdateProductRequest

Enhance StoreProductRequest and UpdateProductRequest to include methods for
transforming request data into input objects for actions.

chore: add ActionExecutorService for executing actions and queries

Introduce ActionExecutorService to handle the execution of actions and queries
with logging and transaction management.

chore(deps): update composer dependencies

Update composer dependencies to include webmozart/assert for improved type assertions.
2026-11-05 11:37:20 +01:00
522cf7a87e
style: improve text wrapping and overflow handling in components
- Enhanced text wrapping and overflow handling in BreadcrumbsBase, ItemCard, PageHeader, Show (Products), and Show (Recipes) components for better responsiveness and readability.
2026-11-04 10:18:51 +01:00
Corentin Huet
cbc98db487 fix: 🐛 use object-cover instead of object-contain/object-fit 2026-11-04 10:04:01 +01:00
Jérémy
c24a97345d Merge branch '43-update-content' into 'develop'
feat: ✨ update expertise since 1963 page content

Closes #43

See merge request ldc-web/projets/ovoteam!45
2026-11-04 09:58:23 +01:00
Jérémy
4d50aad375 Merge branch '45-seo' into 'develop'
feat: ✨ update page titles and meta descriptions

Closes #45

See merge request ldc-web/projets/ovoteam!46
2026-11-04 09:58:07 +01:00
Corentin Huet
11c07644c0 feat: ✨ update wide outdoor range page 2026-11-02 11:33:39 +01:00
Corentin Huet
1476505853 feat: ✨ update page titles and meta descriptions 2026-10-28 12:32:00 +01:00
Corentin Huet
9f986d9043 feat: ✨ update expertise since 1963 page content 2026-10-28 12:27:19 +01:00
ac7d180624
refactor: changement de hero page enagement 2026-10-23 16:39:20 +02:00
Jérémy
4bcb847d9d Merge branch '38-ts-4035-refonte-site-v2-modification-engagements' into 'develop'
Resolve "ts-4035 : Refonte site V2- Modification Engagements"

Closes #38

See merge request ldc-web/projets/ovoteam!42
2026-10-22 14:52:20 +02:00
47cd01141d
feat(validation): enhance input validation limits and prepare data for requests
- Added data preparation for validation in StoreProductRequest and StoreRecipeRequest.
- Updated validation rules to include minimum lengths for various fields.
- Integrated limits for word counting in SimpleString, SimpleTextarea, and SimpleWysiwyg components.
2026-10-22 14:35:05 +02:00
85f26b7094
feat(favicon): update web app manifest and add new icons
Updated the site.webmanifest with new app name and icons.
Added new favicon images for better support across devices.
Enhanced favicon handling in the Blade template for back-end.
2026-10-22 12:44:00 +02:00
4cdb52eb10
feat(Commitment): update commitment texts for clarity
Updated the 'gamme' and 'expertise' texts to enhance clarity and consistency with the site's messaging.
2026-10-22 12:30:31 +02:00
f9f2456783
feat(Home): update commitment images and alt texts
Added new images for commitments and updated alt texts for better accessibility.
2026-10-21 15:23:17 +02:00
82ca13647b
feat(Commitment): update commitment images and descriptions
- Replaced outdated images with new ones.
- Improved layout for better responsiveness.
2026-10-21 11:48:50 +02:00
453e262664
feat(TripleCol): add dynamic image size support
Updated the image size property in the TripleCol component to allow for dynamic sizing based on the provided image data.
2026-10-21 11:10:53 +02:00
089304966d
feat(styles): add tertiary color variables and update usage
Added new tertiary color variables to improve styling consistency. Updated text classes in Gamme component to utilize the new colors.
2026-10-21 10:48:45 +02:00
fa48faf634
feat(manifest): update web app manifest and icons
Updated the web app manifest with new name, short name, and icons.
Changed icon paths and added purpose attributes for better compatibility.
2026-10-20 17:28:03 +02:00
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
d6708e0749
feat(MadeInFrance): update description text for clarity
Updated the description to include "Blanc en Neige" for better product representation.
2026-10-20 17:09:28 +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