Board views are not being rendered: (skipping missing collection view for block)

See original GitHub issue

Public Notion Page Link: https://www.notion.so/b966297c5e874435837c9c531cd0c25f

I just discovered that sometimes board views are not being rendered with react-notion-x. I am not sure if I have to enable something for it to work.

FYI:

  • I have already added Collection and CollectionRow components to NotionRenderer.
  • This seems to be happening only for Board views. Gallery and Table views are working properly.
  • I am getting the error message skipping missing collection view for block

It would be really helpful if someone can point me to what is happening here.

Thanks.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:4
  • Comments:29 (9 by maintainers)

github_iconTop GitHub Comments

3reactions
schicklingcommented, Jul 25, 2021

Note: Turns out my problem was unrelated to this issue.

I’ve investigated things a little bit and it seems that the collection property is no longer fetched properly: CleanShot 2021-07-09 at 11 07 11

When comparing results with the DevTools results on an opened Notion web page, I’ve noticed that they’ve seemed to changed the API (which was kind of to expected given it’s an unofficial API). Instead of the loadPageChunk API (which is used by the package) the Notion web app seems to use a loadCachedPageChunk API.

image

2reactions
normdoowcommented, Jul 22, 2021

@pbteja1998 and @schickling, could you test this to make sure it works? https://github.com/NotionX/react-notion-x/pull/107

Read more comments on GitHub >

github_iconTop Results From Across the Web

Collection View not showing up | Apple Developer Forums
Select the UICollectionView in the View Controller Scene menu (middle of Xcode, but left of Main Storyboard visual), and then in Size Inspector...
Read more >
Collection View isn't being displayed, cellForItemAtIndexPath ...
Another reason could be that the collectionView's frame is too small to display any cells. If your collectionview as a size of {0,0}...
Read more >
NotionX/react-notion-x - GitHub
Most blocks will render just fine, but some larger blocks like PDFs and collection views (database views) are not included by default.
Read more >
How to fix "The following module is missing from the file ...
Make sure that the "missing" module has been removed from your installation profile's .
Read more >
CWE-311: Missing Encryption of Sensitive Data (4.9) - MITRE
This code writes a user's login information to a cookie so the user does not have to login again later. (bad code). Example...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found