You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, existing knowledge of the structure of a set is needed to accurately update cards without breaking the ordering.
The primary method of adding cards should be via the /cards route instead of recreating every card in a set every time a single card needs to be updated.
Adding and updating cards should be relatively plug and play too. Indexes should not be able to be overwritten, there shouldn't be gaps in it, etc.
When updating or creating a card, if the index already exists, the card should be placed at the desired index, and the conflicting one pushed up -
When updating or creating a card, if the index is greater than the bottommost existing card, the new card should be one more than the bottommost
It should no longer be possible to update every card in a set via the sets controller. The cards controller should be used instead. Will leave this as an option for API users, but frontend will use more efficient method.
Cards controller should be nested under /sets/cards for clarity. Leitner cards should receive their own controller too and be nested under /leitner-sets/cards to show the relations between these two.
When editing a set, after saving, every single card component should not be recreated. This can be incredibly laggy on low-powered computers.
The text was updated successfully, but these errors were encountered:
Currently, existing knowledge of the structure of a set is needed to accurately update cards without breaking the ordering.
The primary method of adding cards should be via the /cards route instead of recreating every card in a set every time a single card needs to be updated.
Adding and updating cards should be relatively plug and play too. Indexes should not be able to be overwritten, there shouldn't be gaps in it, etc.
It should no longer be possible to update every card in a set via the sets controller. The cards controller should be used instead.Will leave this as an option for API users, but frontend will use more efficient method.The text was updated successfully, but these errors were encountered: