NotionX / NotionX/react-notion-x
If you change the view of the database to the board view even once, you will not be able to see the data
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 5.4k
- Forks
- 645
- PR merge metrics
- No merged PRs in 30d
Description
Description
If you change to board view even once, you will not be able to render even if you change to another view format.
Occurrence procedure
- Create database in table view
- Change the view of that database to board view
- The database cannot render
- Also, it cannot render even if I return to the table view again.
Events that may be the cause
- recordMap.collection_view. [view] .format keeps the format data at the time of board view
Notion Test Page ID
https://ruby-relation-652.notion.site/cannot-render-this-view-0b818406a5634f11bdbf9824984d2663
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure with the linked Notion test page by switching a database from table view to board view and back. Start by inspecting recordMap.collection_view.[view].format, which the report identifies as retaining board-view data. Done means the database renders correctly after returning to table view.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100