AFFiNE/tests/affine-local/e2e
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
..
blocksuite feat: bump blocksuite (#5194) 2023-12-06 18:15:03 +08:00
all-page.spec.ts feat: bump blocksuite (#5267) 2023-12-12 06:18:30 +00:00
change-page-mode.spec.ts chore: prohibit unnecessary await (#4586) 2023-10-12 05:04:58 +00:00
contact-us.spec.ts chore: prohibit unnecessary await (#4586) 2023-10-12 05:04:58 +00:00
drag-page.spec.ts feat(core): support sidebar page item dnd (#5132) 2023-12-12 16:04:58 +00:00
duplicate-page.spec.ts refactor: new provider (#4900) 2023-11-17 15:50:01 +08:00
exception-page.spec.ts chore: prohibit unnecessary await (#4586) 2023-10-12 05:04:58 +00:00
image-preview.spec.ts fix: add prefer-dom-node-dataset rule (#5107) 2023-11-29 04:43:35 +00:00
layout.spec.ts test: improve data migration suite (#4124) 2023-09-02 03:31:07 +00:00
local-first-avatar.spec.ts fix(core): flaky local avartar test (#5229) 2023-12-08 04:01:36 +00:00
local-first-collections-items.spec.ts feat(core): support sidebar page item dnd (#5132) 2023-12-12 16:04:58 +00:00
local-first-delete-page.spec.ts feat: new collections (#4530) 2023-10-27 09:06:59 +00:00
local-first-delete-workspace.spec.ts chore: prohibit unnecessary await (#4586) 2023-10-12 05:04:58 +00:00
local-first-export-page.spec.ts test: cover share page e2e (#4126) 2023-09-02 00:57:04 -05:00
local-first-favorite-page.spec.ts feat: new collections (#4530) 2023-10-27 09:06:59 +00:00
local-first-favorites-items.spec.ts feat(core): support sidebar page item dnd (#5132) 2023-12-12 16:04:58 +00:00
local-first-new-page.spec.ts test: cover share page e2e (#4126) 2023-09-02 00:57:04 -05:00
local-first-openpage-newtab.spec.ts feat: new collections (#4530) 2023-10-27 09:06:59 +00:00
local-first-restore-page.spec.ts feat: new collections (#4530) 2023-10-27 09:06:59 +00:00
local-first-show-delete-modal.spec.ts feat: new collections (#4530) 2023-10-27 09:06:59 +00:00
local-first-trash-page.spec.ts feat: bump blocksuite (#5194) 2023-12-06 18:15:03 +08:00
local-first-workspace-list.spec.ts refactor(component): virtual rendering page list (#4775) 2023-11-02 14:21:01 +00:00
local-first-workspace.spec.ts test: improve data migration suite (#4124) 2023-09-02 03:31:07 +00:00
open-affine.spec.ts feat(core): add download app button to web (#5023) 2023-11-23 14:33:25 +08:00
quick-search.spec.ts fix(core): polling to search in cmdk (#5274) 2023-12-12 18:42:07 +08:00
router.spec.ts feat(core): add sign out confirm modal (#4592) 2023-10-16 08:44:09 +00:00
settings.spec.ts fix: add prefer-dom-node-dataset rule (#5107) 2023-11-29 04:43:35 +00:00
shortcuts.spec.ts refactor(core): remove all MUI related components and utilities (#4941) 2023-11-20 10:51:28 +08:00
subpage.spec.ts test: improve data migration suite (#4124) 2023-09-02 03:31:07 +00:00
theme.spec.ts fix: add prefer-dom-node-dataset rule (#5107) 2023-11-29 04:43:35 +00:00