lakesare / memcode

Spaced-repetition: with real formatting.
http://memcode.com
MIT License
330 stars 71 forks source link

Duplicate cards or create card templates. #125

Closed peepincreepin closed 2 years ago

peepincreepin commented 3 years ago

I create a lot of cards in the sam format. It would be really useful if we could create personal templates, or if we could easily duplicate cards, to make this process easier.

lakesare commented 3 years ago

Duplication is something that I've considered - however, as a quick solution, - try pressing "CMD + Z" in the new-flashcard input right after you saved the previous flashcard.

image
piotrvidal commented 2 years ago

How should this functionality look like?

UI proposal: duplicate_ui_example

Or maybe on the other side? Or maybe next to "New Flashcard", similar format, but "Duplicate Previous Flashcard" (although that's too many words).

lakesare commented 2 years ago

Your suggestion looks great to me. I'd move "Duplicate" above "Export".

There are multiple UI options I considered:

  1. "only on the left"
  2. "on the left and on the right"
  3. "only on the left, but with a 3-dot submenu" (we need other flashcard-specific functionality too, e.g. "Switch Type of the flashcard", and it will be hard to fit this phrasing into the current UI).

For now I'd suggest the "on the left" option, like in your screenshot. After we deploy it, it will be much more clear what UI is the best.

peepincreepin commented 2 years ago

This looks great; thank you! :)

lakesare commented 2 years ago

This is done, implemented the flashcard duplication (twitter.com/memcodeapp/status/1544351377165615111)!

image