aimpowered / LibOrate

A videoconferencing companion app developed by AImpower.org to provide emotional and relational support during videoconferencing.
https://liborate-alpha.vercel.app
MIT License
0 stars 2 forks source link

[DB] save affirmation cards to the DB #80

Open Shaomei opened 3 months ago

Shaomei commented 3 months ago
  1. Load saved affirmation cards if there is any, otherwise, load the default cards;
  2. After a card is updated, save the updated version to DB;
  3. After a card is deleted, save the new set of cards to DB;
  4. After a card is added, save the new card to DB.
Shaomei commented 3 months ago

I can't get to it today due to some family emergency.. I will try to pick it up next week, but anyone else please feel free to grab this task if it is open.

Look up the "TODOs" in AffirmationCarousel components for places to start. Follow Brennan's example on implementation.

yluo3421 commented 2 weeks ago

Confirmed that if a user comes in with no custom affirmation card, and then he/she makes a change to one of the default affirmation card content, the whole deck of the affirmation cards should be saved to the user profile.