AppFlowy-IO / AppFlowy

Bring projects, wikis, and teams together with AI. AppFlowy is an AI collaborative workspace where you achieve more without losing control of your data. The best open source alternative to Notion.
https://www.appflowy.io
GNU Affero General Public License v3.0
57.82k stars 3.79k forks source link

[FR] db master view deletion improvement #4061

Open annieappflowy opened 11 months ago

annieappflowy commented 11 months ago

Description

Hi @annie@appflowy , it is possible to accidentally delete a grid [Bug]. Reproduction: 1) Copy a grid page (on the left in the navigation area), 2) Call up this page and add the board view (two tabs available: grid and board), 3) Delete the first tab (grid). The message appears: "Are you sure you want to delete this view?" Klick OK. => Result: It is not the view that is deleted on the right-hand side, but the entire page in the left-hand navigation column. Both tabs (grid and board) remain visible and editable (!) on the right-hand side, but the data is lost!!! Possible solution: If an attempt is made to delete the first tab, a message should appear stating that this is not possible because it is the "master tab", or something like that. (video desired?)

Impact

Database users

Additional Context

No response

rituraj2000 commented 11 months ago

@annieappflowy I would like to take up this issue

annieappflowy commented 10 months ago

This one might be too challenging as it involves getting deeper into our Rust codebase. It's already taken up by @richardshiue Please find another one that interests you. Thanks!