Commit Graph
53 Commits
Author SHA1 Message Date
Jeppe Bundgaard fb0fceb6c4 Add booking count permission checks and handle API response failures gracefully 2026-06-08 15:26:57 +02:00
Jeppe Bundgaard 0afde8ac8e Add support for webmanifest files in .htaccess and nginx configuration 2026-06-08 13:11:21 +02:00
Jeppe B 814c535757 Use relative release manifest asset paths 2026-06-03 23:13:26 +02:00
Jeppe Bundgaard af5514c982 Implement dynamic base path handling for frontend assets and update routing logic 2026-06-03 22:00:18 +02:00
Jeppe Bundgaard 3b51374678 Add dynamic release frontend base path handling and update static asset references 2026-06-03 21:44:27 +02:00
Jeppe Bundgaard c5fcb90683 Include emitted chunks in release manifest 2026-06-03 21:12:08 +02:00
Jeppe B 3b90e17a1e Secure Vite API proxy TLS by default 2026-06-01 21:09:05 +02:00
Jeppe B 52ed49211a Fix frontend release gate for Coolify deploys 2026-05-30 15:39:03 +02:00
Jeppe Bundgaard 625757fafc Fix Danish translations and enhance mobile department auto-selection logic 2026-05-27 17:34:51 +02:00
Jeppe Bundgaard c437c89cfa Add release management enhancements, runtime-aware frontend updates, and extensive test coverage
- Implement release update detection, asset preloading, and frontend version management.
- Add unit and E2E tests for release update workflows, widget behavior, and failure scenarios.
- Introduce new services for handling release ping, error reporting, and update installation workflows.
- Extend i18n for release-related components and error report localization.
- Add `ReleaseFrontendVersionBadge.vue` and related styles to display frontend update statuses.
2026-05-27 13:23:22 +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 eaf4b965d5 Add runtime support for service sets, release management enhancements, and new unit tests
- Extend `releaseTimeline.js` and related modules for runtime-aware service sets and URLs.
- Update the release session builder to include `service_set` handling.
- Introduce release service definitions, status tones, and enhanced runtime display text.
- Add new dataset mode options, preview rows, and warnings for release configurations in `ConfigurationReleaseManager.vue`.
- Implement extensive utility methods for data service handling, target context, and deployment endpoints.
- Add `vite-api-proxy.spec.js` and extend `release-bootstrap.spec.js` to ensure coverage for new functionality.
2026-05-21 11:41:50 +02:00
Jeppe Bundgaard 130cc2fc10 Add release runtime bootstrap implementation with unit and E2E tests
- Create `releaseBootstrap.js` service to handle runtime configuration and remote frontend loading.
- Integrate runtime-aware API URL resolution across components and services.
- Update i18n phrases to clarify new domains for `ssl_domain_message`.
- Enhance unit and E2E tests to validate runtime-based frontend loading and fallback behavior.
- Refactor session-related API calls and incorporate runtime-configured base URLs.
2026-05-20 11:26:21 +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 fba85a72c1 Refactor pagination components to use provide and usePaginatedList, optimize fast link handling with queuing and concurrency limits, and update XLVask content generation logic and caching. 2026-05-12 15:03:03 +02:00
Jeppe Bundgaard da65876a64 Add responsive tests for "/qr/new-customer" layout, extend API with split_by_month logic, and update E2E/admin tests with session mocking and department sync fixes. Normalize POS department handling, improve invoicing period split logic, and enhance receipt export safety. 2026-05-06 14:14:34 +02:00
Jeppe Bundgaard a15d6841c5 Add task attachment management to Self-Serve Studio. Extend graph, path outcomes, and flow logic. Update E2E/unit tests with attachment creation, upload, download, deletion flows, and related validations. 2026-04-29 14:41:29 +02:00
Jeppe Bundgaard 326cf45040 Improve edge gateway styling, enhance relay management logic, and expand E2E tests with new diagnostics and onboarding scenariosEnhance edge gateway UI styling, refine relay bindings management, introduce transport diagnostics, and update E2E tests with new scenarios. 2026-04-23 14:47:55 +02:00
Jeppe Bundgaard 3dab2fa901 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	src/features/edgeGateways/EdgeGatewayManager.vue
#	tests/unit/edge-gateway-service.spec.js
#	tests/unit/edge-gateway-workflow-helpers.spec.js
#	tests/unit/edge-gateway-workspace.spec.js
#	vite.config.js
2026-04-23 14:34:21 +02:00
Jeppe Bundgaard 3a4cdbaeb9 Expand edge gateway workspace and streamline app loading 2026-04-23 13:33:12 +02:00
Jeppe Bundgaard f111541056 Restore Vite dependency discovery for Playwright 2026-04-23 13:21:59 +02:00
Jeppe Bundgaard 4ef59b0355 Replace vue-toast-notification with custom useAppToast across components and enhance Edge Gateway installer state management. 2026-04-23 11:07:12 +02:00
Jeppe Bundgaard 50190da52f Revise QR code generation library, enhance POS flow, and update Edge Gateway management views and tests 2026-04-23 10:48:08 +02:00
Jeppe Bundgaard fc26e12013 Remove configuration cache problems report 2026-04-23 10:32:08 +02:00
Jeppe Bundgaard 7efa9f172c Introduce Edge Gateway management pages and implement WebSocket session handling 2026-04-23 09:00:43 +02:00
Jeppe Bundgaard 00151ec237 Add unit tests and e2e coverage for POS mobile add-customer autofill functionality:
- Added unit tests for `applyPosAddCustomerSearchResult` to handle autofill field updates, manual overrides, and stale response rejection.
- Implemented a new e2e scenario for preserving manual edits during autofill updates and ignoring stale delayed responses.
- Refactored `mobilePos.js` fixture setup to include CVR search and customer registration mock logic.
- Added and integrated `PosDesktopCustomerConflictModal.vue` for UI handling of customer conflicts.
2026-04-15 08:56:30 +02:00
Jeppe Bundgaard bf7c01ce25 Update Vite SCSS config: enable quietDeps and expand silenceDeprecations list 2026-04-14 17:30:39 +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 828e2fd312 Add test cases for internationalization, orders table rendering, and error handling:
- **Internationalization:** Added end-to-end test `i18n.smoke.spec.ts` to validate Danish locale translations. Ensured normalization and removed unexpected strings in the `da` locale file.
- **Orders Table:** Created unit test `orders-table.spec.js` to verify sparse data handling, invoice collection preloading, and rendering correctness.
- **Error Handling:** Enhanced connectivity issue UI (`ConnectivityIssue.vue`) with `data-testid` attributes for improved testability.
- **E2E Playwright Tests:** Updated and simplified e2e test utilities. Replaced `seedAuthenticatedState` with `primeMockSession` for session preparation. Added new tests for `/user/orders` and `/user/invoices` pages focusing on edge cases and maintaining structure consistency.
2026-04-13 12:44:06 +02:00
Jeppe Bundgaard 8db78ec937 Clean up service workers and caches in development mode:
- Add `unregisterDevServiceWorkers` utility to remove service worker registrations and stale caches during development.
- Disable service worker registration injection in `vite.config.js` for non-production environments.
2026-03-19 11:30:35 +01:00
Jeppe Bundgaard d3ed03a4a1 Refactor Self-Serve progress and department header components:
- Consolidate progress display logic into `SelfServeDepartmentHeader.vue` for better reusability.
- Remove redundant progress headers and styles in `MyWashStart.vue` and `SelfServeTasksStep.vue`.
- Update scoped styles in `SelfServeTasksStep.vue` and `SelfServeDepartmentHeader.vue` to improve layout and readability.
- Fix API URL in `vite.config.js` for version update endpoint.
2026-03-18 14:35:42 +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 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
gold-dev 6e02618a38 Feat: Slides 1-2 2026-01-20 13:27:35 +02:00
Jeppe Bundgaard 429709e270 Handle error in version update API call in vite.config.js
- Added `try-catch` block to gracefully handle errors when calling the server API.
- Improved logging for both success and failure cases to aid debugging.
2026-01-05 11:20:32 +01:00
Jeppe Bundgaard 7f511dd205 Add project guidelines document and adjust VITE_COMMIT_HASH handling
- Introduced `.junie/guidelines.md` to outline project setup, code conventions, and structure.
- Updated `env.d.ts` and `vite.config.js` to standardize `VITE_COMMIT_HASH` usage.
2026-01-05 11:15:48 +01:00
Jeppe Bundgaard d1446f1435 "Fix update-version endpoint URL by removing incorrect port specification in Vite configuration." 2025-12-01 15:22:28 +01:00
Jeppe Bundgaard 933eba04aa "Introduce version check mechanism with notifications for updates; enhance Vite build process for automated server update handling." 2025-12-01 14:59:56 +01:00
Jeppe Bundgaard 5bdd774849 "Hide customer and additional items sections in PosDepartmentStepMobile2 using v-show directive. Update app branding: rename app to 'Truck Wash' in vite.config.js. Add and update favicon assets for new branding." 2025-11-17 17:20:05 +01:00
Jeppe Bundgaard 7ea0c19caf "Update app branding in vite.config.js: change app name, short name, and description to 'Truck Wash.io'." 2025-11-17 15:26:58 +01:00
Jeppe Bundgaard 0a4aa5863a "Replace hardcoded transaction labels with dynamic values from SessionUser and integrate VITE_IS_DEV environment configuration"
- Updated placeholders and labels in transaction-related templates to use dynamic values from `SessionUser` for better localization support.
- Refactored `IS_DEV` to use `VITE_IS_DEV` environment variable in `main.js` and build scripts for better configuration management.
2025-10-07 15:54:05 +02:00
Jeppe Bundgaard 6b03853df7 Fix comment grammar in vite.config.js for clarity 2025-10-07 09:38:49 +02: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 2fd510c682 Refactor invoice management components and PWA configuration:
- Updated `vite.config.js` to use an absolute base path for PWA manifest alignment.
- Removed unused imports and components for cleaner `collectedOrderInvoice` views.
- Fixed invoice data mapping by updating `raw_data.objects` to `raw_data.orders`.
- Enhanced user feedback with error handling modal in `collectedOrderInvoiceManageEconomic.vue`.
2025-09-02 15:53:24 +02:00
Jeppe Bundgaard fb19f12ffe Refactor vite.config.js:
- Introduced `mode` parameter to enable environment-specific logic.
- Enhanced service worker caching rules with updated expiration settings, API handling, and improved static asset matching.
- Improved PWA configuration for relative base paths and manifest alignment.
- Added conditional plugin usage for `viteSingleFile` and `vueDevTools`.
- Streamlined build environment variables and import.meta.env setup.
2025-09-01 15:48:52 +02:00
Jeppe Bundgaard f2bfef3c88 Improve print invoice flow and caching strategy:
- Simplified print dialog logic in `PrintInvoiceFromOrderItems.vue` using dynamic URL-based receipts and onload handling.
- Enhanced service worker caching configuration in `vite.config.js` with specific caching rules for assets, API responses, images, and HTML files.
- Updated `ViewportHeader.vue` with visibility toggle and responsiveness improvements.
- Adjusted camera capture delays in `PosDepartmentStepMobileFlow.vue` for better user experience.
- Refactored department order views to manage display states for print receipt mode.
2025-08-28 14:07:32 +02:00
Jeppe Bundgaard 8accdc51f1 Add build metadata and version display:
- Integrated build date, version, and commit hash generation in `vite.config.js`.
- Enhanced `MobileNavigation.vue` to display build metadata and development mode info.
- Added type definitions in `env.d.ts` for environment variables.
2025-08-28 08:29:22 +02:00
Jeppe Bundgaard 56343103c3 Enhance mobile POS functionality:
- Add `PosDepartmentStepMobileFixedBottomControl.vue` for consistent bottom control layout.
- Implement overflow control in `ViewportHeaderSettings.vue` with `isOverflowVisible`.
- Enhance `PosPopup.vue` with `defineComponent` and dynamic popup content.
- Add scroll prevention for mobile scanning views in `PosDepartmentStepMobile1.vue`.
- Improve registration number UI in `PosDepartmentStepMobile1RegistrationNumbers.vue`.
- Refactor service worker updates and PWA behavior in `main.js`.
- Update routing default path in `router.js`.
- Improve scanner UI in `ScannerOutline.vue` with responsive dimensions.
2025-08-26 14:39:40 +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