-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Labels
enhancementNew feature or requestNew feature or requeston holdUnnecessary to work on until after MVP is finished, optional featuresUnnecessary to work on until after MVP is finished, optional features
Description
Description
Optional feature (not necessary for the MVP) so can be done in later time
The implementation for this can be easy if done with useState - however, this doesn't account for if the user uses different devices (e.g. if they used their PC to save events, they won't be able to see those saved events on their phone).
Therefore, the recording of saved events will have to be done in Prisma
- The schema will have to be changed (create model SavedEvent, user model takes in SavedEvents of type SavedEvent[])
- Migrate the new schema
- Create a server action which saves the id of the event into Prisma
- Use useSession() to pull up the user's saved events if logged in
Also may want to add a "Saved" filter where the user can see only their saved events
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requeston holdUnnecessary to work on until after MVP is finished, optional featuresUnnecessary to work on until after MVP is finished, optional features