Skip to content

[scheduler][styled] Allow to control the enabled views #17705

@flaviendelangle

Description

@flaviendelangle

Follow up on #17695 and #17696

By default, the "Week", "Day", "Month" and "Agenda" (also named "List" or "Planning") views should be enabled.
But the user should be able to disable some of those views.

In this PR:

  • Create a new prop to define the enabled views
  • Adapt the UI to correctly hide any non-needed view switch

Not in this PR:

  • The ability to add custom views
  • The ability to tree-shake the unused views (will be important in the future)

Metadata

Metadata

Labels

scope: schedulerChanges or issues related to the scheduler producttype: new featureIntroduces a new piece of functionality or capability.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions