anyproto / anytype-heart

Shared library for Anytype clients
https://anytype.io
Other
236 stars 47 forks source link

Non-existent objects that cannot be deleted #817

Open muhanstudio opened 8 months ago

muhanstudio commented 8 months ago

Have you read a contributing guide?

Current Behavior

image Create a collection as a widget, then delete the objects in the collection and empty the wastebasket, restart the program, the widget will show up as a non-existent object and cannot be deleted

Expected Behavior

Hopefully these non-existent objects will disappear on their own

Steps To Reproduce

Create the collection as a widget, then delete the objects in the collection and empty the wastepaper basket, restart the program

Environment

- OS:Windows 10
- Version: 0.37.15

Anything else?

No response

ra3orblade commented 8 months ago

Update to latest version please.

muhanstudio commented 8 months ago

image I'm using version 0.37.15, released yesterday.

hatwearingdumb commented 1 week ago

I have the same issue. How can I get rid of these non-existent objects?

geaned commented 1 week ago

@hatwearingdumb I believe you need to check your pages for any leftover links to the items you have recently deleted, remove these links, and then all non-existent objects should disappear

hatwearingdumb commented 2 days ago

@hatwearingdumb I believe you need to check your pages for any leftover links to the items you have recently deleted, remove these links, and then all non-existent objects should disappear

Correct! I think it'd be a good idea to inform the user why a deleted item is still being displayed. With the error page pointing them to the pages which are still referencing the deleted item, possibly featuring a button to remove such links automatically.

hatwearingdumb commented 2 days ago

This is what I have in mind: anytype_deleted_object_page If implemented, pressing one of the page buttons in the list should not only redirect the user to that page, but also temporarily highlight the link, with a glow animation or something similar.

I am not a UX designer, but I feel like this would be much more helpful, than the current "Non-existent object" page.