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

Feature request: select card and export them

Open Arthur-Milchior opened this issue 5 years ago • 9 comments

Following upstream, I believe it would be nice to be able to select card(s) in the deck browser and have an option to export them. It would be especially useful to share buggy card for debugging or to share a card type with an example without needing to share a whole deck or create it

Arthur-Milchior avatar Jan 23 '21 16:01 Arthur-Milchior

I'm going to try to implement this feature

TarekkMA avatar Mar 10 '21 00:03 TarekkMA

I have ported the feature from the pylib anki, and added a menu item to export selected cards from the CardBrowser activity.

But the issue is the exporting methods is tightly coupled to DeckPicker activity.

I'm thinking about creating a helper class named ExportHelper and both CardBrowser and DeckPicker will delegate the exporting functionally to it. And only handle onActivityResult()

ExportHelper will control the prograssbar and other dialogs, the listener, and exportToProvider function

Interested to hear your thoughts about this

TarekkMA avatar Mar 10 '21 01:03 TarekkMA

can I work on this if this issue is still open?

Mohaned-Elfeky avatar Mar 27 '21 20:03 Mohaned-Elfeky

Thanks for the interest! There's an open pull request which will close this, so it'd be best to work on something else.

david-allison avatar Mar 27 '21 20:03 david-allison

ok

Mohaned-Elfeky avatar Mar 27 '21 20:03 Mohaned-Elfeky

Hello 👋, this issue has been opened for more than 2 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 May 28 '21 18:05 github-actions[bot]

@Arthur-Milchior Is this issue still open? I see there was a pull request that went stale and you mentioned in a comment that it was better to pick a different issue. However, since this is still open is would I be able to work on this for a school project?

simCunningham avatar Nov 03 '21 00:11 simCunningham

Since Tarekk leaved us, it would be great to have someone taking the issue over and closing it. You can probably either use the commits from the existing PR, rebase them onto master and resolve the conflicts. You can also read them to inspire you and create your own PR. Or you can create a PR from scratch (but I doubt it's the best idea)

Arthur-Milchior avatar Nov 03 '21 02:11 Arthur-Milchior

See https://github.com/ankidroid/Anki-Android/pull/8159#issuecomment-1186151840

dae avatar Jul 18 '22 18:07 dae