Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: enhance Worksite Calendar and Scheduling features (#1331)
- **Add new icons**: Integrate `calendar-list` and `calendar-map` icons to improve calendar UI. - **Extend size options**: Include new `base` size across UI elements, styling, and their functionalities in BaseIcon.vue. - **Refactor WorksiteCalendar**: Replace individual navigation icons with `WorksiteNavigationIcons` component and reorganize the worksite action panel. - **Improve forms**: Introduce a tabbed UI for WorksiteForm to separate "Add/Edit" and "Case Information" views. - **Schedule management**: Implement inline add/edit scheduling with dialog-based functionality. Support selection of start/end dates, work types, teams, and time schedules for worksites. - **Dynamic view routing**: Utilize query params (`view`) to control and persist Calendar views (map, list, or calendar). - **Config updates**: Update calendar locale and day boundaries to dynamically adapt based on user setup. - **Dependency updates**: Upgrade packages to include `@schedule-x/scroll-controller` for improved scheduling scroll. - **UI tweaks**: Enhance button styles, expand functionality for `AddFromList.vue`, and optimize AddScheduleDialog layout for worksite and schedule forms. This commit modernizes the scheduling and calendar navigation UI while allowing more flexible scheduling capabilities, improving efficiency and user experience.
- Loading branch information