Fixed future filter date selection#28256
Conversation
fixes https://linear.app/ghost/issue/BER-3691/allow-next-billing-date-filters-beyond-2026 DayPicker limits year dropdown navigation to the current year by default, which prevented saved member report date filters from choosing future billing dates.
3185f2f to
d0c77c0
Compare
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughThe 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
What changed
dropdowntodropdown-months.Why
react-day-pickercaps year dropdown navigation at the current year by default when usingcaptionLayout="dropdown".Validation
pnpm --filter @tryghost/shade test -- filters.test.tsxpnpm --filter @tryghost/shade build