AFFiNE icon indicating copy to clipboard operation
AFFiNE copied to clipboard

Sort and reorder collections and pages with the mouse​

Open utilisateuralpha opened this issue 11 months ago • 4 comments

Description

I propose that we can classify and reorganize collections and pages with the mouse in the left pane of the application. I would also like to be able to put a page inside another page directly with the mouse in this pane.

Use case

No response

Anything else?

No response

Are you willing to submit a PR?

  • [ ] Yes I'd like to help by submitting a PR!

utilisateuralpha avatar Mar 29 '24 18:03 utilisateuralpha

Issue Status: 💬 To be Discussed

💬 To be Discussed

We need some time to discuss the issue.

This is an automatic reply by the bot.

affine-issue-bot[bot] avatar Mar 29 '24 18:03 affine-issue-bot[bot]

  1. reorder collection already supported.
  2. Using mouse to reorder the docs in a collection may not be possible, because the nature of the collection is a set of rules.
  3. drag and drop of doc to another doc is not supported yet, but I think it is doable, what do you think?@hwangdev97

EYHN avatar Mar 31 '24 02:03 EYHN

  1. Weird. I claim that I cannot rearrange with the mouse the sort order of the collections in the left pane. Is there any special handling to do?
  2. Even with the rules, I think manual sorting is possible. If a new page is created and there is a rule that concerns this page, then it will be ranked last in the sorting. And if it is deleted, this should preserve the sort order by excluding this page.
  3. Thanks for thinking about it. It will be very practical.

utilisateuralpha avatar Mar 31 '24 15:03 utilisateuralpha

Oh, sorry, the code for the reorder feature has been merged, but we have not released a new version yet. This function will be included in the next version.

EYHN avatar Apr 01 '24 05:04 EYHN

done in 0.16.0

forehalo avatar Aug 09 '24 09:08 forehalo