"Drag page to sidebar" does not work
https://github.com/toeverything/AFFiNE/assets/134894293/9fcd7280-c391-4f8e-a9c9-e1fa0b7e53b3
I heard this feature was possible before
As our expectation:
- Could drag and add to Favourites.
- Could adjust the order in Favourites.
to support sortable list, there are several ways:
- just like collection pages, we can save favorite pages as an array to idb
- add an array or related data structure to
workspaceto support sorted list - add two fields like
prevFavoritePage, nextFavoritePageto make pageMeta a linked list
not sure if there is more option we can choose. cc: @himself65
I believe this should be saved in the CRDT to sync to all clients. So you might need to know how to use workspace.meta
Sure, this is what I proposed in option 2, then I will create an array in workspace.meta maybe named favoritePages
@houjoe0829 Is this "drag and drop design" still effective?
@houjoe0829 Is this "drag and drop design" still effective?
![]()
Thank you for your attention. This design draft has expired and requires @xell to update the new design for dragging to the sidebar.
@houjoe0829 Is this "drag and drop design" still effective?
Thank you for your attention. This design draft has expired and requires @xell to update the new design for dragging to the sidebar.
Okay, this issue is currently blocked. I will start working after the new design is completed.
Issue Status: ✅ Done
✅ Done
If the issue was a bug, it’s been fixed; if it was a missing feature, it’s been implemented.
This is an automatic reply by the bot.