AFFiNE icon indicating copy to clipboard operation
AFFiNE copied to clipboard

Order of lined page incorrect

Open himself65 opened this issue 1 year ago • 10 comments

image

himself65 avatar Aug 26 '23 21:08 himself65

can you give some more insights about the task ? @himself65

Asish-AP avatar Aug 27 '23 05:08 Asish-AP

hey @himself65, i am unable to recreate this issue, could you give steps to reproduce it ?

image

Noothan-am avatar Aug 27 '23 06:08 Noothan-am

hey @himself65, i am unable to recreate this issue, could you give steps to reproduce it ?

image

Drag

himself65 avatar Aug 27 '23 06:08 himself65

not able to drag and drop pages

https://www.veed.io/view/8cd8b891-63ee-42ca-8e35-e74797fda9ba?panel=share

Noothan-am avatar Aug 27 '23 07:08 Noothan-am

same for me . The drag and drop doesn't work https://www.veed.io/view/cfc9d2c7-6bef-4cdc-a15b-147d7be8142d?panel=share

Asish-AP avatar Aug 27 '23 08:08 Asish-AP

Hello guys I am new to open source , can Anyone give me some details how to get started?

sahith29s avatar Aug 27 '23 16:08 sahith29s

Contributor

Drag the block! not the sidebar

himself65 avatar Aug 27 '23 17:08 himself65

https://github.com/toeverything/AFFiNE/assets/14026360/687cc551-97e0-4af6-b39a-217dfec731db

himself65 avatar Aug 27 '23 17:08 himself65

So what exaclty is the issue? If you drag in the block should it also move in the sidebar?

VamshiAlugoju avatar Sep 30 '23 17:09 VamshiAlugoju

  1. AFFiNE's Page Tree defaults to automatic sorting, that is, displaying different linked pages in the order inside page. If there are duplicate linked pages, only the first one added will be displayed.
  2. After becoming manually sorted, the Page Tree will be displayed in the order of manual sorting. The newly added Linked Page will be displayed at the bottom according to the added time. If there are duplicate linked pages, only the first one added will be displayed.

in addition:

  • For the time being, we will not consider the function of allowing users to reset manually and back to automatic sorting. In the future, we will consider adding a Reset function.
  • The default is automatic sorting. As long as the user manually drags and adjusts successfully, it will change to manual sorting mode.

Also to answer the above question from @VamshiAlugoju , if the user moves the order of linked pages inside page, and the Page tree is automatically sorted at this time, it will also change accordingly.

houjoe0829 avatar Oct 09 '23 03:10 houjoe0829