Commit Graph

292 Commits

Author SHA1 Message Date
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
ea05a83901 u 2025-09-07 07:10:40 +02:00
sebseb7
12ed71b406 refactor: streamline GrowTentKonfigurator by removing unused variables and console logs
- Eliminated unnecessary tracking of response status and related logic for product list updates.
- Removed console logging statements to clean up the code and improve performance.
- Added a check to ensure all category data sections are loaded before rendering related components, enhancing user experience.
2025-09-07 06:09:14 +02:00
sebseb7
1ac253d5f3 format 2025-09-07 05:13:56 +02:00
sebseb7
cbb8dc463f feat: enhance ExtrasSelector and GrowTentKonfigurator for improved extras handling and UI
- Refactored ExtrasSelector to implement dynamic image loading with caching, improving performance and user experience.
- Updated GrowTentKonfigurator to fetch and display extras from a new category, ensuring accurate pricing and availability.
- Enhanced UI elements for better layout and clarity, including loading indicators and improved styling for extras display.
- Added handling for cases when no extras are available, providing clear feedback to users.
2025-09-04 10:45:55 +02:00
sebseb7
479e328e7c feat: update ExtrasSelector and GrowTentKonfigurator for VAT display and extras handling
- Refactored ExtrasSelector to include VAT information for each extra, enhancing clarity for users.
- Removed unused extras data from configuratorData.js to streamline the codebase.
- Updated GrowTentKonfigurator to dynamically retrieve extras from cached data, ensuring accurate pricing and VAT display for selected items.
- Improved UI layout for price and VAT information across various components for better user experience.
2025-09-04 10:31:59 +02:00
sebseb7
3660f80277 feat: improve ventilation selection logic in GrowTentKonfigurator
- Added functionality to reset ventilation selection when the tent shape changes and the current selection is not deliverable.
- Updated product filtering to include all size-matching products while marking their availability status.
- Enhanced UI to visually indicate non-deliverable ventilation options, improving user experience and clarity in selection.
- Adjusted price calculations to consider only deliverable ventilation products.
2025-09-04 07:07:21 +02:00
sebseb7
8862f0c6b8 feat: integrate ventilation selection into GrowTentKonfigurator
- Removed unused imports related to ventilation types and updated the product selection logic to dynamically filter ventilation options based on the selected tent shape.
- Implemented new methods to retrieve and filter available ventilation products, enhancing the user experience by ensuring only relevant options are displayed.
- Updated the UI to reflect the selected tent shape and provide feedback when no matching ventilation products are available.
- Improved overall rendering of the ventilation section with better styling and selection indicators.
2025-09-04 05:54:01 +02:00
sebseb7
21ae00b3f7 feat: enhance GrowTentKonfigurator with lamp filtering and improved UI
- Implemented filtering logic for lamps based on selected tent shape and availability.
- Updated rendering of lamp selection to dynamically display available options based on user input.
- Enhanced user interface with improved styling and selection indicators for better user experience.
- Added console logging for debugging purposes to track filtering and selection processes.
2025-09-03 11:57:06 +02:00
sebseb7
ead44afb69 feat: enhance GrowTentKonfigurator with tent filtering and improved rendering
- Added helper functions to filter tent products by shape and generate coverage descriptions based on dimensions.
- Implemented logic to handle product image rendering with caching and loading states.
- Updated tent selection process to dynamically find and display products based on selected tent shape.
- Enhanced user interface with loading indicators and improved layout for product selection.
2025-09-03 11:31:24 +02:00
sebseb7
1a5143a55d i18n 2025-08-31 07:19:31 +02:00
sebseb7
3a97c2571e fix: update MainPageLayout titles and content boxes for accuracy
- Corrected the title for the home section to reflect the correct translation.
- Swapped content boxes for the home and filiale sections to ensure accurate representation of their respective content.
- Enhanced localization by ensuring all section titles and links are correctly aligned with their intended content.
2025-08-31 07:08:39 +02:00
sebseb7
b3810fded7 fix: update Logo component styling for consistency
- Adjusted Logo component to explicitly set width and height attributes for the logo image.
- Ensured inline styles reflect the new dimensions for better rendering across different devices.
2025-08-31 06:46:34 +02:00
sebseb7
64bf798843 feat: enhance PrerenderHome layout with responsive placeholders
- Updated PrerenderHome component to improve layout responsiveness with additional padding and margin adjustments.
- Added invisible placeholders for SearchBar and ButtonGroup to maintain layout consistency across different screen sizes.
- Enhanced styling for child components to ensure proper alignment and spacing in both mobile and desktop views.
2025-08-31 06:43:20 +02:00
sebseb7
6a144f7441 feat: add prerendering support and improve component imports
- Introduced a new PrerenderHome component for development testing.
- Updated App.js to conditionally render the PrerenderHome based on the route.
- Refactored several components to use ES6 import/export syntax for consistency.
- Enhanced AppContent to manage dynamic theming and added a development-only FAB for prerender testing.
- Minor adjustments to props in PrerenderCategory for clarity.
2025-08-31 06:04:55 +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
d40e311b51 feat: enhance ProductDetailPage to handle language changes and improve caching logic
- Added logic to detect language changes and clear relevant caches to ensure fresh data loading.
- Updated component state management to reset and reload product data upon language context updates.
- Improved debugging output for better tracking of language-related changes.
2025-08-06 09:50:37 +02:00
sebseb7
7a8d07ffc3 feat: improve product data handling in ProductDetailPage for better localization support
- Updated ProductDetailPage to utilize translated product data when available, enhancing localization.
- Adjusted caching logic to store translated products and their attributes.
- Ensured that component images and related data are loaded from the correct product source, improving user experience.
2025-08-06 08:05:32 +02:00
sebseb7
09cd68c144 feat: enhance ProductDetailPage with language context support for product view requests
- Updated the ProductDetailPage to include the current language context when emitting product view requests via WebSocket.
- Added logic to determine the appropriate language setting, improving localization and user experience.
- Enhanced debugging output for better tracking of language-related issues.
2025-08-06 07:46:16 +02:00
sebseb7
97fd7ee484 feat: update legal document translations and remove obsolete files
- Added translations for legal documents related to consumer rights, battery disposal, and data protection across multiple languages.
- Removed outdated legal-agb.js and legal-datenschutz.js files to streamline the localization structure.
- Improved existing translations for clarity and consistency in legal terminology.
2025-08-05 19:34:11 +02:00
sebseb7
22a0f78db2 feat: enhance AGB component with improved translation support for delivery, payment, and consumer rights
- Updated the AGB component to utilize specific translation functions for delivery, payment, and consumer-related legal terms.
- Improved localization by ensuring all relevant sections are translated correctly based on the context.
- Maintained fallback text for untranslated terms to ensure clarity for users.
2025-08-05 18:30:47 +02:00
sebseb7
55d9f6a543 feat: update data protection legal documents and enhance translation support
- Added new legal documents for data protection, including basic, customer, Google orders, newsletter, chatbot, cookies, and rights.
- Updated the main Datenschutz component to utilize the new translation files for improved localization.
- Removed the old legal-datenschutz.js file to streamline the structure and ensure clarity in legal documentation.
2025-08-05 18:22:50 +02:00
sebseb7
c1d2205e6c feat: update legal document translations and add new language support
- Replaced the existing legal document files with more specific ones for delivery, payment, and consumer rights.
- Added new legal documents related to data protection, including basic, customer, Google orders, newsletter, chatbot, cookies, and rights.
- Introduced Albanian language support in the translation files and language switcher component.
- Enhanced the translation functions to ensure structural files are copied correctly for new languages.
2025-08-05 18:17:08 +02:00
sebseb7
9f707737b4 feat: enhance ProductDetailPage to support partial data loading and improve user feedback with loading descriptions 2025-08-05 15:48:56 +02:00
sebseb7
0a7f7e653b chore: add watchOptions to webpack configuration for improved file watching performance 2025-07-31 08:30:10 +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
9b38ed6f2a refactor: enhance SharedCarousel to support language context updates and improve category fetching logic 2025-07-31 04:50:55 +02:00
sebseb7
b29b946aaf refactor: enhance category data fetching in CategoryList to support language context updates and improve state management 2025-07-31 04:16:23 +02:00
sebseb7
14787cbd74 feat: add WebSocket URL for client and update GoogleLoginButton text to 'Loading...' for better user feedback 2025-07-30 16:02:11 +02:00
sebseb7
afcdbb29c9 refactor: temporarily remove withI18n from GoogleLoginButton for debugging and enhance error handling in LoginComponent 2025-07-30 15:34:23 +02:00
sebseb7
4584da1199 size optimize 2025-07-27 14:04:36 +02:00
sebseb7
c1f2be99a7 **Commit message:**
Remove redundant comments and simplify layout logic in MainPageLayout

**Description:**
Deleted unnecessary inline comments and streamlined responsive navigation/content rendering logic. Maintained core functionality while improving code clarity and reducing visual noise in the component structure.
2025-07-27 13:53:40 +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
c1810b18b3 refactor: implement CategoryService for category data management and update caching logic in prerender and renderer components 2025-07-24 10:46:10 +02:00
sebseb7
3a8f31c109 Merge branch 'live' of https://git.sebgreen.net/seb/reactShop into live 2025-07-24 10:45:40 +02:00
sebseb7
02ed8c5f9d upd 2025-07-24 10:45:27 +02:00
sebseb7
5662177175 refactor: streamline category ID management in CategoryList by replacing getLevel1CategoryId with setLevel1CategoryId and improving state handling 2025-07-24 10:44:11 +02:00
sebseb7
b9e00ca134 refactor: remove CarouselProvider from PrerenderHome component to streamline layout and improve code clarity 2025-07-24 07:07:02 +02:00
sebseb7
b207377a8e refactor: enhance category data management in CategoryList and CategoryService by integrating async-mutex for improved concurrency control and simplifying state handling 2025-07-24 07:04:54 +02:00
sebseb7
2f753a81a4 refactor: integrate CategoryService into SharedCarousel for improved category data management and enhance component structure 2025-07-24 06:23:37 +02:00
sebseb7
1aabd3ef1e refactor: implement lazy loading for LoginComponent in ButtonGroup to enhance performance and user experience 2025-07-23 11:21:36 +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
4dd1b2d227 refactor: update cache handling and logging in SharedCarousel component to prioritize prerendered cache and improve clarity in data fetching 2025-07-23 10:25:04 +02:00
sebseb7
f3e8395000 refactor: improve cache handling and logging in CategoryList component to prioritize prerendered cache and enhance data fetching clarity 2025-07-23 10:24:41 +02:00
sebseb7
95f303bc68 refactor: enhance logging and cache checks in SharedCarousel and CategoryList components to improve data fetching clarity and performance 2025-07-23 10:22:19 +02:00
sebseb7
226ca3e834 refactor: improve cache utilization and data fetching logic in SharedCarousel and CategoryList components for enhanced performance and maintainability 2025-07-23 10:20:35 +02:00
sebseb7
146daf8eb1 refactor: simplify cache management in SharedCarousel and CategoryList components to enhance data fetching efficiency and maintainability 2025-07-23 10:15:49 +02:00