AppFlowy icon indicating copy to clipboard operation
AppFlowy copied to clipboard

[Bug] Appflowy keeping showing deleted calendars/boards/grid

Open Rasterisko opened this issue 1 year ago • 2 comments

Bug Description

Self-explanatory title

How to Reproduce

Create two calendars, delete one, clear the cache, and open the box to reference the calendars in a note

Expected Behavior

Don't show deleted calendars/grids/boards

Operating System

LINUX MINT XFCE 21.2

AppFlowy Version(s)

0.6.4

Screenshots

image

Additional Context

No response

Rasterisko avatar Jul 21 '24 23:07 Rasterisko

There're two potential issues:

  1. update the recent views list when deleting an exisiting view.
  2. refer to https://github.com/AppFlowy-IO/AppFlowy/issues/5754

LucasXu0 avatar Jul 22 '24 02:07 LucasXu0

The second one requires that we send all view ids from Collab in the folder observer. (See https://github.com/AppFlowy-IO/AppFlowy-Collab/blob/93ec9a38722d5ed0628e6d03a161e2de172967f3/collab-folder/src/folder_observe.rs#L104)

And the first one requires that we setup a listener and make sure all events are accounted for, another solution is simply refetching the recent views on deletions, but I'm not a fan.

Xazin avatar Jul 29 '24 20:07 Xazin