Commit Graph
49 Commits
Author SHA1 Message Date
Jeppe Bundgaard 06540f5342 Add signed Android artifact automation 2026-07-02 14:48:47 +02:00
Jeppe Bundgaard 2db4497385 Add mobile store artifact automation 2026-07-02 11:11:52 +02:00
Jeppe Bundgaard 475a7504a5 Refactor subuser permissions and enhance artifact management 2026-07-01 13:18:21 +02:00
Jeppe Bundgaard e126dfccf9 Enhance accessibility and linting configuration
- Add tabindex attributes to input fields for better keyboard navigation
- Introduce ESLint configuration for improved code quality and consistency
- Update package.json to include linting scripts and dependencies
- Add tests for desktop tab navigation in POS flow
2026-06-08 16:35:56 +02:00
Jeppe B 1d4910f947 Remove unsafe postinstall hook 2026-06-02 00:40:34 +02:00
Jeppe Bundgaard 8ab8915429 Add release management components and update routing logic. Introduce keyboard shortcuts, enhance release data grid, and improve asset handling in Nginx configuration. 2026-05-26 14:14:13 +02:00
Jeppe Bundgaard 4f1973d048 Add SuperUser Release Manager view with channel management, deployments, replay, and integrations 2026-05-19 10:04:00 +02:00
Jeppe Bundgaard d69c474655 Add multilingual glossary and phrases for i18n, including terms, attributes, and compatibility across da, de, en, no, and sv locales. 2026-05-19 08:03:39 +02:00
Jeppe Bundgaard 5081fe0776 Add Playwright PR runner and Vitest unit test fast runner scripts; integrate with test commands and update specs/tests for PR-based selection. 2026-05-18 10:59:56 +02:00
Jeppe Bundgaard d7ff64bf4e Add encoding repair utilities and tests:
- Introduced `repairText` and `containsSuspiciousEncoding` utilities for handling corrupted text encodings.
- Added unit tests (`encoding-repair.spec.js`) to validate encoding repair and encoding marker detection.
- Integrated encoding check into unit test workflows (`text:check-encoding` and `text:fix-encoding` scripts).
- Replaced corrupted strings across multiple components and locales with proper UTF-8 encodings.
2026-04-21 10:24:35 +02:00
Jeppe Bundgaard bef9eaeb72 Add unit tests and new components for edge gateway workflows:
- Introduced unit tests for edge gateway workflow helpers, including workflow step resolution, incident action mapping, relay health row formatting, and workspace state merging.
- Added new components for advanced operations, configuration panel, context panel, fleet rail, and health summary.
- Enhanced gateway management UI with support for advanced actions, fallback operations, relay health visualization, and device binding features.
2026-04-16 13:44:36 +02:00
Jeppe Bundgaard 6c4b9cb599 Add and improve e2e tests for Edge Gateway flows and configure pre-commit hooks:
- Introduced live smoke tests for Edge Gateways, verifying gateway routes and destructive-action prevention.
- Added e2e scenarios for deep-link navigation, unavailable gateway recovery, token rotation, and background page refresh.
- Refactored test helpers for streamlined functional validation in gateway scenarios.
- Updated `EdgeGatewayTerminal.vue` with test IDs for enhanced testability.
- Added and configured Husky pre-commit hooks for automated test file formatting and validation.
2026-04-16 10:52:56 +02:00
Jeppe Bundgaard c8f917ac30 Add batch support for Vitest unit tests and update workflows:
- Introduced `run-vitest-unit-batches.mjs` script for running unit tests in batches with configurable batch size.
- Updated `package.json` to replace `test:unit` command with the batch runner and added `test:unit:single` for direct execution.
- Tweaked GitHub workflows (`tests.yml`, `code_quality.yml`) to use updated actions and support batch testing.
- Minor formatting improvements in Vue components and workflows for consistent style.
2026-04-14 17:46:00 +02:00
Jeppe Bundgaard 983585ede7 Refactor and cleanup:
- Migrate postinstall script to `postinstall-sync-playwright-root-links.mjs` for streamlined path resolution.
- Replace `axios` v1.15.0 with v1.13.5 and downgrade `vite` from v8.0.5 to v7.1.11.
- Update testing code for consistent formatting and enhanced readability (e.g., `poll` and `catch` calls).
- Remove unused or redundant dependency flags and align `package-lock.json` with new configuration.
2026-04-14 14:17:28 +02:00
Jeppe Bundgaard bbbad2c634 Remove dependency on the ws module.
Deleted the entire `ws` library and its associated files. This likely reflects a move away from the WebSocket library, possibly signaling an alternate implementation or unused/legacy code cleanup.
2026-04-14 13:45:15 +02:00
Jeppe Bundgaard a4676f8f87 Add e2e and unit tests for i18n coverage and POS workflows:
- Introduced i18n key usage validation with `tests/e2e/i18n.views.spec.ts` for deterministic locale coverage.
- Added `viewI18nKeyScanner` utility to scan and validate view translation keys.
- Created `PosDepartmentStep1` unit tests for duplicate warnings and booking selection flow.
- Enhanced POS mobile popup with `SelectOrderBookingPopupProps` and new header close options.
- Updated e2e tests with scenarios to verify booking selections, duplicate handling, and locale alignment.
- Added new `test:e2e:i18n:views` npm script for targeted i18n test execution.
2026-04-14 10:49:20 +02:00
Jeppe Bundgaard 0f37b0632a Add POS order booking modal and utilities with tests:
- Introduced `PosDesktopOrderBookingSelectorModal.vue` to streamline booking selection for desktop POS.
- Added `orderBookingDisplay.js` utility for handling booking display and reference value normalization.
- Created unit test `select-vehicle-form-pos.spec.js` to validate booking selection flow and registration matching.
- Implemented `run-playwright-ci-parallel.mjs` script to optimize Playwright CI with parallel testing.
- Updated styles and responsiveness for enhanced booking modal UX.
2026-04-13 21:12:34 +02:00
Jeppe Bundgaard 2969305dd5 Refactor POS desktop order workspace layout and add phone normalization utilities:
- Improved structure and layout in `PosDesktopOrderWorkspace.vue` with refined column handling and responsiveness.
- Added `resolveNormalizedPhoneNumber` utility in `POSDepartmentProcess.vue` for consistent phone number normalization across customer records.
- Updated e2e tests to validate layout changes and phone handling behavior.
- Upgraded Playwright to version 1.58.2 and adjusted related configurations.
- Ensured consistent formatting and added `postinstall` script for syncing Playwright root links.
- Strengthened POS customer rule tests with edge case validations for phone number objects.
2026-04-13 09:44:50 +02:00
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