Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Conditional Resource Grouping #2652

Conversation

almeidapaulooliveira
Copy link

This pull request introduces conditional resource grouping, enhancing the flexibility and customization of resource display in the calendar.

Addresses issue: #2008
Based on PR: #2609

Key Changes:

  • Introduced a new TimeGridHeaderResources component to render headers with grouped resources.
  • Updated the TimeGrid component to support resource grouping based on the resourceGroupingLayout prop.
  • Added the resourceGroupingLayout prop to the main Calendar component API.
    This allows users to configure resource grouping at the top level, providing greater control over calendar display.
  • Update Resource Example with Toggleable Grouping.

Visual demonstration:

Screen.Recording.2024-09-13.at.22.33.30.mov

@cutterbl
Copy link
Collaborator

@almeidapaulooliveira First pass review of this look really good. Only thing I see missing, at the moment, is a props story (under /stories/props) for the new prop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants