- 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.