urbit / landscape

Product board for Landscape.
20 stars 6 forks source link

Regression in Groups: when viewing and old chat tab, landscape just spinners instead of preserving content #1255

Open ynx0 opened 3 years ago

ynx0 commented 3 years ago

Describe the bug Title. This happens to me on mobile using safari

To Reproduce Steps to reproduce the behavior:

  1. Go to a chat
  2. Scroll up a few messages just for fun
  3. Use a different app
  4. Come back and see spinner

Expected behavior Old message log view is preserved.

Operating context

liam-fitzgerald commented 3 years ago

This is deliberate, to prevent stale data from irregularly setting unread counts and otherwise creating a janky user experience by loading in chat messages out of order. However, this behaviour should be reworked so that the subscription to graph-store occurs on a per-graph basis. With this, we would be able to restrict wiping graphs only when their subscriptions clog. Because clogs are per-subscription, the clogs would also be rarer. This would reduce the frequency of this behaviour, which I agree is highly irritating

jamesacklin commented 2 years ago

Good to do for someone to get exposure to subscription handlers.