NotionX / react-notion-x

Fast and accurate React renderer for Notion. TS batteries included. ⚡️
https://react-notion-x-demo.transitivebullsh.it
MIT License
4.75k stars 552 forks source link

fix: add support for status property #471

Closed junogueira closed 1 year ago

junogueira commented 1 year ago

Description

Support for status property:

Before

Screenshot 2023-04-22 at 16 22 36

After

Screenshot 2023-04-22 at 16 22 20

Notion Test Page ID

5a441e784a104ed685dcad91cb975c16

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
react-notion-x ✅ Ready (Inspect) Visit Preview Apr 30, 2023 0:05am
react-notion-x-minimal-demo ✅ Ready (Inspect) Visit Preview Apr 30, 2023 0:05am
junogueira commented 1 year ago

Hey @transitive-bullshit and @normdoow,

Any chance you can check this PR? I'm adding support to the status property. I'm having some issues due to the lack of support for this property.

For the board view, items are not being displayed, I didn't manage to fix that yet. But at least it's not throwing an error anymore.

I'll keep trying to fix it to fully support status for the board view, but it might take a while since this is my first contact with React.

Anyway, thanks for all your work on this lib, it has allowed me to launch my first side project.

transitive-bullshit commented 1 year ago

Thanks @junogueira 🙏