Open xz32 opened 4 years ago
Loading posts is too slow, this requires several changes:
[ ] Change database rules and client to store votes and number of comments under post object. This way public posts can be loaded at once.
[ ] Store a read only location for database version
[ ] Update to prevent clients writing to old database version and show update prompt instead
[ ] Migrate all posts/comments to new version, create read only post in old database location to ask people to update
[ ] Store (upvote - downvote) as well as votes for easy query on user posts page
[ ] Subscribe main data outside the routing structure, to prevent re-subscription on route change
[ ] Change user posts page to use windowed list and remove animations, load posts dynamically on scroll
[ ] Optimise loading animations
Loading posts is too slow, this requires several changes:
[ ] Change database rules and client to store votes and number of comments under post object. This way public posts can be loaded at once.
[ ] Store a read only location for database version
[ ] Update to prevent clients writing to old database version and show update prompt instead
[ ] Migrate all posts/comments to new version, create read only post in old database location to ask people to update
[ ] Store (upvote - downvote) as well as votes for easy query on user posts page
[ ] Subscribe main data outside the routing structure, to prevent re-subscription on route change
[ ] Change user posts page to use windowed list and remove animations, load posts dynamically on scroll
[ ] Optimise loading animations