Closed mbahgatTech closed 2 years ago
Need to add frontend feedback that the entry has been deleted. This can be done by:
OR
Likely solution is the second one due to its speed. Solution 1 is also less preferable due to the confusion it might present by adding any new shared entries found in the user's document in the database that weren't updated in the frontend (due to extended sessions). That would make the user think that pressing the delete button actually added entries for some reason while in reality it actually deleted the entry but received new entries as a side effect of refetching the user context.
Should also add a periodic refetch of user context data from the database that would then update the entries if any were sent since the last fetch.
Changes
Problems