Skip to content

[scheduler][joy] Allow to group events by "resource" #17718

Open
@flaviendelangle

Description

@flaviendelangle

Follow up on #17695 (the logic should also apply to any other view created so far)

In this PR:

  • Add a new property on the event model (something like resourceId?: number) to define to which resource the event belongs (would be the ID of the Agenda in Google Calendar for instance)
  • Add a new resources?: SchedulerResource[] prop to define stuff like the event color or the name of the resource
  • Allow to set a color per resource and render the event with the right background.
  • Allow to edit the resource on an event if [scheduler][joy] Add event editing inside a popover / drawer #17704 is merged (this field should be customizable in the future because depending on the kind of data the resource represent, you don't want to label it "Resource").

Not in this PR:

Google Calendar (Event Calendar):

Image

Bryntum (Event Calendar):

Image

MobiScroll (Timeline):

Image

MobiScroll (Event Calendar):

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: schedulerThis is the name of the generic UI component, not the React module!designThis is about UI or UX design, please involve a designernew featureNew feature or requeston holdThere is a blocker, we need to wait

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions