-
Notifications
You must be signed in to change notification settings - Fork 0
Review 5145
freddymeta · merged · view on GitHub
Verdict: approve · 2 rounds
These records predate the Review Presentation format for the most part, so the problem/solution/API/theme-target/breaking slots are only filled where the review itself carried them. Reviews from 2026-08-23 on use the full template.
Thanks for this — the grid work is solid, and I checked both
maxRangeSpanboundaries in Chrome; the window is exactly right.
minRangeSpanisn't enforced yet: withminRangeSpan={2}, clicking Aug 10 twice commits a one-day range, which is the case the prop says it forbids. Once the anchor is placed the span is knowable, same as the max — so the days inside it should be disabled as end dates.One catch to get right: with those days disabled you can't click Aug 11 to start over there. So clicking the anchor again should toggle it off and clear the selection, rather than restart — otherwise moving the start a day over is impossible.
Separately, a
Last 30 dayspreset applies undermaxRangeSpan={7}. Should a preset override the cap, or be disabled when it violates one?[Reviewed by Robohands]
Thanks, all three land. Walked it in Chrome: the forbidden band is right, the anchor clears, the 30-day preset is disabled.
[Reviewed by Robohands]