Commit graph

37 commits

Author SHA1 Message Date
9ae3b4433f Merge branch 'master' into storefront-nuxt 2026-02-05 17:13:57 +03:00
f370c0872f Features: 1) Add error handling for invalid token scenarios with isTokenInvalidError in useRefresh; 2) Integrate useLogout logic in useRefresh for improved redirection after token expiration; 3) Optimize server-side refresh operations with conditional execution in app.vue; 4) Enhance form behavior in input.vue with dynamic autocapitalize attribute.
Fixes: 1) Improve error notification handling in `useRefresh` with detailed GraphQL message extraction; 2) Address missing token reassignments for `refreshToken` and `accessToken` in `useRefresh`; 3) Resolve redundant refresh execution in non-server environments of `app.vue`.

Extra: 1) Refactor `useRefresh` for cleaner error handling and better modularity; 2) Cleanup unused comments and enhance log messages for easier debugging; 3) Organize imports across updated files for standardization.
2025-10-13 14:21:19 +03:00
85ec39255b Merge branch 'main' into storefront-nuxt 2025-10-07 23:14:14 +03:00
c9807bd6d4 Features: 1) Add product rating support in types, GraphQL fragments, and UI components; 2) Implement feedback management including GraphQL mutations, composables, and notification handling; 3) Enhance locale switching with improved reactivity, Apollo query clearing, and supported locale validation; 4) Introduce useOrderBuy composable for order purchasing workflow.
Fixes: 1) Correct mutation name from `setlanguage` to `setLanguage` for consistency; 2) Improve product listing reactivity by addressing missing initialization in `useStore`; 3) Replace generic product queries with parametrized `useProducts` for modularity; 4) Resolve minor typos, missing semicolons, and code formatting inconsistencies.

Extra: 1) Refactor feedback-related types, composables, and GraphQL utilities for modularity; 2) Update styles, Vue templates, and related scripts with enhanced formatting; 3) Remove unused methods like `getProducts`, standardizing query reactivity; 4) Cleanup and organize imports across multiple files.
2025-10-06 18:19:19 +03:00
87b62b32e8 Merge branch 'main' into storefront-nuxt
# Conflicts:
#	storefront/public/robots.txt
2025-09-15 14:23:54 +03:00
b68911006b Features: 1) Add Dockerfile for building and running storefront application; 2) Introduce multi-stage build with separation of development and runtime environments; 3) Include environment variable management and non-root user setup;
Fixes: 1) Update dependencies in `package-lock.json` with the latest versions to address compatibility issues;

Extra: 1) Remove unused dependencies and redundant package references from `package-lock.json` for optimization; 2) Improve scripts and permission setups in Dockerfile for clarity and security.
2025-09-13 14:13:26 +03:00
e78d2fc652 Features: 1) Update robots.txt to include improved crawler directives for /profile while maintaining SEO sitemap and host details;
Fixes: 1) Remove redundant `robots_frontend.txt` file and replace with consolidated `robots.txt` from `storefront/public`;

Extra: 1) Standardize formatting of crawler directives in `robots.txt`.
2025-09-13 12:59:53 +03:00
40ae24a04c Features: 1) Add SEO-related fragments to GraphQL queries including SEOMETA_FRAGMENT usage in brands, categories, and products queries; 2) Enable localized and dynamic SEO metadata handling in category pages with Vue composables and useSeoMeta; 3) Replace obsolete client-only wrapper with native Nuxt components like nuxt-marquee for enhanced rendering;
Fixes: 1) Correct file path imports by removing `.js` extensions in GraphQL fragments; 2) Resolve typo in `usePromocodeStore` composables to ensure consistent store usage; 3) Add missing `:type="submit"` to login form button for proper form submission handling;

Extra: 1) Remove unused `.idea` and `README.md` files for repository cleanup; 2) Delete extraneous dependencies from `package-lock.json` for streamlined package management; 3) Refactor category slug handling with improved composable logic for cleaner route parameters and SEO alignment.
2025-09-13 12:53:06 +03:00
408dee727e Merge branch 'main' into storefront-nuxt 2025-08-19 17:49:44 +03:00
cb8e4fb2ab Features: 1) Add default value and path options for cookieAccess initialization in useRefresh; 2) Implement nextTick usage in useLogin and useRefresh for improved reactivity; 3) Enhance apollo.ts with cookieAccess object to ensure token consistency;
Fixes: 1) Reorder `router.push` in `useLogout` to properly clear cookies before redirection; 2) Resolve issues with inconsistent access token handling during Apollo header configuration;

Extra: 1) Cleanup comments in `useRefresh
2025-08-19 17:48:41 +03:00
64730a1d4e Features: 1) Add appStore integration for managing search overlay state in search.vue; 2) Enhance expiration date formatting in promocodes.vue with detailed and localized time display; 3) Replace avatar image handling in settings.vue with nuxt-img for better performance and format support;
Fixes: 1) Add missing type annotations for `isSearchActive` in `useSearchUi.ts`; 2) Resolve improper conditional rendering in empty state templates across multiple files; 3) Remove unnecessary `console.log` calls in `goTo` function;

Extra: 1) Update SCSS styles including border thickness, colors, and padding tweaks; 2) Refactor `loader.vue` to use `<span>` instead of `<li>` for dots and adjust size; 3) Clean up obsolete TODOs, comments, and unused imports.
2025-07-15 21:25:51 +10:00
4957039fc5 Features: 1) Integrate advanced Apollo link setup including error handling, authentication, and custom link chaining; 2) Replace apollo-upload-link.ts with revised client link configuration in apollo.ts; 3) Add @types/apollo-upload-client and @types/extract-files for enhanced TypeScript support;
Fixes: 1) Remove deprecated and redundant logic from `useAvatarUpload`; 2) Correct non-functional avatar upload and improve template handling in `settings.vue`;

Extra: 1) Cleanup unused imports, comments, and SCSS styles across files; 2) Simplify plugin configuration and migration to consolidated link logic; 3) Update package dependencies with precise resolution in `package-lock.json`.
2025-07-11 19:25:03 +03:00
52b32bd608 Features: 1) Introduce useUserBaseData composable to fetch and manage user's wishlist, orders, and promocodes; 2) Add reusable useOrders and useOrderOverwrite composables with advanced filtering and pagination; 3) Implement order.vue component for detailed order displays with UI enhancements;
Fixes: 1) Replace deprecated context usage in `useAvatarUpload` mutation; 2) Resolve incorrect locale parsing in `useDate` utility and fix non-reactive cart state in `profile/cart.vue`; 3) Update stale imports and standardize type naming across composables;

Extra: 1) Refactor i18n strings including order status and search-related texts; 2) Replace temporary workarounds with `apollo-upload-client` configuration and add `apollo-upload-link.ts` plugin; 3) Cleanup redundant files, comments, and improve SCSS structure with new variables and placeholders.
2025-07-11 18:39:13 +03:00
c60ac13e88 Features: 1) Introduce handleDeposit function with validation logic and deposit transaction flow; 2) Add useDeposit composable and balance.vue page for user account balance management; 3) Enhance wishlist and cart functionality with authentication checks and notification improvements;
Fixes: 1) Replace `ElNotification` with `useNotification` across all components and composables; 2) Add missing semicolons, consistent formatting, and type annotations in multiple files; 3) Resolve non-reactive elements in wishlist and cart state management;

Extra: 1) Update i18n translations with new strings for promocodes, balance, authentication, and profile settings; 2) Refactor SCSS styles including variable additions and component-specific tweaks; 3) Remove redundant queries, unused imports, and `storePage.ts` file for cleanup.
2025-07-08 23:41:31 +03:00
761fecf67f Features: 1) Add useWishlistOverwrite composable for wishlist mutations, including adding, removing, and bulk actions; 2) Introduce new localized UI texts for cart and wishlist operations; 3) Enhance filtering logic with parseAttributesString and route query synchronization;
Fixes: 1) Replace `ElNotification` calls with `useNotification` utility across all authentication and user-related composables; 2) Add missing semicolons in multiple index exports and styled components; 3) Resolve issues with reactivity in `useStore` composable by renaming and restructuring product variables;

Extra: 1) Refactor localized strings and translations for better readability and maintenance; 2) Tweak styles including scoped styles, z-index adjustments, and SCSS mixins; 3) Remove unused components and imports to streamline storefront layout.
2025-07-06 19:49:26 +03:00
d4e33a006e Features: 1) Add .gitkeep file under storefront directory;
Fixes: 1) Include `desktop.ini` in `.dockerignore`;

Extra: None;
2025-06-27 04:28:58 +03:00
a31ee9c6b1 Features: 1) Add Source Code Pro Light font asset for theme enhancement;
Fixes: None;

Extra: None;
2025-06-27 01:59:02 +03:00
129ad1a6fa Features: 1) Build standalone pages for search, contact, catalog, category, brand, product, and home with localized metadata and scoped styles; 2) Add extensive TypeScript definitions for API and app-level structures, including products, orders, brands, and categories; 3) Implement i18n configuration with dynamic browser language detection and fallback system;
Fixes: None;

Extra: 1) Create Pinia stores for app, user, category, and company management; 2) Add utility functions for error handling and category slug lookups; 3) Include German locale file and robots.txt for improved SEO and accessibility; 4) Add SVG assets and improve general folder structure for better maintainability.
2025-06-27 00:10:35 +03:00
328ccaa615 Features: 1) 2.8.9 update
Fixes: 1) wtf go read diff;

Extra: ???
2025-06-18 15:05:58 +03:00
b105561c10 Features: 1) Simplify Docker configuration by renaming Dockerfile.app to Dockerfile; 2) Add commented setup for storefront and nginx services in docker-compose.yml;
Fixes: 1) Correct `.dockerignore` entry for the relocated `storefront/Dockerfile`;

Extra: 1) Refactor file structure by renaming `Dockerfile.storefront` to `storefront/Dockerfile`.
2025-06-17 12:39:03 +03:00
0b68dea7d3 Extra: restore to Vue 2025-06-04 20:32:34 +03:00
11d6534a40 Extra: 1) Remove separate .gitignore. 2025-06-04 17:19:32 +03:00
70594a891e Merge branch 'storefront'
# Conflicts:
#	storefront/package-lock.json
#	storefront/package.json
#	storefront/public/favicon.ico
#	storefront/src/App.vue
#	storefront/src/apollo/index.js
#	storefront/src/components/base/header/base-header-search.vue
#	storefront/src/components/base/header/base-header.vue
#	storefront/src/components/forms/deposit-form.vue
#	storefront/src/components/forms/login-form.vue
#	storefront/src/components/forms/new-password-form.vue
#	storefront/src/components/forms/register-form.vue
#	storefront/src/components/forms/reset-password-form.vue
#	storefront/src/components/forms/update-form.vue
#	storefront/src/components/home/home-hero.vue
#	storefront/src/components/ui/ui-button.vue
#	storefront/src/components/ui/ui-checkbox.vue
#	storefront/src/components/ui/ui-input.vue
#	storefront/src/components/ui/ui-language-switcher.vue
#	storefront/src/composables/auth/useLogin.js
#	storefront/src/composables/auth/useLogout.js
#	storefront/src/composables/auth/useRefresh.js
#	storefront/src/composables/categories/useCategorybySlug.js
#	storefront/src/composables/languages/useLanguageSwitch.js
#	storefront/src/composables/languages/useLanguages.js
#	storefront/src/composables/products/index.js
#	storefront/src/composables/products/useProducts.js
#	storefront/src/composables/search/useSearch.js
#	storefront/src/composables/search/useSearchUi.js
#	storefront/src/composables/user/useUserUpdating.js
#	storefront/src/config/index.js
#	storefront/src/locales/de-de.json
#	storefront/src/main.js
#	storefront/src/pages/home-page.vue
#	storefront/src/pages/product-page.vue
#	storefront/src/pages/store-page.vue
#	storefront/src/router/index.js
#	storefront/src/stores/languages.js
#	storefront/src/stores/user.js
2025-06-04 17:17:29 +03:00
e0eaf55d73 Fixes: Added more Vue integrations for Astro; 2025-06-04 11:59:03 +03:00
7d154f9302 Features: 1) Simplify layout hydration using client:only="vue" for Vue components;
Fixes: None;

Extra: 1) Remove unused composables and their function calls to streamline default layout; 2) Minor cleanup including unnecessary newline removal in plugins entry file;
2025-06-02 13:08:27 +03:00
6894015954 Features: 1) Add astro-eslint-parser as a new devDependency;
Fixes:

Extra: 1) Refactor ESLint configuration to simplify overrides with modular imports for Astro and Vue; 2) Format ESLint config for consistency.
2025-06-01 18:25:27 +03:00
587c7d3428 Features: 1) Add ESLint dependencies for Vue and Astro projects, including eslint-plugin-astro and eslint-plugin-vue;
Fixes: None;

Extra: 1) Update `package-lock.json` with multiple development-related dependencies, including `vue-eslint-parser` and packages for TypeScript compatibility;
2025-06-01 18:10:45 +03:00
fd8774b817 Features: 1) Add Pinia stores for language, company, and cart management; 2) Implement new i18n plugin with dynamic locale detection and improved setup; 3) Enhance routing logic with locale-aware redirects;
Fixes: 1) Replace usage of `vue-router` with `window.location.href` for redirects across multiple composables; 2) Ensure proper locale switching in authentication flows;

Extra: 1) Update `package-lock.json` with dependencies for Apollo, Vue I18n, and styling; 2) Remove unused `i18n.config.js` to streamline i18n setup; 3) General composables refactoring to improve code maintainability;
2025-06-01 16:52:36 +03:00
8a8a1605ea Features: 1) Add Apollo Client integration with support for locale-based headers; 2) Add Czech and German locale files; 3) Add Source Code Pro Bold font;
Fixes: None;

Extra: None;
2025-05-31 18:24:02 +03:00
dbdf20b1b1 Features: 1) Add package-lock.json for dependency management with initial packages including Astro and Vue;
Fixes: None;

Extra: None;
2025-05-31 18:17:58 +03:00
9129211f76 Features: Empty out storefront 2025-05-31 17:59:42 +03:00
2d363e1740 Features: 1) Introduce new components including ui-counter, ui-link, base-auth, and base-header-catalogue with scoped styles; 2) Add useProductTags composable and integrate GraphQL queries for product tagging; 3) Build standalone pages for cart and wishlist with basic templates; 4) Integrate vue3-marquee-slider, swiper, and primeicons dependencies for enhanced UI interactions; 5) Add skeleton loaders for language switcher and counter components; 6) Localize the app with support for it-it, de-de, ja-jp, da-dk, fr-fr, and nl-nl locales;
Fixes: 1) Refactor `useProducts` and `useCategorybySlug` composables for improved error handling and lazy loading; 2) Correct import path in `product-page.vue` for `useProductBySlug`; 3) Update `useLanguages` composable to set current locale from local storage; 4) Remove unused `auth.js`, `base-header.vue`, and deprecated GraphQL fragments;

Extra: Minor styling adjustments and removal of redundant console logs; Updated `package-lock.json` dependencies for version consistency.
2025-05-31 17:43:33 +03:00
b802d7266c Storefront updates 2025-05-28 22:37:39 +10:00
9e837ba568 Features: 1) Implement composables for posts, products, categories, languages, and user deposits with lazy loading and GraphQL integration; 2) Add standalone pages for blog, product, store, and profile with scoped SCSS styling; 3) Add reusable UI components including header, footer, input, button, and textarea; 4) Introduce forms for contact and deposit functionality with validation and localization support; 5) Create GraphQL fragments for users, products, categories, company, orders, languages, and wishlist for efficient data fetching;
Fixes: 1) Correct missing semicolons in Pinia store definitions for cart, company, wishlist, and auth stores; 2) Refactor GraphQL queries to include fragments for improved modularity and readability; 3) Correct error handling in composables like `usePosts` and `useLanguages`;

Extra: Enhanced App.vue to include dynamic company info and language fetching on mount; Added scoped styles for new components and pages.
2025-05-28 15:35:42 +03:00
d2deb25e33 Set up storefront with localization, global styles, and GraphQL integration 2025-05-26 18:02:48 +03:00
79f772c4dc Features: 1) Add initial storefront configuration including app naming, local storage, and supported locales; 2) Introduce global styles with variables, mixins, and modules; 3) Implement router with locale-based navigation and home page setup; 4) Add Pinia stores for authentication and cart management; 5) Provide GraphQL queries for wishlist, categories, products, orders, languages, company info, and documents; 6) Add GraphQL mutations for authentication, cart, contact, deposit, and wishlist operations; 7) Include SVG assets for eye icons; 8) Add localization file for "en-gb" with buttons, errors, and fields text;
Fixes: None;

Extra: Minor structural organization of assets and GraphQL queries; Added descriptive structure to enhance traceability;
2025-05-26 18:00:19 +03:00
8961029176 Features: 1) Add Dockerfile.app with author label for application container; 2) Add CODEOWNERS file for ownership management; 3) Introduce Dockerfile.storefront for storefront container; 4) Add .gitkeep file for storefront folder;
Fixes: 1) Update `docker-compose.yml` to use `Dockerfile.app` instead of default build context;

Extra: 1) Add commented-out `storefront` service in `docker-compose.yml` for potential future use; 2) Minor cleanup and structuring of Docker setup;
2025-05-26 15:34:45 +03:00