splitbee / react-notion

A fast React renderer for Notion pages
https://react-notion.com
MIT License
2.85k stars 149 forks source link

Return errors when importing unsupported content types #87

Open plc opened 2 years ago

plc commented 2 years ago

Currently if you import a Notion page that has either a database or a checkbox, the library appears to simply not load — ideally the library should return an error and explain what the unsupported content is, eg:

"This Notion document includes a Database which we cannot import, please remove the Database to render this page"

vczb commented 2 years ago

Hi, would you like the message "This Notion document includes a Database which we cannot import, please remove the Database to render this page" on the screen? or as an alert ?

I see a log similar at you like to say on this file (src/block.tsx), line 490

Captura de tela de 2021-09-20 16-40-30

plc commented 2 years ago

Yeah exactly - so sorry for the slow reply.

webbdays commented 1 year ago

I would like to work on this.

JaneX8 commented 8 months ago

I don't know why it's not mentioned here, but there is a bounty on this issue of USD 150,-. https://gitpay.me/#/task/534/return-errors-when-importing-unsupported-content-types

vibhuti019 commented 4 months ago

@webbdays Are you working on this issue ?

webbdays commented 4 months ago

I would like to. But no one responded. Will look into this issue this weekend.

webbdays commented 4 months ago

dropping.