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