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
#289 1 comment 0 reactions 0 assignees View on GitHub

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
  1. Create database in table view
  2. Change the view of that database to board view
  3. The database cannot render
  4. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.