Commit Graph
31 Commits
Author SHA1 Message Date
Jeppe Bundgaard b39b458f4f Add .prettierrc.json and refactor test files for improved formatting consistency:
- Introduced `.prettierrc.json` to enforce consistent code formatting across the project.
- Updated unit and e2e test files to address formatting issues, improve readability, and ensure alignment with the new Prettier configuration.
2026-04-13 09:13:27 +02:00
Jeppe Bundgaard f040614f46 Refactor module paths, layout responsiveness, and testing configurations:
- Replaced repetitive department module URL logic with `buildDepartmentModulePath` utility in `DepartmentModulesDisplay.vue`.
- Enhanced layouts and responsive behavior across components, including `PosDepartmentStep1MobileTransactionHistory.vue` and `DepartmentDailyReport.vue`.
- Removed unused `SuperuserInvoicingLocalStore.vue` and refactored to `SuperuserInvoicingLocalStore.ts`.
- Updated media query handling and card layout adjustments in `DepartmentDailyReport.vue`.
- Added new Playwright configurations (`playwright.prod.config.ts` and `playwright.live.config.ts`) for e2e release workflows.
- Extended e2e and unit test coverage for mobile POS and department modules.
2026-04-09 16:32:25 +02:00
Jeppe Bundgaard 78648a0b7f Add customer complaints, edge gateway terminal, and mobile POS functionalities with e2e and unit test coverage:
- Implemented `departmentDailyReportComplaintCustomers.js` module for handling customer complaint data, including search, normalization, and API integration.
- Added `EdgeGatewayTerminal.vue` for root shell access with session approval, dynamic status handling, and user feedback.
- Developed `mobilePos.js` for simulating mobile POS fixtures and workflows in e2e tests.
- Introduced relevant e2e and unit tests to ensure functionality and error handling across modules.
2026-04-09 11:35:18 +02:00
Jeppe Bundgaard 5b181087ff Upgrade dependencies in package-lock.json:
- Updated `@vitejs/plugin-vue`, `@vitejs/plugin-vue-jsx`, `@asamuzakjp/dom-selector`, `@azure/msal-browser`, and various `@babel` packages.
- Introduced new sub-dependencies and licenses.
- Removed legacy nested dependencies.
2026-03-25 15:23:17 +01:00
gold-dev 2877979660 Feat: Charts dashboard 2026-03-25 15:00:57 +02:00
Jeppe Bundgaard 60742bf947 Refactor and migrate Playwright E2E tests:
- Remove `playwright.config.js` to clean up configuration.
- Add new E2E test suites (`admin-pos-orders`, `admin-module-goals`, `admin-module-pos-mobile-order-flow`) to structure Admin module tests.
- Introduce reusable authentication and data seeding utilities in `fixtures` for streamlined test flows and maintainability.
2026-03-19 12:46:47 +01:00
Jeppe Bundgaard f619487f6f Implement automatic table Excel exports with unit tests:
- Add `AutoTableExportService` for dynamic Excel export button generation and visible row extraction.
- Integrate auto-export initialization in `main.js` for legacy non-paginated tables.
- Extend `PaginationDisplay.vue` with support for paginated Excel export.
- Add export functionality to vehicle views and dependencies, including full-table export handling.
- Add tests for `TableExcelExportService.js`, export workflows, and normalization logic.
- Enhance localization with `download_excel` translation key.
2026-03-18 12:46:40 +01:00
Jeppe Bundgaard abc033bb05 Remove self-serve-logic.spec.js and related integration tests.
- Delete outdated tests for `useSelfServeLogic` composable, step navigation, and validation related to the Self-Serve module.
- These tests have been deprecated in favor of newer, streamlined testing strategies and refactored logic.
2026-03-17 16:49:36 +01:00
Jeppe Bundgaard 2f23b6ea75 Add Playwright test migration plan 2026-03-09 10:20:39 +01:00
Jeppe Bundgaard d870eb9257 Update package versions to ensure compatibility
- Locked versions for `axios`, `sweetalert2`, and `vite` to specific releases.
- Updated multiple Babel helper and plugin packages to newer versions for enhanced functionality.
- Upgraded various esbuild packages and enforced Node.js version >=18 requirement.
- Added missing MIT licenses for dependencies in `package-lock.json` for clarity.
2026-02-24 15:17:09 +01:00
copilot-swe-agent[bot]andjepp9350 63a10dd5c4 Add i18n setup with vue-i18n, locale files, and LanguageSwitcher component
Co-authored-by: jepp9350 <17977216+jepp9350@users.noreply.github.com>
2026-02-17 10:57:31 +00:00
Jeppe Bundgaard 7371d235b7 Add PWA support with manifest and TWA integration. Update Vite PWA plugin configuration and scripts for building and updating TWA. 2026-01-20 16:14:50 +01:00
Jeppe Bundgaard 5329b62bc5 "Add Buefy for navigation menu; implement DesktopNavigationBuefy.vue and integrate into viewport layout." 2025-12-05 20:29:46 +01:00
Jeppe Bundgaard 75fb34afa3 "Update navigation routes for 'Book Vask', add mobile-specific message in LoginQR.vue, introduce 'build:dev' script in package.json, and enhance error message in NavigationMenuItem.vue" 2025-11-06 10:46:32 +01:00
Jeppe Bundgaard d721dfc4c2 Integrate WebdriverIO setup for End-to-End testing
- Added `wdio.conf.js` for configuring WebdriverIO.
- Introduced `test/specs/sample.spec.js` for initial test case setup to validate home page loading.
- Updated `vite.config.js` to include SCSS preprocessor configuration for improving CSS handling.
- Added required dependencies for WebdriverIO and related services in `package-lock.json`.
2025-10-07 09:38:27 +02:00
Jeppe Bundgaard 36b97b67d5 Add QR code-based login functionality and enhancements:
- Implemented QR code scanning and detection using `vue-qrcode-reader` in `LoginQR.vue`.
- Added token extraction and application logic for seamless login flow.
- Enhanced error handling for scanning issues and invalid QR codes.
- Updated `LoginForm.vue` to include a QR code login button.
- Added session handling updates with SweetAlert integration and improved error notifications.
- Bumped dependencies with `@vueuse/integrations` and `vue-qrcode-reader` support.
2025-08-27 13:05:59 +02:00
Jeppe Bundgaard 20bdaf9bc1 Add scanner functionality and reusable button component:
- Introduce `ScannerInstructions.vue` for user guidance during scanning.
- Add `GenericButton.vue` as a flexible button component with default, disabled, and white styles.
- Implement `ScannerCamera.vue` to handle camera activation and video frame capture.
- Update `LoginQR.vue` with scanner, instructions, and button integrations.
- Add `tesseract.js` dependency in `package.json` and `package-lock.json` for future OCR capabilities.
2025-07-31 09:22:20 +02:00
Jeppe Bundgaard 2fb538d207 Enhance PWA manifest configuration and update dependencies:
- Add custom manifest properties (`id`, `display`, `start_url`, `scope`, `orientation`, `launch_handler`).
- Include `@bubblewrap/cli` dependency for improved PWA tooling integrations in `package-lock.json`.
2025-07-30 10:23:31 +02:00
Jeppe Bundgaard ef86819532 Add PWA support and responsive layout improvements:
- Integrate `vite-plugin-pwa` with automatic updates and manifest configuration for PWA support.
- Create `PWADownload.vue` component to guide users on installing the app.
- Add `/download` route in `router.js` for accessing the PWA download page.
- Improve responsive layout handling in `DefaultPageWrapper.vue` for better mobile adaptation.
- Update dependencies in `package.json` and `package-lock.json` to reflect PWA integration.
2025-07-29 17:53:14 +02:00
Jeppe Bundgaard 3dac234fba Add invoicing progress bar, enhance date selection, and update navigation for superuser dashboard:
- Integrate `InvoicingBillingPeriodInvoiceProgressBar` for improved visual feedback during invoicing processes.
- Implement reusable date selection components with `PaginationDisplayTemplateDate` and `PaginationDisplayTemplateDates` for enhanced flexibility in date filtering.
- Add `NavigationMenuSuperUser` to improve navigation structure for superuser dashboard.
- Refactor related components with helper methods for better maintainability.
- Include `vue-toast-notification` to provide dynamic notifications.
- Update translations and adjust UI components to align with new functionality.
- General fixes to maintain code modularity and reusability.
2025-07-29 10:51:42 +02:00
Jepp9350 4e87834f81 Add new time booking creation process and related components 2025-05-27 08:04:04 +02:00
Jepp9350 56171cfe8f Add @vueuse/head for dynamic head management and favicon
Integrated @vueuse/head to manage the document head dynamically. Configured a favicon by including it in the head setup. Updated dependencies to include @vueuse/head and related packages.
2025-05-22 23:32:29 +02:00
Jepp9350 3c0fba7f2a Add Microsoft authentication and Entra ID configuration
Introduced Microsoft authentication integration using MSAL for token handling and calendar operations. Added Entra ID configuration module to manage tenant, client ID, and secret settings, along with enabling integration control.
2025-05-21 14:41:40 +02:00
Jepp9350 7751695a3c Add CalendarController and integrate advanced calendar features
Introduced a new `CalendarController` for managing calendar functionality, including event creation, updates, and custom function execution. Integrated `timeGrid` and `list` views from FullCalendar, allowing more flexible calendar displays. Updated `Calendar.vue` to utilize the new controller and enhanced calendar interaction.
2025-05-15 09:51:58 +02:00
Jepp9350 0a5b678471 Add department variables and enhance time bookings UI
Introduced DepartmentVariables object for managing department-specific variables. Enhanced the time bookings user interface with a new calendar using FullCalendar and added routing for department modules setup. Updated admin menus and permissions for better module accessibility.
2025-05-14 16:28:44 +02:00
Jepp9350 10a320e985 Add new dependencies for calendar and styling support
This commit introduces new dependencies including `dayspan-vuetify`, `bulma-block-list`, `vue-cal`, and `@event-calendar/core` for enhanced calendar functionality and styling options. Additionally, several supporting libraries such as `svelte`, `css-tree`, and `clsx` were added for improved performance and compatibility.
2025-05-13 08:43:20 +02:00
Jepp9350 b3307be2aa Update department ID handling and upgrade dependencies
Replaced the direct access of `department_id.value` with `getDepartment()` for better encapsulation in `POSDepartmentProcess.vue`. Updated multiple dependencies in `package-lock.json`, including Babel, Vue Flow, and others, to improve functionality and maintain up-to-date libraries.
2025-05-01 13:53:20 +02:00
Jepp9350 991d516fd3 Add customer suggestions and selectable invoices features
Introduced customer suggestion functionality for unregistered vehicles based on `reg_1`. Enabled multiple invoice selection with toggle option in order tables. Updated visual styles and handling of errors with automatic clearing.
2025-04-30 13:05:19 +02:00
Jepp9350 444b47adf1 Add guest dashboard modules and improve global form handling
Introduced new views and components for guest dashboard, including GuestHome, guest-specific menus, and booking pages for washes. Enhanced the forms system with reCAPTCHA support, calendar integration, and better field handling. Adjusted router configuration and updated requests to separate authenticated and unauthenticated flows.
2025-03-25 13:11:25 +01:00
Jepp9350 39e08fb9f1 Implement infinite scroll, improve UI, and refactor tabs
Integrated infinite scroll for license plate scans using visibility detection. Refactored layout to use tables and enhanced tabs with dynamic visibility and compact mode. Made minor refinements, including handling required customer attributes and deactivating UI components for better user experience.
2025-02-26 12:12:45 +01:00
Jepp9350 18dc8fb40f Add Department POS module and related views
Introduced Department POS functionality with navigation, orders, and order detail views. Set up routing and middleware for POS operations. Added base styles, assets, and updated package dependencies to support these changes.
2025-02-25 08:20:04 +01:00