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
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
a2b7a2509f
refactor: streamline category data fetching in Content component by reducing logging and simplifying cache checks for improved readability
2025-07-23 10:08:23 +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
23dbdec432
refactor: update image rendering logic in MainPageLayout to load images conditionally based on opacity for improved performance
2025-07-23 09:38:41 +02:00
sebseb7
72010c410e
refactor: disable font and image preloading in InlineCssPlugin for improved clarity and maintainability
2025-07-23 09:24:35 +02:00
sebseb7
5dc0280fc7
refactor: enhance InlineCssPlugin to preload JavaScript files alongside fonts and images, improving asset loading order and console logging
2025-07-23 09:22:58 +02:00
sebseb7
bfcc320e6d
refactor: ensure safe socket listener management in ButtonGroup and AdminPage components to prevent errors when socketManager is not available
2025-07-23 09:13:09 +02:00
sebseb7
a653908624
refactor: simplify image preloading logic in InlineCssPlugin to focus on homepage and enhance console logging
2025-07-23 09:10:45 +02:00
sebseb7
1e8e6d7ac1
refactor: comment out unused critical image in InlineCssPlugin for improved clarity and maintainability
2025-07-23 09:01:24 +02:00
sebseb7
acdfc38b4a
refactor: update image preloading logic in InlineCssPlugin to use output filename for page type detection and improve console logging
2025-07-23 08:58:14 +02:00
sebseb7
c906e0c936
refactor: enhance image preloading logic in InlineCssPlugin for better performance and clarity
2025-07-23 08:52:53 +02:00
sebseb7
cee69c9a31
refactor: remove SocketContext and related dependencies from OrdersTab and ProfilePage components for improved performance and code clarity
2025-07-23 08:46:35 +02:00
sebseb7
1c777f8daa
feat: add console logging for image loading and product data fetching in Product and ProductDetailPage components for improved debugging
2025-07-23 08:41:26 +02:00
sebseb7
602324b1fe
fix: clear product image URL from window object on component unmount to prevent memory leaks
2025-07-23 08:36:13 +02:00