-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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
feat: past and overlapping ooo #17373
feat: past and overlapping ooo #17373
Conversation
@Amit91848 is attempting to deploy a commit to the cal Team on Vercel. A member of the Team first needs to authorize it. |
Graphite Automations"Add consumer team as reviewer" took an action on this PR • (10/28/24)1 reviewer was added to this PR based on Keith Williams's automation. "Add community label" took an action on this PR • (10/28/24)1 label was added to this PR based on Keith Williams's automation. |
|
||
function Calendar({ | ||
className, | ||
classNames, | ||
fromDate, | ||
toDate, | ||
showOutsideDays = true, | ||
disablePastDates = true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would prefer this to be a minDate option (set by default to new Date()) - and nullable to allow all dates enabled.
Edit: This can be implemented to a minor tweak to the fromDate instead of introducing a new param.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changes looks correct to me, tested in local as well. Thank you @Amit91848
E2E results are ready! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pls add test to verify this
Recording.2024-11-18.132444.mp4Is something up with ooo page? I cannot load it and it straight up crashes the server without any error message. I have the latest pull from upstream |
nope, working for me |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All good, can you please add a test case for overlapping OOOs?
I'll check that |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!!
What does this PR do?
/claim [CAL-4631] allow OOO of the past and overlapping #17368
Screencast.from.2024-10-28.21-26-38.webm
Mandatory Tasks (DO NOT REMOVE)