[Schedule] Would you consider a custom date range for ResourcesMonthView? #9081
redr2e
started this conversation in
Feature requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Thanks again for
@mantine/schedule. Following on from #9080, there is one other thing that would make the resource views a really good fit for us.At the moment
ResourcesMonthViewalways shows exactly one calendar month: thedateprop is snapped to the start of the month, and the columns run to the end of it. Our planning board does not line up with month boundaries. What our schedulers ask for most is a rolling window, something like three weeks starting today, or a range running from mid August to mid October so they can see a booking that straddles the boundary without flicking between two months.Two other views we would love to build have the same shape. One is a quarter overview, and the other is a per project timeline where the range is simply however long that project runs.
Something alongside
datewould cover all three, for example:A
range={{ start, end }}object would work just as well if that reads better to you.I had a poke around the source out of curiosity, and the layout looks like it already works off the generated list of day columns rather than off the month itself, so this may be a smaller change than it sounds. Hiding weekend days already produces a list of columns with gaps in it, which feels like the same idea.
Completely understand if a fixed month is a deliberate simplification, and I saw that wider timeline ranges were turned down back in #1138. Very happy to put together a PR if that would be useful.
All reactions