nextjs-notion-starter-kit icon indicating copy to clipboard operation
nextjs-notion-starter-kit copied to clipboard

Toggle heading doesn't display tables views

Open andyvauliln opened this issue 3 years ago • 3 comments

Notion Test Page ID

image

Not necessary scrolling on table view image

andyvauliln avatar May 13 '22 14:05 andyvauliln

This is likely an issue with react-notion-x.

transitive-bullshit avatar May 13 '22 19:05 transitive-bullshit

actually it work for me, at least in dev mode I'm running Debian Testing with Node JS 18

JOduMonT avatar May 17 '22 07:05 JOduMonT

how i understand problem if make request https://www.notion.so/api/v3/queryCollection with body {"collection":{"id":"660fd6bd-951a-4921-bfdf-8948384d7712"},"collectionView":{"id":"f86855dd-a825-4e6c-9efd-a54a7e425044"},"loader":{"type":"reducer","reducers":{"collection_group_results":{"type":"results","limit":9999,"loadContentCover":true}},"sort":[],"searchQuery":"","userTimeZone":"America/New_York"}}

the response dosn't have collection collection_view field but in notion-api.ts you are merging this field image

andyvauliln avatar May 17 '22 12:05 andyvauliln