react-notion-x
react-notion-x copied to clipboard
Calendar collection view
New Features
- Sun-Sat or Mon-Sun week view
- Show or hide calendar controls (
showCalendarControls: boolean) - Decide to start the weeks on Monday or Sunday (
startWeekOnMonday: boolean) - Automatic query from Notion's calendar collection
- Automatic full-width for database pages with calendar collection views
Description
Adding full support to the Notion calendar collection view, which lacks support in react-notion-x
Notion Test Page ID
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| react-notion-x | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Oct 1, 2023 4:41pm |
| react-notion-x-minimal-demo | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Oct 1, 2023 4:41pm |
Deployment failed with the following error:
The most recent charge for your active payment method has failed. Please update it here: https://vercel.com/teams/saasify/settings/billing.
@transitive-bullshit @normdoow
Everything on my to-do list is checked, and ready for PR review!
With this PR, calendar collection view is fully integrated into react-notion-x.
@MichaelCasaDev going to try to take a look at this later this week. Thanks!
@MichaelCasaDev going to try to take a look at this later this week. Thanks!
How is going the PR review? Still waiting to get approved...
Hey @transitive-bullshit and @normdoow I have been away for a long time from this repo and from this PR but I'm happy to say that I have made some new commits that fix your reviews and also set some features:
- Now support all types of page icons
- Can have multiple blocks per day
- New method to generate weeks in month (simpler and faster)
Edit: It doesn't currently support date range and include time functions of Notion, it wouldn't render the page block or the displayed data will be something strange.
Is there anything outstanding to merge this one in?
Is there anything outstanding to merge this one in?
Hey @kantorcodes thanks for commenting, I've to say that I've let this PR open and didn't actually take care of. The calendar view is one of the most complex that Notion has, and for the moment it's working very well on my test deployment. I will let this be reviewed in some weeks (at the moment it doesn't support all the features that it has on Notion or on Super.so but it's working quite well)
Is there anything outstanding to merge this one in?
Hey @kantorcodes thanks for commenting, I've to say that I've let this PR open and didn't actually take care of. The calendar view is one of the most complex that Notion has, and for the moment it's working very well on my test deployment. I will let this be reviewed in some weeks (at the moment it doesn't support all the features that it has on Notion or on Super.so but it's working quite well)
Thanks @MichaelCasaDev it'll be suburb to have this added in :)
cc @transitive-bullshit
Hey @transitive-bullshit would love to see this one approved! :)
Hey @transitive-bullshit Could you pelase merge this one this is the 1 which remain from notion block