Liam Fitzgerald
e2d10367af
hark-store: give set instead of count in initial
...
When we receive a notification, it might not affect our count because
it’ll get merged on the server side, but we unconditionally increment
our count on the client if the notification hasn’t been loaded yet.
Addresses this by storing a set of time, index so we can compute whether
or not the notification is merged or unloaded and change the count
accordingly.
Fixes urbit/landscape#276
2021-03-19 11:28:30 +10:00
ryjm
f5e4dc2423
hark-fe: add read all button
2021-02-11 08:48:13 -05:00
Liam Fitzgerald
98324445c1
metadata-store: exorcise paths
2021-01-12 14:26:19 +10:00
Liam Fitzgerald
6b6e9a7be2
hark: cleanup notifications on leave
2020-12-17 16:10:26 +10:00
Liam Fitzgerald
169955b45a
hark: rework unread tracking, pt.3
2020-12-16 17:46:35 +10:00
Liam Fitzgerald
610a8730b7
wip
2020-12-16 14:22:23 +10:00
Liam Fitzgerald
66fe59819e
hark-store: allow setting last-updated independently of unread counts
2020-12-14 13:33:31 +10:00
Liam Fitzgerald
c3e4a1632f
hark: migrate and drop chat notifications
2020-12-10 15:19:46 +10:00
Logan Allen
fc28fbd1c5
Merge branch 'lf/chat-graph' into la/merge-graph
2020-12-04 12:49:21 -06:00
Liam Fitzgerald
9ee62a2e55
hark: rework unread tracking, again
2020-12-01 15:46:28 +10:00
fang
eef09dd63b
hoon: remove deprecated character parsers
2020-11-26 17:43:54 +01:00
Liam Fitzgerald
b7b4000986
hark: separate unread tracking from notifications
2020-11-24 15:40:03 +10:00
Liam Fitzgerald
ec580cf8c1
hark-store: rework caching
2020-11-16 12:22:42 +10:00
Liam Fitzgerald
437c107c83
hark-store: cache graph-unreads
2020-11-12 11:31:33 +10:00
Matilde Park
fdcb2c32db
Merge branch 'lf/hark-redux' into lf/hark-graph-indices
2020-11-10 14:21:51 -05:00
Liam Fitzgerald
7e5bf37184
hark: address L review
2020-11-10 13:32:48 +10:00
Liam Fitzgerald
9eec477e0e
hark-graph-hook: watch individual indices
2020-11-10 12:14:06 +10:00
Liam Fitzgerald
fa3fe2b17d
hark-store, hark-chat-hook: support mentions in chat
2020-11-06 14:19:58 +10:00
Liam Fitzgerald
caa12c1e09
hark: fix JSON conversions
2020-11-05 15:33:52 +10:00
Liam Fitzgerald
b705b91577
hark-chat-hook: add first sketch
2020-11-05 12:27:45 +10:00
Liam Fitzgerald
cf4f0f302e
hark: final pass for bugs
2020-10-28 15:52:59 +10:00
Liam Fitzgerald
9b19e30d23
hark-hooks: add JSON conversion, marks
2020-10-27 15:04:39 +10:00