react-notion-x icon indicating copy to clipboard operation
react-notion-x copied to clipboard

Calendar collection view

Open MichaelCasaDev opened this issue 3 years ago • 12 comments
trafficstars

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

Page with a calendar view component

MichaelCasaDev avatar Sep 08 '22 15:09 MichaelCasaDev

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

vercel[bot] avatar Sep 08 '22 15:09 vercel[bot]

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.

vercel[bot] avatar Sep 11 '22 09:09 vercel[bot]

@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 avatar Sep 23 '22 14:09 MichaelCasaDev

@MichaelCasaDev going to try to take a look at this later this week. Thanks!

normdoow avatar Oct 03 '22 23:10 normdoow

@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...

MichaelCasaDev avatar Oct 18 '22 11:10 MichaelCasaDev

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.

MichaelCasaDev avatar Feb 03 '23 21:02 MichaelCasaDev

Is there anything outstanding to merge this one in?

kantorcodes avatar Sep 22 '23 12:09 kantorcodes

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)

MichaelCasaDev avatar Oct 01 '23 14:10 MichaelCasaDev

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 :)

kantorcodes avatar Oct 05 '23 22:10 kantorcodes

cc @transitive-bullshit

kantorcodes avatar Oct 07 '23 19:10 kantorcodes

Hey @transitive-bullshit would love to see this one approved! :)

kantorcodes avatar Oct 29 '23 12:10 kantorcodes

Hey @transitive-bullshit Could you pelase merge this one this is the 1 which remain from notion block

jigs1996 avatar Jun 10 '24 11:06 jigs1996