Skip to content

FlashFork: ability to copy/duplicate/fork a deck and its note types (record types) #15

@pconstrictor

Description

@pconstrictor

Menu option: Duplicate current deck.

  1. Ask the user, "Are you sure?" and Indicate the name of the deck that will be copied.
  2. For each note type (record type) used by the current deck (Deck A), ask the user whether to fork the note type as well. Once the user has made decisions for all note types, create new types as needed, by copying the existing ones.
  3. Create a new deck (Deck A2) with a new ID. Initial name: same name, plus the word "copy" or a number at the end
  4. For each card in Deck A:
    a) skip this card if it has the same note as a previous one.
    b) Find its note and create a new note in Deck B with the same content but a new ID
    c) Set the new note's type to whatever was chosen in step 1.
    d) generate a set of flashcards for the new note and make sure their deck is set to the target deck.

See also: issue #9, #14

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions