Anki-Android icon indicating copy to clipboard operation
Anki-Android copied to clipboard

Create subdecks by drag-and-drop

Open RetroSoftLabs opened this issue 1 year ago • 9 comments

Is your feature request related to a problem? Please describe.

For example: There are two decks: "python" and "programming languages", I want "python" to become a sub-deck of "programming languages" just using drag and drop, without full recreating of the deck. Resorting decks up manually is very stressful.

I would like to be able to use drag and drop to resort an existing deck in a subdeck of another deck or even sub-deck, the reverse possibility is accordingly also needed for high-quality sorting

The more anki grows, the more it is needed.

Additional context It would be very useful if this part of screen will be used for drag and drop decks after long pressing and make it for example with some point ●. Screenshot_20231016-184018_AnkiDroid.jpg Basically it's used for open/close sub-deck on click, I think there is couldn't be better space for function described in issue.

RetroSoftLabs avatar Oct 16 '23 05:10 RetroSoftLabs

Hello! 👋 Thanks for logging this issue. Please remember we are all volunteers here, so some patience may be required before we can get to the issue. Also remember that the fastest way to get resolution on an issue is to propose a change directly, https://github.com/ankidroid/Anki-Android/wiki/Contributing

welcome[bot] avatar Oct 16 '23 05:10 welcome[bot]

Previous discussion: #4363 It is possible in Anki Desktop.

eginhard avatar Oct 16 '23 10:10 eginhard

We actually have a dialog fragment when the deck is long pressed which we would need to work around if we do so, @ligind0 you can create a subdeck without having to create every card again Simply go to card browser>select all cards>move deck. I would still wait for other members to review it once, but IMO this would be messy

criticalAY avatar Oct 16 '23 15:10 criticalAY

We actually have a dialog fragment when the deck is long pressed which we would need to work around if we do so, @ligind0 you can create a subdeck without having to create every card again Simply go to card browser>select all cards>move deck. I would still wait for other members to review it once, but IMO this would be messy

I'm happy that it's possible to move somehow deck to another deck, but IMO It's possible to use this part of screen for pressing and make it for example with some point ● to drag and drop.Screenshot_20231016-184018_AnkiDroid.jpg Basically it's used for open/close sub-deck on click, I think there is couldn't be better space for function described in issue.

RetroSoftLabs avatar Oct 16 '23 15:10 RetroSoftLabs

Yeah, that space could be used...

And just in case you weren't aware of this @ligind0, the basic way to make e.g. Rust a subdeck of Python is to rename Rust to Python::Rust. Nothing needs to be recreated for this.

eginhard avatar Oct 17 '23 07:10 eginhard

That space is also already used to expand the decks :)

criticalAY avatar Oct 17 '23 10:10 criticalAY

That space is also already used to expand the decks :)

Yep but it opens using OnClickListener, when LongClickListener is free to use.

RetroSoftLabs avatar Oct 18 '23 09:10 RetroSoftLabs

Hello 👋, this issue has been opened for more than 3 months with no activity on it. If the issue is still here, please keep in mind that we need community support and help to fix it! Just comment something like still searching for solutions and if you found one, please open a pull request! You have 7 days until this gets closed automatically

github-actions[bot] avatar Feb 13 '24 05:02 github-actions[bot]

As discussed over on discord,

I proposed creating a multi select option that would allow us to pick multiple decks and drag them under another deck, thereby turning them into subdecks (it can also be used for other things such as deleting more than 1 deck at a time).

The most pressing issues to solve are:

  • How to toggle this option
    • Currently thinking of adding a menu item
  • How to move subdecks to the root
    • The desktop version forces you to drag decks all the way to the top, we could additionally drag to the bottom or to the edges of the screen

powy-e avatar Apr 26 '24 18:04 powy-e

Hello 👋, this issue has been opened for more than 3 months with no activity on it. If the issue is still here, please keep in mind that we need community support and help to fix it! Just comment something like still searching for solutions and if you found one, please open a pull request! You have 7 days until this gets closed automatically

github-actions[bot] avatar Jul 25 '24 18:07 github-actions[bot]