jacob-macleod/Dolphin-Flashcard-App

Renaming a Set Does not Change the Name

Open

#204 opened on Feb 13, 2025

 (3 comments) (0 reactions) (0 assignees)JavaScript (31 forks)auto 404
Pythonbuggood first issuehelp wanted

Repository metrics

Stars
 (18 stars)
PR merge metrics
 (PR metrics pending)

Description

When renaming a flashcard you own, the name is correctly changed for you. However, on the Community tab (http://dolphinflashcards.com/community), searching for the flashcard reveals the old name. This is because your local flashcards are stored twice, in the Folders and in the flashcard_set collections, seen here: https://docs.dolphinflashcards.com/conceptual-docs/architecturediagrams

Thus if you are the owner of a flashcard and you rename it in the Folders collection, the name in the flashcard_set collection should be changed

Related to this issue is that:

  • When you rename a flashcard you own
  • And edit a card in the overall flashcard set
  • Then a new copy of the flashcard with the updated name is stored in flashcard_set, while the older version with a different name still exists

So if I have "My Set 1", and I rename it to "My Set 2" and edit a card, then the flashcard_set collection stores both "My Set 1" and "My Set 2", not just "My Set 2", which has the latest card information. You should double check that solving the above issue also solves this issue

If you'd like to work on this, let me know and I'll send more information!

Contributor guide