Commit Graph

27 Commits

Author SHA1 Message Date
sebseb7
4ae9344b63 feat(i18n): enhance caching and data fetching for language support
- Update Content and ProductFilters components to include language in cache keys for category and product data.
- Modify componentDidUpdate to handle language changes, ensuring data is re-fetched or filtered appropriately.
- Improve state management by tracking the last fetched language, enhancing internationalization support across the application.
2025-11-12 07:26:35 +01:00
sebseb7
e00c226b9a feat(i18n): update product filtering on language change
- Enhance Content and ProductFilters components to re-filter products when the language changes or the translation function updates.
- Implement logic in componentDidUpdate to regenerate availability values and filter products accordingly, improving internationalization support.
2025-11-12 06:01:01 +01:00
sebseb7
3bf80ce3d7 fix: add pointerEvents to Content component for better interaction handling
- Included pointerEvents: 'none' in the Box of the Content component to prevent user interactions when necessary, enhancing overall UI behavior.
2025-09-08 00:10:19 +02:00
sebseb7
29a4bfc1c6 fix: update Content and ProductDetailPage components for improved UI and functionality
- Added pointerEvents: 'none' to the Content component's Box for better interaction handling.
- Adjusted spacing in the ProductDetailPage's Stack component for a more consistent layout.
- Enhanced disabled Chip styling in ProductDetailPage to improve visibility and user experience.
2025-09-07 12:14:03 +02:00
sebseb7
2ac9baada0 feat: enhance language support in data fetching across components
- Updated Content, ProductDetailPage, and GrowTentKonfigurator to include current language context when emitting WebSocket requests for product and category data.
- Improved caching logic to ensure fresh data loading based on language changes.
- Enhanced localization by adding language parameters to data requests, improving user experience across different languages.
2025-08-09 10:06:43 +02:00
sebseb7
42fa46f2f9 refactor: unify category data fetching across components to support language context and improve state management 2025-07-31 08:26:10 +02:00
sebseb7
7c78c6d85c refactor: update category data fetching in Content component to utilize CategoryService directly and improve clarity in category management 2025-07-24 11:55:08 +02:00
sebseb7
4879f68998 refactor: simplify category data fetching logic in Content component by removing redundant cache checks and improving clarity in data handling 2025-07-23 10:36:45 +02:00
sebseb7
31c302493a refactor: clean up logging and simplify cache checks in Content component to enhance clarity and maintainability of category data fetching 2025-07-23 10:33:28 +02:00
sebseb7
934f6abc92 refactor: remove socket.io method overrides in Content component to streamline category data fetching and improve code clarity 2025-07-23 10:29:21 +02:00
sebseb7
e472e6bb77 refactor: enhance category data fetching logic in SharedCarousel and CategoryList components by simplifying cache checks and improving logging for better maintainability 2025-07-23 10:13:41 +02:00
sebseb7
21ed40c4ce refactor: implement socket.io method overrides and enhance logging for productCache in Content component to improve category data handling 2025-07-23 10:00:46 +02:00
sebseb7
abf94eba86 refactor: add detailed logging for productCache checks in Content component to aid in debugging category data fetching 2025-07-23 09:54:58 +02:00
sebseb7
cd4d124e22 u 2025-07-23 09:50:37 +02:00
sebseb7
b5a78b33cb u 2025-07-23 09:46:54 +02:00
sebseb7
bd4c0a50f1 refactor: optimize category data fetching in Content component by utilizing cached category tree for improved performance and reduced socket queries 2025-07-23 09:45:34 +02:00
sebseb7
9982527f35 refactor: remove socket context dependencies and streamline socket handling in components for improved performance and readability 2025-07-23 07:57:13 +02:00
sebseb7
bbd1371eb2 refactor: optimize socket connection handling by removing polling transport and implementing lazy connection strategy in SocketManager for improved performance 2025-07-23 07:29:15 +02:00
sebseb7
2b64719758 feat: optimize image loading and critical rendering path by adding image preloads in webpack config, updating image handling in multiple components, and ensuring alt attributes are set for accessibility 2025-07-20 15:19:16 +02:00
sebseb7
8d69b0566b Enhance translation functionality and localization support: Updated translate-i18n.js to include new command line options for skipping and only translating English. Modified package.json to add new translation scripts. Improved localization files for multiple languages with better comments for clarity and accuracy, ensuring comprehensive support for internationalization. 2025-07-16 06:17:27 +02:00
sebseb7
51471d4a55 Refactor project for i18n support: Rename project to "i18n-translator" and update package.json and package-lock.json accordingly. Enhance localization by integrating translation functions across various components, including AddToCartButton, Content, GoogleLoginButton, and others, to provide dynamic text rendering based on user language preferences. Update localization files for multiple languages, ensuring comprehensive support for internationalization. 2025-07-16 05:59:48 +02:00
seb
fb3450aa23 Implement availability filters in Content and ProductList components to enhance product filtering functionality. Active filters for "auf Lager", "Neu", and "Bald verfügbar" are now dynamically displayed based on product availability, improving user experience and filtering accuracy. 2025-07-05 13:57:29 +02:00
seb
11f5b2cbfd Update package dependencies to latest versions, enhancing compatibility and performance. Adjust start scripts in package.json to include NODE_OPTIONS for deprecation warnings. Add new launch configuration in VSCode for easier development setup. Enhance product filtering logic in Content component to ensure new product filters are only applied when applicable. 2025-07-05 13:48:42 +02:00
seb
8abf64ca38 Enhance responsive design across components by adjusting padding, margins, and layout properties for better mobile usability. Updated styles in Content, Header, Product, ProductFilters, ProductList, and SearchBar components to improve visual consistency and user experience on various screen sizes. 2025-07-04 04:51:15 +02:00
seb
245f5067ed Refactor socket handling across components to support dual socket connections, enhancing data fetching capabilities and improving overall communication. 2025-07-03 05:36:41 +02:00
seb
1ed06804a0 Enhance category data fetching by adding full response handling and improving socket communication in Content component 2025-07-03 04:01:10 +02:00
seb
edbd56f6a9 Genesis 2025-07-02 12:49:06 +02:00