- Removed the .env file as it is no longer needed.
- Updated .gitignore to exclude .env.
- Enhanced AddProduct.vue to improve barcode input handling with a new inline button for lookup.
- Added styles for the new barcode input button in add-product.css.
- Refactored useAddProductForm to include debounce logic for barcode lookups and improved focus handling.
- Introduced constants for configuration values such as image size limits and debounce timings.
- Added unit tests for constants and barcode handling logic.
- Updated useEditProductForm to utilize new constants for image size validation.
- Updated viewport meta tag in index.html for better scaling on mobile devices.
- Added @buildyourwebapp/tauri-plugin-sharesheet dependency to package.json.
- Replaced tauri-plugin-share with tauri-plugin-sharesheet in Cargo.lock and Cargo.toml.
- Modified mobile capabilities to include sharesheet permissions.
- Updated lib.rs to initialize sharesheet plugin for mobile platforms.
- Refactored useStockManager to use shareText from sharesheet plugin instead of shareFile.
- Updated ClientId service to utilize sharesheet for sharing client IDs and improved clipboard fallback logic.
- Enhanced tests to reflect changes in sharing implementation and added new test cases for clipboard fallback scenarios.
- Added ToastHost component for displaying toast messages.
- Implemented toast service for managing success and error notifications.
- Integrated toast notifications into stock management and product editing workflows.
- Updated ClientIdModal to use toast notifications for user feedback.
- Refactored StockManager to remove status messages in favor of toast notifications.
- Added nightly cleanup service in the backend to manage stale data.
- Created migration script to add cleanup columns and indexes to the database.
- Enhanced tests for toast service and stock manager to validate new functionality.
- Implement tests for main application bootstrap in `main.test.ts`
- Create route tests to validate defined routes in `routes.test.ts`
- Add comprehensive tests for ClientId service in `ClientId.test.ts`
- Develop backend service tests to ensure correct API interactions in `backend.test.ts`
- Introduce notification service tests to verify notification handling in `notifications.test.ts`
- Implement product service tests to validate product management functionality in `products.test.ts`
- Add stock service tests to ensure stock management operations work as expected in `stocks.test.ts`
- Configure Vitest for testing environment and coverage thresholds in `vitest.config.ts`
* Add product editing functionality and enhance notifications
- Introduced EditProduct model and corresponding API endpoint for editing products.
- Updated product service to handle editing and notifications for expiring products.
- Enhanced mobile app to support product editing with a dedicated EditProduct component.
- Integrated haptics and notification plugins for improved user experience.
* cargo update
* Update dependencies in Cargo.toml and Cargo.lock; enhance .gitignore for Android keystore files
* chore: update dependencies and fix Cargo.toml
- Updated versions of various dependencies in package.json for mobile app:
- @tauri-apps/plugin-haptics to ~2.3.2
- @tauri-apps/plugin-notification to ~2.3.3
- vue to ^3.5.30
- vue-router to ^5.0.3
- @vitejs/plugin-vue to ^6.0.5
- vite to ^8.0.0
- vue-tsc to ^3.2.5
- @tauri-apps/cli to ^2.10.1
- Added 'libc' as a dependency in Cargo.lock for Tauri.
- Removed duplicate 'chrono' entry in Cargo.toml.
- Re-enabled the haptics plugin in the Tauri application initialization.
* update bun.lock and plugin
* refactor: improve notification handling and clean up unused code
* udpate workflow
* change notification time
* add ios
* remove ios part workflow