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

Return errors when importing unsupported content types

Open plc opened this issue 3 years ago • 7 comments

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"

plc avatar Sep 16 '21 22:09 plc

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

vczb avatar Sep 20 '21 19:09 vczb

Yeah exactly - so sorry for the slow reply.

plc avatar Oct 06 '21 20:10 plc

I would like to work on this.

webbdays avatar Jan 07 '23 12:01 webbdays

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

JaneX8 avatar Nov 29 '23 11:11 JaneX8

@webbdays Are you working on this issue ?

vibhuti019 avatar Apr 05 '24 19:04 vibhuti019

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

webbdays avatar Apr 05 '24 19:04 webbdays

dropping.

webbdays avatar Apr 06 '24 18:04 webbdays