mattlewis92 / angular-calendar

A flexible calendar component for angular 15.0+ that can display events on a month, week or day view.
https://mattlewis92.github.io/angular-calendar/
MIT License
2.72k stars 863 forks source link

Add a default resource view compatible with angular 13 to 15+ #1736

Open jeandonaldroselin opened 1 month ago

jeandonaldroselin commented 1 month ago

Is your feature request related to a problem? Please describe

The calendar library currently offers three versatile views: Month, Week, and Day. These views are excellent for most scheduling needs. However, there is an opportunity to expand the library's functionality by introducing a view that specifically caters to resource management. This could enhance the user experience by providing a more tailored way to visualize and manage appointments or events based on specific resources, ensuring a clear and efficient overview of resource allocation.

Describe the solution you'd like

I suggest adding a "Resource View" to the calendar library. This view would display resources as rows on the left side, with the days of the week as columns across the top. At each intersection, users would see the scheduled appointments or events for that particular resource on a given day. This would provide a streamlined and intuitive way to manage resource allocation across a week, complementing the existing views and offering users a broader range of scheduling options.

Describe your use case for implementing this feature

The Resource View would be particularly valuable in scenarios where managing the schedules of technicians or service personnel is crucial. For example, in a company that dispatches technicians to various client sites for repairs or maintenance, the Resource View would allow managers to easily see which technicians (resources) are assigned to specific jobs on any given day. This would facilitate the efficient allocation of personnel, ensuring that each technician's time is optimized and that no overlapping appointments occur. By providing a clear overview of assignments, this feature would help in coordinating field operations smoothly and effectively.

Additional context

This feature could be implemented in a way that aligns with the existing structure of the library, using familiar components. The Resource View would be an evolution of the Week view, adapted to prioritize resources as the primary organizing element. This addition would make the library even more flexible and useful across different contexts, potentially attracting a wider audience without introducing complexity.

WIP preview

I am currently developing this resource view, it will be very basic but developers can override the template to fit to their specific needs :

image
matts-bot[bot] commented 1 month ago

Thanks so much for opening an issue! If you'd like to support this project, then please consider sponsoring me