- Replaced the existing canvas-based particle rendering with a WebGPU implementation for improved performance and visual quality.
- Updated the PocketBase authentication handling to prevent server-side rendering hangs when the auth cookie is absent or invalid.
- Enhanced cookie management in the logout process to ensure secure handling based on the request protocol.
- Added the `typegpu` dependency to support the new rendering approach.
- Introduced the `ParticlesBackground` component to enhance the visual experience in the layout.
- Updated the header rendering logic to conditionally display based on the browser environment, ensuring compatibility with server-side rendering.
- Reorganized and standardized scope options in `+page.svelte` and `+server.ts` files to improve clarity and consistency.
- Removed duplicate and inconsistent entries, ensuring a uniform list of scope options for better usability in the application.
- Updated scope names in multiple files to use consistent terminology, changing 'Scarp & Paper', 'Sand & Mask', and 'WT & Cleanup' to 'Scrap', 'sanding', 'masking', and 'cleanup'.
- Ensured uniformity in scope options for better clarity and usability in employee management features.
- Introduced a new `Scopes` field in the `EmployeeRecord` interface to categorize employee scopes.
- Implemented scope filtering in the employee listing, allowing users to filter by various scopes.
- Enhanced employee detail and edit views to manage employee scopes with checkboxes.
- Updated API endpoints to support scope data during employee creation and updates.
- Adjusted UI components to display employee scopes in lists and detail views.
- Introduced a new `Type` field in the `EmployeeRecord` interface to categorize employees as 'Employee', 'Sub-Contractor', etc.
- Updated forms and tables in Svelte to include type selection and display.
- Enhanced API endpoints to support filtering employees by type in search queries.
- Implemented type filtering buttons and a dropdown in the employee management interface for improved user experience.
- Introduced a new `Sentiment` field in the `EmployeeReportRecord` interface to capture report sentiment as 'Positive', 'Negative', or 'Neutral'.
- Updated the report creation and editing forms in Svelte to include a sentiment selection dropdown.
- Enhanced API endpoints to handle sentiment data during report creation and updates.
- Adjusted the display logic to show sentiment information in the report details.
- Added functionality to toggle dark mode based on user preferences, with state management and API integration for saving settings.
- Introduced a user avatar display with initials fallback and a dropdown menu for logout and dark mode options.
- Enhanced layout structure to conditionally render the header based on user authentication status.
- Modified the deployment command in the CI workflow to use 'bash -lc' for improved execution context.
- Updated the pm2 restart logic to include the '--update-env' flag for better environment variable handling during application restarts.
- Upgraded '@sveltejs/adapter-node' from version 5.2.0 to 5.5.3 in package.json for better compatibility.
- Added new Rollup plugins: '@rollup/plugin-commonjs', '@rollup/plugin-json', '@rollup/plugin-node-resolve', and '@rollup/pluginutils' in bun.lock to enhance build capabilities.
- Included additional dependencies such as 'commondir', 'is-core-module', and 'is-module' for improved functionality.
- Switched from '@sveltejs/adapter-auto' to '@sveltejs/adapter-node' in svelte.config.js for better environment support.
- Added '@sveltejs/adapter-node' as a dependency in package.json to ensure compatibility.
- Added a check to ensure the build directory exists before proceeding with deployment.
- Updated the artifact copying process to conditionally include the appropriate lock file.
- Improved logging by listing files in the deploy directory for better visibility during CI runs.
- Changed the container image from Ubuntu 22.04 to Node.js 20-bookworm in the CI workflow.
- This update aims to enhance the environment for running Node.js applications during CI processes.
- Added a container specification for Ubuntu 22.04 to the CI workflow.
- Included a step to install curl and ca-certificates for improved dependency management.
- Simplified the installation commands by removing 'sudo' for apt-get operations.
- Added support for manual workflow dispatch in the CI configuration.
- Updated environment variables for deployment, including APP_PORT and DEPLOY_PATH.
- Streamlined deployment steps with SSH setup and rsync for artifact transfer.
- Improved application restart logic on the server using pm2 or systemctl.
- Removed unnecessary artifact upload and download steps to simplify the workflow.
- Changed the artifact upload and download actions from v4 to v3 for compatibility.
- Ensured the CI workflow remains efficient while maintaining functionality.
- Introduced a new "start" script in package.json to run the built application.
- Updated the CI workflow to include environment variables for deployment.
- Added steps for uploading build artifacts and deploying to a server using sshpass.
- Configured the deployment process to ensure the application runs on the specified port.
- Updated the CI workflow to utilize the Bun container image for consistency.
- Simplified the dependency installation step by using the `--frozen-lockfile` option.
- Disabled the type check step temporarily until component types are resolved.
- Replaced the Bun setup action with a script to install Bun and update the PATH.
- Ensured Bun's binary directory is added to the GitHub environment for subsequent steps.
- Enhanced employee search functionality with improved pagination and loading logic.
- Refined toast notification integration using svelte-sonner for better user feedback.
- Updated employee detail view for improved navigation and UI interactions.
- Integrated svelte-sonner for toast notifications in the layout.
- Implemented server-side search for employees with pagination in the API.
- Updated employee loading logic to support search queries and loading more results.
- Enhanced employee detail view with navigation and improved UI interactions.
- Adjusted cookie handling in hooks for PocketBase authentication.