Commit Graph

12 Commits

Author SHA1 Message Date
JimmFly
8d746f17de
chore: remove preloading pages (#5854) 2024-02-21 12:57:18 +00:00
Peng Xiao
005c02f148
fix(core): flaky tests (#5804) 2024-02-06 03:20:54 +00:00
EYHN
fe2851d3e9
refactor: workspace manager (#5060) 2023-12-15 07:20:50 +00:00
JimmFly
f4a52c031f
feat(core): support sidebar page item dnd (#5132)
Added the ability to drag page items from the `all pages` view to the sidebar, including `favourites,` `collection` and `trash`. Page items in `favourites` and `collection` can also be dragged between each other. However, linked subpages cannot be dragged.

Additionally, an operation menu and ‘add’ button have been provided for the sidebar’s page items, enabling the addition of a subpage, renaming, deletion or removal from the sidebar.

On the code front, the `useSidebarDrag` hooks have been implemented for consolidating drag events. The functions `getDragItemId` and `getDropItemId` have been created, and they accept type and ID to obtain itemId.

https://github.com/toeverything/AFFiNE/assets/102217452/d06bac18-3c28-41c9-a7d4-72de955d7b11
2023-12-12 16:04:58 +00:00
Anthony
56ace48226
feat: add new page to the sidebar #5095 (#5128)
Co-authored-by: 李华桥 <joooye1991@gmail.com>
2023-12-05 14:18:21 +08:00
3720
ef8024c657
feat: new collections (#4530)
Co-authored-by: Peng Xiao <pengxiao@outlook.com>
2023-10-27 09:06:59 +00:00
Peng Xiao
d57f995e87
feat: add fav button (#4159)
Co-authored-by: Alex Yang <himself65@outlook.com>
2023-09-04 17:14:02 +00:00
Alex Yang
4f97ea8a5d
test: cover share page e2e (#4126) 2023-09-02 00:57:04 -05:00
Alex Yang
70b5a9deeb
test: improve data migration suite (#4124) 2023-09-02 03:31:07 +00:00
Peng Xiao
068c697be9
fix: app sidebar ui issues (#3783)
Co-authored-by: Alex Yang <himself65@outlook.com>
2023-08-17 18:36:17 +00:00
Alex Yang
d18df12951
test: add workspace ref in e2e (#3217) 2023-07-13 12:41:46 +00:00
Alex Yang
0230cea16e
refactor: move test utils to package (#3206) 2023-07-13 09:05:01 +00:00