Commit Graph
100 Commits
Author SHA1 Message Date
Jeppe Bundgaard b7b19d1ad9 Add comprehensive documentation for Self-Serve Module.
- Describe architecture, domain models, eligibility rules, API endpoints, runtime status, and lane control.
- Include end-to-end examples for happy paths and failure scenarios.
- Provide PHP and Bash usage samples for integration.
- Add detailed flow diagrams and entity definitions for clarity.
2026-03-16 13:08:12 +01:00
Jeppe Bundgaard 16eb2730b8 Merge remote-tracking branch 'origin/master' 2026-03-16 13:07:51 +01:00
Jeppe Bundgaard 412339744f Introduce footer totals for department allocations:
- Add `buildDepartmentAllocationFooterTotals` utility to compute department footer totals, excluding customer prices from the total column.
- Update department allocation summaries to prioritize actual distributions for fixed and subscription amounts.
- Adjust distribution metrics calculation logic and related tests for consistency.
- Enhance footer visuals with clearly marked totals and accompanying notes.
- Expand `buildDepartmentAllocations` to properly account for totals in UI rendering.
- Update associated unit tests to cover footer totals and exclude customer price impacts.
2026-03-16 13:04:56 +01:00
Jeppe Bundgaard aba9f63788 Introduce department goal support in global search UI:
- Add department goal progress retrieval and display in visible result cards.
- Include progress bar, period, and metadata for department goals in the UI.
- Implement caching and lazy loading for department goal data to optimize performance.
- Extend unit tests to cover department goal overview functionality.
- Update translations for department goals in English, Danish, and German locales.
2026-03-16 09:28:32 +01:00
Jeppe Bundgaard cef7a38b0e Refactor global search UI and enhance keyboard navigation:
- Add "shouldBypassTextEntryForSystemSearchKey" utility for improved keyboard event handling.
- Implement "scrollSelectedResultIntoView" for precise result focus management.
- Remove grouped summary views and associated settings (e.g., "showGrouped").
- Refactor entity label resolution with "humanize" and "resolveEntityTypeLabel" utilities.
- Simplify result toolbar with a compact layout and improved accessibility.
- Expand locale updates for entity type translations in English, Danish, and German.
- Update unit tests for new navigation logic, label resolution, and result handling.
2026-03-13 14:01:51 +01:00
Jeppe Bundgaard b28b95d40f Add unit tests and keyboard navigation enhancements for system search UI:
- Add unit tests for result sorting, grouping, and keyboard state synchronization.
- Implement keyboard navigation improvements for selections and group/result highlighting.
- Update sidebar and result pane interaction with visual indicators and scroll handling.
- Refactor payload extraction logic for nested keys and improve related action routing.
2026-03-13 13:47:16 +01:00
Jeppe Bundgaard cc260cf6c3 Add sidebar and results keyboard navigation with visual indicators:
- Implement navigation pane switching and active selection states.
- Add visual markers for sidebar and result pane interaction.
- Display object IDs and restructure result footer for clarity.
- Extend unit tests to validate navigation and UI updates.
2026-03-13 13:09:22 +01:00
Jeppe Bundgaard 489a64d5ee Enhance global search with keyboard navigation and improved selection:
- Introduce keyboard navigation for sidebar and results, including pane switching and item selection.
- Add visual indicators for selected sidebar groups and results.
- Refine result sorting and grouping logic with utility methods.
- Update modal accessibility with focus management and keyboard event handling.
- Extend unit tests to cover keyboard navigation and UI state sync.
- Apply scoped styles for interactive states and selected elements.
2026-03-13 13:06:33 +01:00
Jeppe Bundgaard 2b3cf2010a Enhance global search functionality with shortcut support and extended result actions:
- Add double-shift keyboard shortcut for quick modal search access.
- Extend visible result cards with related targets and action handling for orders, departments, vehicles, and customers.
- Add tools for copying key identifiers like references and registrations to clipboard.
- Improve attachment handling with download actions and caching for order-related files.
- Update UI to include contextual action panels and accessibility improvements.
- Add additional unit tests for related targets and action handling.
2026-03-13 01:52:02 +01:00
Jeppe Bundgaard dfe8eaa882 Refactor global search UI and functionality:
- Enhance entity alias resolution with extended mappings and alias normalization.
- Add display labels, icons, created timestamps, and cancellation status to result cards.
- Update styles to highlight cancelled results and improve visual hierarchy.
- Expand i18n support for new labels in multiple locales, including `created`, `status`, and `cancelled`.
2026-03-13 00:50:54 +01:00
Jeppe Bundgaard 16baa28b85 Refactor global search UI:
- Replace `<b-tag>` components with simplified HTML elements for better control over styling and layout.
- Introduce utility methods and scoped styles for improved badge handling and consistent theming.
- Update group and result layouts to enhance readability and reduce visual noise.
- Remove unused imports for cleaner component structure.
2026-03-13 00:37:00 +01:00
Jeppe Bundgaard 96fdb4573d Refactor global search UI structure and styling:
- Introduce improved layout, with structured toolbars, responsive design, and grid-based result lists.
- Add scoped styles with consistent theming using CSS variables.
- Enhance accessibility and readability through defined interactive states and typography updates.
2026-03-13 00:29:03 +01:00
Jeppe Bundgaard 53ee2a0271 Correct casing and improve descriptions in Danish locale JSON for search-related UI labels. 2026-03-13 00:22:28 +01:00
Jeppe Bundgaard 93bf309626 Fix encoding issues and correct terminology in Danish locale JSON. 2026-03-13 00:17:54 +01:00
Jeppe Bundgaard 965e79e5f5 Expand system search support for new object types and aliases, improve routing logic, and add unit tests:
- Enhance alias resolution with expanded mappings for objects like `attachment`, `item`, `discount`, `task`, and more.
- Refactor navigation resolver logic for better routing of `department_variable` and attachment-like payloads.
- Add unit tests to ensure registry coverage, alias routing behavior, and fallback handling.
2026-03-13 00:16:58 +01:00
Jeppe Bundgaard bc62040670 Add inline editing functionality for advanced search results and update German locale translations:
- Introduce inline editor types for `order_item`, `customer_discount`, `customer_fixed_price`, `department_variable`, and `module_config`.
- Implement inline editing logic, including entity resolution, value validation, and API integration.
- Add "Edit" button for search result cards with permission checks.
- Update German translations for improved encoding and terminology consistency.
2026-03-13 00:16:38 +01:00
Jeppe Bundgaard e259b20548 Fix encoding and translation issues in Danish locale JSON. 2026-03-13 00:16:01 +01:00
Jeppe Bundgaard 3c4fdaeb3a Add Danish i18n translations for advanced system search, including UI labels, settings, actions, errors, and diagnostic tools. 2026-03-13 00:10:04 +01:00
Jeppe Bundgaard 024125ff1f Update German i18n translations to fix encoding and correct terminology. 2026-03-13 00:07:10 +01:00
Jeppe Bundgaard 77ecd5e656 Update German i18n translations to fix encoding and correct terminology. 2026-03-13 00:04:30 +01:00
Jeppe Bundgaard 843ab12ffa Update Danish i18n translations to fix encoding and correct terminology. 2026-03-13 00:04:25 +01:00
Jeppe Bundgaard d42fb2da18 Update Swedish i18n translations to fix encoding and correct terminology. 2026-03-12 23:58:55 +01:00
Jeppe Bundgaard 8b631898b2 Add unit tests for superuser-vehicle-analytics, superuser-vehicle-view, and advanced system search components:
- Cover query builders, data normalization, and analytics aggregations for vehicle view utilities.
- Validate route contracts, tab structure, and OpenAPI integration for `superuser-vehicle-view`.
- Test advanced search modal logic, route registration, registry compliance, and UI behavior.
- Ensure system search registry and navigation resolvers provide complete type coverage and fallback handling.
2026-03-12 23:57:01 +01:00
Jeppe Bundgaard 880031de1a Expand system search support to include users entity type:
- Add `users` to `SYSTEM_SEARCH_ENTITY_TYPES` and related navigation resolvers.
- Implement alias resolution for `users` and associated delegation strategies for search results.
- Extend support definitions, title/description keys, and navigation strategies for `users`.
- Refactor fallback handling and unknown entity resolution logic.
2026-03-12 23:49:40 +01:00
Jeppe Bundgaard 2977523d0b Update Swedish i18n translations to fix encoding and correct terminology 2026-03-12 23:49:30 +01:00
Jeppe Bundgaard 31c0aa739e Fix encoding and translation issues in English locale JSON:
- Replace invalid characters with standard ASCII equivalents.
- Correct translations for booking-related terms and general text.
- Update system configuration options and user-facing labels.
2026-03-12 23:40:02 +01:00
Jeppe Bundgaard 6c3e04e8b8 Update OpenAPI schema to include users resource in SystemSearchRequest 2026-03-12 23:34:16 +01:00
Jeppe Bundgaard 253dc1d357 Add unit tests for superuser-vehicle-analytics, superuser-vehicle-view, and advanced system search components:
- Cover query builders, data normalization, and analytics aggregations for vehicle view utilities.
- Validate route contracts, tab structure, and OpenAPI integration for `superuser-vehicle-view`.
- Test advanced search modal logic, route registration, registry compliance, and UI behavior.
- Ensure system search registry and navigation resolvers provide complete type coverage and fallback handling.
2026-03-12 23:10:20 +01:00
Jeppe Bundgaard bade01b92a Update i18n translations for Swedish locale to fix incorrect encoding issues. 2026-03-12 22:57:48 +01:00
Jeppe Bundgaard b1a2d4bcda Enhance NavigationMenuGlobalSearch with multi-page fetching and loading progress:
- Introduce multi-page result fetching for large data sets with progress tracking.
- Add progress bar UI to show loading status and fetched results count.
- Refactor offsets, pagination logic, and result grouping for improved scalability.
- Update UI elements and computed properties to handle enhanced result handling and pagination.
2026-03-12 22:13:41 +01:00
Jeppe Bundgaard a80422dab8 Add pagination to NavigationMenuGlobalSearch with b-pagination component:
- Replace previous offset-based navigation with paginated navigation.
- Adjust layout and styles for improved usability and flexibility.
- Refactor result handling to integrate pagination events and model updates.
2026-03-12 22:00:27 +01:00
Jeppe Bundgaard 70bba3f77c Refactor NavigationMenuGlobalSearch: add input focus handling, enhance entity type selectors with checklists, and improve responsive layout. 2026-03-12 21:46:53 +01:00
Jeppe Bundgaard a9972c5203 Expand NavigationMenuGlobalSearch with advanced filtering, grouping, and settings management:
- Add new entity types for enhanced filtering.
- Introduce result grouping, configurable settings, and group-specific visible results.
- Refactor sidebar and main panel for improved user experience.
- Enhance settings UI with pagination, filters, and manage tools.
2026-03-12 21:33:04 +01:00
Jeppe Bundgaard 4e65aad0fc Add Vehicle Analytics Chart component and utility functions:
- Implement `VehicleAnalyticsChart.vue` to support line/bar chart displays for vehicle data.
- Add `vehicleViewUtils.js` with reusable utility functions for data normalization, query building, and aggregation.
2026-03-12 21:20:51 +01:00
Jeppe Bundgaard 2a9a2ea93d Update OpenAPI schema to include additional resource types in SystemSearchRequest 2026-03-12 21:20:30 +01:00
Jeppe Bundgaard 5cd7598e7e Integrate advanced system-wide search feature:
- Implement an advanced search component with filters, grouped results, and caching capabilities.
- Add modal-based UI for user-friendly interaction.
- Enable cache management tools for superusers, including clearing and rebuilding caches.
- Update desktop navigation to include the new search functionality.
2026-03-12 21:10:39 +01:00
Jeppe Bundgaard d197f7f8cf Add system-wide search endpoints and integrate compare visibility filter:
- Add new search endpoints to OpenAPI schema with cache management functionality.
- Extend invoice distribution functionality with `compareVisibility` filter for result categorization.
- Update unit tests and UI components for compare visibility options.
2026-03-12 20:30:09 +01:00
Jeppe Bundgaard c97d5c09d7 Update i18n translations for Swedish, German, and Norwegian locales; refactor invoice distribution API with enhanced fallback logic for v2 split and legacy endpoints; and add unit tests for distribution methods and UI integration. 2026-03-12 19:53:52 +01:00
Jeppe Bundgaard 75b7aad56a Add unit tests for invoice distribution API, enhance v2 bulk comparison handling, and update UI/locale for customer price metrics. 2026-03-12 18:50:54 +01:00
Jeppe Bundgaard e1e3187d69 Add unit and e2e tests for superuser invoice distribution, update i18n translations, and implement distribution API/logic helpers. 2026-03-12 18:03:44 +01:00
Jeppe Bundgaard db2040570e Add superuser invoice distribution module:
- Integrate departmental distribution view with monthly breakdowns, filters, and metrics.
- Add support for comparisons, source blends, and allocation trends.
- Update i18n translations for English, Swedish, German, and Norwegian.
- Extend router with distribution-specific routes.
- Add unit tests for route mapping, tabs, and view integrations.
- Update e2e tests for API routes.
2026-03-12 17:34:26 +01:00
Jeppe Bundgaard 203123e73b Add invoicing billing period calculations module with sum, net amount, and view total functions; include comprehensive unit tests 2026-03-12 16:03:22 +01:00
Jeppe Bundgaard 80fcf8e4ce Add unit tests for invoice orders pagination, introduce safe items-per-page logic in list pagination, and refactor InvoicingBillingPeriod views for improved date handling and modularity. 2026-03-12 15:10:16 +01:00
Jeppe Bundgaard 4852a8cc6b Add unit tests for period view navigation, runtime view switching, and view existence checks; fix incorrect view keys in special arrangements and per-order views; extend global object setup in tests. 2026-03-12 14:39:08 +01:00
Jeppe Bundgaard e48c52a9b7 Add unit tests for superuser invoices route wiring, tabs, and API contracts; enhance calculations and logic in InvoicingBillingPeriodStatistics.vue; update OpenAPI schema with WeatherAPI and fixed pricing distribution functionality. 2026-03-12 14:24:12 +01:00
Jeppe Bundgaard 7c383a1663 Merge remote-tracking branch 'origin/master' 2026-03-12 11:29:02 +01:00
Jeppe Bundgaard 0ce9dc85ce Add tooltip and booked amount column to InvoicingBillingPeriodStatistics table 2026-03-12 09:35:21 +01:00
Jeppe Bundgaard 0d8de69fed Add unit tests for WeatherAPI module contracts and superuser wiring 2026-03-12 09:19:08 +01:00
Jeppe Bundgaard 4860e9bdef Add WeatherAPI config page 2026-03-12 09:06:55 +01:00
Jeppe Bundgaard 655bb622f5 Update OpenAPI schema:
- Make workspaceId and channelId parameters optional with fallback logic across multiple endpoints.
- Replace object schemas with $ref references for bird voice calls, numbers, and related responses.
- Introduce WeatherAPI endpoints (current, forecast, search) and department weather timeline functionality.
- Add WeatherAPI configuration endpoints and corresponding schema updates.
2026-03-11 14:32:06 +01:00
Jeppe Bundgaard 6695268b85 Refactor warnings in DatePeriodSelector.vue to replace custom HTML with b-message components; update CollectedOrderInvoices.vue tabs to use b-tabs and b-tab-item for better structure and styling. 2026-03-11 13:22:53 +01:00
Jeppe Bundgaard 5fa55e3a05 Update conditional rendering in InvoicingBillingPeriodStatistics.vue to include current view check for 'all'. 2026-03-11 12:57:27 +01:00
Jeppe Bundgaard f91089ebe0 Refactor InvoicingBillingPeriodStatistics.vue: add department totals calculation, enhance subscription and pricing views, improve font and color styling, and update conditional rendering logic. 2026-03-11 12:52:18 +01:00
Jeppe Bundgaard 1923b69f4a Enhance table styles in InvoicingBillingPeriodStatistics.vue: add striped, hoverable, bordered, and narrow classes for improved readability and presentation. 2026-03-11 08:50:23 +01:00
Jeppe Bundgaard 27a6207655 Adjust colspan in InvoicingBillingPeriodStatistics.vue for improved table alignment during loading state 2026-03-11 08:46:17 +01:00
Jeppe Bundgaard 79c63813b8 Enhance WhiteBox and WhiteBoxCard components: add border support and update layout with improved styles and hover effects. Adjust text and language labels in invoicing views. 2026-03-10 10:53:06 +01:00
Jeppe Bundgaard f3ecf7261a Add fixed pricing and subscription distribution views with API integrations and conditional rendering adjustments 2026-03-10 10:21:41 +01:00
Jeppe Bundgaard 1820532840 Add passkey login option 2026-03-09 10:59:10 +01:00
Jeppe Bundgaard 70038d5a4f Set dynamic document title using route metadata and i18n, and add convenience slot binding in PaginationDisplayGeneralSearchReload.vue. 2026-03-09 10:40:44 +01:00
Jeppe Bundgaard 8c3bd310a1 Specify iconPack attribute for consistent icon styling in LoadButtonWhileAwait.vue. 2026-03-09 10:26:08 +01:00
Jeppe Bundgaard 2f23b6ea75 Add Playwright test migration plan 2026-03-09 10:20:39 +01:00
Jeppe Bundgaard 721e942a12 Enhance link security in Orders.vue with noopener,noreferrer and add conditional slot rendering to ViewportResponsiveWrapper.vue. 2026-03-05 12:28:57 +01:00
Jeppe Bundgaard 15d1cd8558 Refactor LongPressListener to use computed props for safer reactivity and simplify MobileHeader path check logic with optional chaining adjustments. 2026-03-04 14:55:43 +01:00
Jeppe Bundgaard 88a2361ccc Increase mobile POS transaction history limit from 50 to 100 2026-03-04 11:08:42 +01:00
Jeppe Bundgaard bbedfbdf30 Refactor mobile POS steps: clear localStorage in tests, enhance vehicle type checks, improve safety seal handling logic, and adjust default wait timeout 2026-03-03 15:07:05 +01:00
Jeppe Bundgaard 9473a514da Refactor DepartmentGate and DepartmentRelay schemas: replace object types with explicit $ref definitions and add detailed configuration schemas 2026-03-03 12:27:25 +01:00
Jeppe Bundgaard 3691abd9a2 Add DepartmentGate and DepartmentRelay endpoints and schemas to OpenAPI spec 2026-03-03 12:03:36 +01:00
Jeppe Bundgaard dc84eaeac4 Hide version info from MobileNavigation footer 2026-03-03 10:28:50 +01:00
Jeppe Bundgaard de408403b2 Update superuser navigation menu: remove XLVASK module, add BIRD module 2026-03-03 10:01:40 +01:00
Jeppe Bundgaard 2f9326874b Refactor booking and product logic in Step 2: replace applyPendingBookingFromSelection with initializeStepTwo, unify booking selection methods, and add fallback handling for wash products. 2026-03-02 17:05:29 +01:00
Jeppe Bundgaard 601ab3db04 Merge remote-tracking branch 'origin/master' 2026-03-02 17:02:57 +01:00
Jeppe Bundgaard 430bc35fe9 Add conditional rendering for vehicle type selection in MyWashStart component 2026-03-02 16:41:34 +01:00
Jeppe Bundgaard f0fe848250 Improve task buttons collection and dynamic image handling in MyWashStart 2026-03-02 16:28:19 +01:00
Jeppe Bundgaard 927d66755f Refactor MyWashStart dynamic image handling with lane checks and error handling improvements 2026-03-02 16:09:02 +01:00
Jeppe Bundgaard aa38bc0c43 Fix task completion check in MyWashStart to skip completed tasks when gathering unique buttons 2026-03-02 15:58:14 +01:00
Jeppe Bundgaard 675481672c Add dynamic machine UI with step-based tasks and image rendering to MyWashStart component 2026-03-02 15:54:06 +01:00
Jeppe Bundgaard 55eac9e1f3 Add buttons editing modal and functionality to SelfServeTasksTable component 2026-03-02 15:19:43 +01:00
Jeppe Bundgaard 18ab5cb449 Remove redundant 'permissions' field from logout navigation item 2026-03-02 14:47:12 +01:00
Jeppe Bundgaard f8faf6ec5c Add dynamic image placeholders to MyWashStart self-wash component 2026-03-02 13:44:10 +01:00
Jeppe Bundgaard 187b0c5984 Refactor self-serve warning to use notification with icon and updated styling 2026-03-02 13:39:20 +01:00
Jeppe Bundgaard 18ae74012c Add conditional rendering for self-serve steps based on department selection 2026-03-02 13:27:48 +01:00
Jeppe Bundgaard 8e7be044cc Add self-serve support for departments and localized warning for staffed hours 2026-03-02 13:25:40 +01:00
Jeppe Bundgaard ac940ecf91 Add self-serve availability check and warning message for staffed hours 2026-03-02 13:21:50 +01:00
Jeppe Bundgaard 95e9283236 Fix self-serve toggle error handling by reverting to current status on failure 2026-03-02 13:14:34 +01:00
Jeppe Bundgaard 892c786a85 Add responsive language selector with desktop buttons and mobile dropdown 2026-02-27 05:39:08 +01:00
Jeppe Bundgaard c071ba0ebe Add test connection functionality and new input fields for Bird API configuration 2026-02-27 03:12:37 +01:00
Jeppe Bundgaard 6c2b2b7d96 Enhance OpenAPI documentation for configuration endpoints with detailed success messages and add Bird configuration endpoints 2026-02-27 01:58:03 +01:00
Jeppe Bundgaard 78587485df Add API endpoints for test outbound calls and number management 2026-02-27 01:29:18 +01:00
Jeppe Bundgaard 21861bf48b Add goal period calculations and update progress display for improved clarity 2026-02-27 00:53:40 +01:00
Jeppe Bundgaard 35b4f22f2e Refactor tooltip styles for goal progress to improve clarity and consistency 2026-02-27 00:49:07 +01:00
Jeppe Bundgaard b257ebbabd Enhance tooltip for department goal progress by improving styling and positioning 2026-02-27 00:47:42 +01:00
Jeppe Bundgaard e50a288be8 Enhance DepartmentGoal schema by adding date range fields and improving progress descriptions 2026-02-27 00:46:14 +01:00
Jeppe Bundgaard 6989e38e14 Refactor departmental progress target calculations to use consistent timeframe references and improve clarity in goal tracking 2026-02-27 00:44:58 +01:00
Jeppe Bundgaard adb2b90e2a Add department target unit selection and adjust target calculations for weekly inputs 2026-02-27 00:37:40 +01:00
Jeppe Bundgaard 5af10afcfa Enhance departmental goal tracking by adding yearly and to-date progress calculations 2026-02-27 00:31:24 +01:00
Jeppe Bundgaard 3ac7980d41 Round progress and target values in DepartmentGoals component for improved display accuracy 2026-02-27 00:07:24 +01:00
Jeppe Bundgaard b5c0875a6f Add image compression for LPR processing and update parsing logic 2026-02-27 00:00:48 +01:00
Jeppe Bundgaard b8deec06ae Update button IDs and API URL
- Added IDs to buttons in `NewBookingStep5.vue` for better UI automation.
- Removed IDs from buttons in `MyBookingsBook.vue`.
- Updated API URL from `truckwash.dk` to `truckwash.io`.
- Disabled service worker `devOptions` in `vite.config.js`.
2026-02-25 17:25:15 +01:00
Jeppe Bundgaard 745d0787ab Add timeframe selection and improve goal progress calculations in DepartmentGoals.vue
- Introduced timeframe selection tabs for viewing goals by different periods.
- Updated `getGoalProgress` and department progress calculations to incorporate selected timeframe.
- Enhanced goal progress display to reflect accurate departmental and overall progress based on current timeframe.
2026-02-25 15:41:01 +01:00
Jeppe Bundgaard 732707cc7e Refine goal progress calculation in DepartmentGoals.vue
- Updated `getGoalProgress` to use `all?.count` and `all?.target` properties for enhanced accuracy.
- Improved department progress display with detailed progress attributes.
2026-02-25 15:05:47 +01:00