Commit Graph

6178 Commits

Author SHA1 Message Date
Liam Fitzgerald
437c107c83
hark-store: cache graph-unreads 2020-11-12 11:31:33 +10:00
Matilde Park
4673bb1456 Revert "hark: use largeBullet, remove on read"
This reverts commit 2404d70bee.
2020-11-11 20:23:39 -05:00
Liam Fitzgerald
5d8d84a7f4
Merge remote-tracking branch 'origin/mp/hark/qa-11-11' into lf/hark-qa-fixes 2020-11-12 10:46:29 +10:00
Liam Fitzgerald
0e9f7c66a9
Merge remote-tracking branch 'origin/mp/hark/qa-11-11' into lf/hark-qa-fixes 2020-11-12 10:44:20 +10:00
Matilde Park
b163b76784 hark: position mute/archive at top 2020-11-11 19:37:05 -05:00
Liam Fitzgerald
f07b231e36
hark-store: default to DND being off 2020-11-12 10:34:51 +10:00
Liam Fitzgerald
b4ce2fccda
Merge branch 'release/next-userspace' into lf/hark-qa-fixes 2020-11-12 10:33:26 +10:00
Matilde Park
ba420d4810 hark: correct link styling
Fixes urbit/landscape#147
2020-11-11 19:32:31 -05:00
Liam Fitzgerald
0b7201ac08
interface: lazier notifications loading 2020-11-12 10:26:53 +10:00
Liam Fitzgerald
fa9a7dc0f0
hark-store: do not give all notifications in +on-watch 2020-11-12 10:26:24 +10:00
Liam Fitzgerald
3b55404dee
hark-group-hook: fix path in +on-watch 2020-11-12 10:26:02 +10:00
Matilde Park
5c8337e878 hark: prevent long list overflowing 2020-11-11 19:22:58 -05:00
Matilde Park
2404d70bee hark: use largeBullet, remove on read 2020-11-11 19:22:51 -05:00
fang
f549d16a2e
webterm: account for title oddity for terminal app 2020-11-11 22:00:32 +01:00
Matilde Park
2b257dcd8f groupSwitcher: use 'Boot' for DMs + Drafts 2020-11-11 15:45:02 -05:00
Matilde Park
6782785083 landscape: surface invites in notifications 2020-11-11 15:42:06 -05:00
fang
32e1235edb
webterm: update slog handling for new formats
Secretly, [data.slog] here implies the entire slog text to be a single
semantic character. But this kind of detail isn't present in the slog
event, and can't be trivially reconstructed, so we're fine with this.
2020-11-11 20:59:45 +01:00
Matilde Park
2ba78348fb glob: update to 0v3.h5gg6.t76qc.9on82.im1ti.i4vuu 2020-11-11 00:19:44 -05:00
Matilde Park
267e506af6 Merge branch 'release/next-userspace' into mp/hark/qa-11-10 2020-11-11 00:16:25 -05:00
Matilde Park
468d794cbc Merge branch 'master' into release/next-userspace 2020-11-11 00:15:47 -05:00
Matilde Park
ef9ea119c6 hark: use vertical rules
FIxes urbit/landscape#150.
2020-11-11 00:08:43 -05:00
Matilde Park
176ac9d4ea hark: dark mode text fixes
Fixes urbit/landscape#138. Fixes urbit/landscape#153.
2020-11-10 23:56:31 -05:00
Matilde Park
a90b9575e0 statusbar: resurface badge 2020-11-10 23:53:15 -05:00
Matilde Park
b721725ffc landscape: remove notifs in status bar
Fixes urbit/landscape#151.
2020-11-10 23:34:49 -05:00
matildepark
565fc46660
Merge pull request #3910 from urbit/lf/graph-cleanup
graph-store: run-updates no longer pokes itself
2020-11-10 23:24:24 -05:00
Liam Fitzgerald
e71ba741f4
Merge pull request #3908 from urbit/lf/hark-graph-indices
hark: follow individual indices
2020-11-11 10:37:19 +10:00
Liam Fitzgerald
a07f55b832
hark-graph-hook: fix conflict in merge 2020-11-11 10:36:32 +10:00
fang
1c8e73a8f6
eyre: update tests to match fact-only clogs
Watch-acks no longer add to the clog counter, so we need to trigger an
additional fact to reach the test case we care about.
2020-11-10 23:16:44 +01:00
fang
1e8d6651ac
eyre: update tests to match fact-only clogs
Watch-acks no longer add to the clog counter, so we need to trigger an
additional fact to reach the test case we care about.
2020-11-10 23:12:14 +01:00
fang
efdcc8b41e
eyre: clog exclusively for %facts
Eyre's clog logic was a tad inconsistent about "only facts" vs "not poke-acks".
This makes it consistently say "only facts" when it comes to clog-related logic.
Yes, in theory this means %watch-acks and %kicks can build up endlessly, but
those should take up negligible space compared to %facts.

Should fix any oddball cases of crashes here that #3835 didn't already catch.
2020-11-10 23:05:46 +01:00
fang
74fcda589d
eyre: remove fact-without-subscription printf 2020-11-10 23:05:37 +01:00
fang
49aa333331
eyre: ignore facts directly after clog
When an application would send multiple facts during a single event, it
was possible for the first fact to trigger a clog, removing the
subscription and sending a quit, but then the second fact still getting
sent out at normal.

Here, we drop any facts for subscriptions we don't have registered in
state, which should only happen in the described case.
2020-11-10 23:05:28 +01:00
fang
3ca993df07
eyre: clog exclusively for %facts
Eyre's clog logic was a tad inconsistent about "only facts" vs "not poke-acks".
This makes it consistently say "only facts" when it comes to clog-related logic.
Yes, in theory this means %watch-acks and %kicks can build up endlessly, but
those should take up negligible space compared to %facts.

Should fix any oddball cases of crashes here that #3835 didn't already catch.
2020-11-10 22:06:28 +01:00
Matilde Park
a24959a64f drum: fix syntax error for state-11 2020-11-10 15:12:52 -05:00
fang
1c01c7dc6c
webterm: update bel and move into lib 2020-11-10 21:11:58 +01:00
Matilde Park
e986298ee9 Merge branch 'release/next-userspace' into lf/hark-redux 2020-11-10 15:04:16 -05:00
fang
c33f027735
hood: auto-start herm 2020-11-10 20:54:06 +01:00
fang
9ccfeb9e8d
soto: tombstone 2020-11-10 20:47:01 +01:00
fang
eb40e2feed
webterm: handle unicode more correctly
Make the marks produce json arrays where the (list @c) type is used.
On the frontend, transform the semantic (character-based) cursor
position into a byte-based one, in order to ensure the cursor gets
rendered at the correct location, even if the presence of multi-byte
characters like emoji.
2020-11-10 20:42:28 +01:00
Matilde Park
35103ab394 hark-graph-hook: remove ~& 2020-11-10 14:24:47 -05:00
Matilde Park
fdcb2c32db Merge branch 'lf/hark-redux' into lf/hark-graph-indices 2020-11-10 14:21:51 -05:00
fang
6b3e062f60
webterm: ensure input spans entire screen
(...even if it might get cut off by prompt rendering details)
2020-11-10 19:35:42 +01:00
fang
9cd9448bcd
dill: remove ducts from %view and %flee interface
This was a little bit too crummy. Instead, we put in a placeholder of ~,
which should be forwards-compatible with atomic session identifiers,
where ~ identifies the default session.

Additionally touches up the herm wires/paths to stick to the above more
closely.
2020-11-10 19:33:11 +01:00
matildepark
1f51ed5973
Merge pull request #3907 from urbit/mp/landscape/chat-indigo
chat: migrate to indigo-react
2020-11-10 13:30:32 -05:00
fang
5f5e1def83
mark: handle unicode in belt correctly
Input should be treated as unicode strings
2020-11-10 19:27:25 +01:00
fang
fa20fff31a
Merge pull request #3873 from urbit/m/lazy-verb
verb: render printouts lazily
2020-11-10 10:51:24 +01:00
Liam Fitzgerald
5354aae5fa
graph-store: run-updates no longer pokes itself 2020-11-10 15:43:35 +10:00
Liam Fitzgerald
7e5bf37184
hark: address L review 2020-11-10 13:32:48 +10:00
Liam Fitzgerald
39caa57308
hark: update FE for per-index granularity 2020-11-10 12:15:16 +10:00
Liam Fitzgerald
9eec477e0e
hark-graph-hook: watch individual indices 2020-11-10 12:14:06 +10:00
Matilde Park
54d08e393f arvo/landscape: remove unused pngs 2020-11-09 21:14:00 -05:00
Matilde Park
afa188150f landscape: use new spinner everywhere 2020-11-09 21:13:41 -05:00
Matilde Park
e9c129b1e3 chat: migrate to indigo-react
Fixes urbit/landscape#41.
2020-11-09 21:13:17 -05:00
matildepark
0934c52e83
Merge pull request #3902 from urbit/mp/landscape/qa-11-6
links, publish: componentise comments, migrate remainder to indigo-react
2020-11-09 20:48:17 -05:00
fang
e3dba290c9
webterm: implement underline and blink styles 2020-11-10 01:37:40 +01:00
fang
ee55f34a72
webterm: update input to use indigo components 2020-11-10 00:45:08 +01:00
fang
3b51329b41
webterm: DojoApp -> TermApp 2020-11-10 00:35:27 +01:00
fang
fbda1de612
webterm: dojo -> term
Includes updating the tile data in launch.
2020-11-09 20:29:36 +01:00
L
9cbed7a4a9
Merge pull request #3832 from urbit/la/thread-watcher
observe-hook: spin up a thread upon receiving a %fact from a subscription
2020-11-09 12:37:13 -06:00
fang
089f6515ed
webterm: refactor line to use React.memo
Also leave out unnecessary key detail.
2020-11-09 15:49:30 +01:00
fang
37359d2110
webterm: wrap lines 2020-11-09 15:32:15 +01:00
fang
8e77764cfc
webterm: retain prompt on %clr 2020-11-06 22:41:58 +01:00
fang
acd9176d76
webterm: clean up 2020-11-06 22:32:13 +01:00
fang
f62129d095
herm: keep blit & belt marks in cache
Perhaps there should be a general-purpose mechanism for this, but for
now this will suffice.
2020-11-06 22:30:24 +01:00
Logan Allen
f714fa602e observe-hook: switch from time to serial, and reorganize on-agent 2020-11-06 15:29:15 -06:00
Logan Allen
4b7f0e8025 thread-watch: change name to observe-hook 2020-11-06 14:55:32 -06:00
Matilde Park
6492d4c2de links, publish: comments match chat styling 2020-11-06 15:17:16 -05:00
Matilde Park
8ed38094f8 links: migrate to indigo-react
Fixes urbit/landscape#46.
2020-11-06 15:10:17 -05:00
Matilde Park
0f37bf9a8b links, publish: componentise Comments 2020-11-06 14:31:05 -05:00
Matilde Park
87edfc486a links, publish: componentise 'commentItem' 2020-11-06 14:17:50 -05:00
Matilde Park
5eb1aa4327 Merge branch 'release/next-userspace' into lf/hark-redux 2020-11-06 08:59:53 -05:00
fang
f950d710c3
webterm: support downloading files
For %sav and %sag blits.
2020-11-06 13:47:22 +01:00
Liam Fitzgerald
0830c861fb
interface: reset touched in FormikOnBlur 2020-11-06 14:21:38 +10:00
Liam Fitzgerald
dbda698a65
hark: display chat mentions 2020-11-06 14:20:47 +10:00
Liam Fitzgerald
fa3fe2b17d
hark-store, hark-chat-hook: support mentions in chat 2020-11-06 14:19:58 +10:00
Matilde Park
00860ca465 glob: update to 0v3.29n7b.04srk.3pcv0.1ld5v.vl1io 2020-11-05 22:13:06 -05:00
Liam Fitzgerald
68d3d5287a
landscape: add flexShrink=0 to flex containers 2020-11-06 13:01:11 +10:00
Liam Fitzgerald
27b5f70b80
pull-hook: fix rewatch wire 2020-11-06 12:08:08 +10:00
Liam Fitzgerald
4fc8560a13
pull-hook: fix rewatching subscriptions 2020-11-06 12:05:51 +10:00
Liam Fitzgerald
10c956fc87
pull-hook: fix base-state-0 type 2020-11-06 12:03:14 +10:00
Matilde Park
f8e41dc949 glob: update to 0v5.8huh4.vt7qh.kd39s.hdqmd.vb91t 2020-11-05 20:56:52 -05:00
matildepark
8e178ac030
Merge pull request #3898 from urbit/lf/pull-hook-fix
pull-hook: rewatch missing subscriptions
2020-11-05 20:49:55 -05:00
Liam Fitzgerald
d902aa9629
pull-hook: rewatch missing subscriptions 2020-11-06 11:44:09 +10:00
matildepark
f949307e61
Merge pull request #3884 from urbit/ga/qa-fixes
Ga/qa fixes
2020-11-05 20:31:58 -05:00
matildepark
ed3c88f0dc
Merge pull request #3897 from tylershuster/chat-line-height
chat: unify line-height
2020-11-05 20:28:54 -05:00
Gavin Atkinson
c70b94a90b updates indigo-react to restore sigil in button 2020-11-05 17:23:36 -08:00
Tyler Brown Cifu Shuster
cfec6dcca4 chat: unify line-height
fixes https://github.com/urbit/landscape/issues/140
2020-11-05 17:14:47 -08:00
matildepark
e29e1bb1bb
Merge pull request #3871 from urbit/lf/graph-pull-cleanup
graph-pull-hook: only archive if we have graph
2020-11-05 20:04:07 -05:00
Matilde Park
adce7e05d0 glob: update to 0v4.qe6t9.dnecd.ajaa9.jftp5.vtk3s 2020-11-05 19:57:58 -05:00
matildepark
1ffea0be06
Merge pull request #3891 from urbit/lf/groupify-graph
landscape: restore groupify functionality
2020-11-05 19:50:39 -05:00
Liam Fitzgerald
181401c153
landscape: fix groupify redirect 2020-11-06 10:45:26 +10:00
matildepark
2e099f1b02
Merge pull request #3815 from tylershuster/moon-bg
clock: add background to moon
2020-11-05 19:19:43 -05:00
Matilde Park
f2d38ffb1a landscape: amend groupify copy 2020-11-05 19:09:26 -05:00
matildepark
13a1f055b0
Merge pull request #3870 from urbit/lf/fix-push-remove
lib-push-hook: fix behaviour of %remove
2020-11-05 18:47:24 -05:00
Liam Fitzgerald
13555c603c
push-hook: rekick watches that had been kicked on migrate 2020-11-06 09:18:17 +10:00
Liam Fitzgerald
03b797102c
ph: add lib-hooks test 2020-11-06 08:53:55 +10:00
Liam Fitzgerald
58e9024ab6
graph-pull-hook: fix scry helper 2020-11-06 08:53:36 +10:00
Liam Fitzgerald
521fa0ddbd
lib-hooks: give on all relevant paths 2020-11-06 08:52:47 +10:00
fang
7a40b1137e
herm: send prompt & cursor on-connect 2020-11-05 20:13:36 +01:00
fang
485a15c913
dill: add scry endpoints for current line & cursor
This will let connecting clients get the rendering-relevant parts of the
current state of the session on demand.
2020-11-05 20:13:03 +01:00
fang
185b553c99
herm: userspace dill proxy
Listens to the default dill session and passes its %blits on to
subscribers. Passes any %belt pokes it gets into dill.

Updates webdojo to make use of it, which is the primary motivation for
herm's existence.
2020-11-05 19:39:08 +01:00
Liam Fitzgerald
62409ca94d
glob: update to 0v6.9vk2h.hr87m.nn63p.8kmo5.k4ljt 2020-11-05 17:36:58 +10:00
Liam Fitzgerald
75f347aea5
interface: add missing lodash imports 2020-11-05 17:30:32 +10:00
Liam Fitzgerald
9d919407a0
glob: update glob to 0v4.0lvsj.gc55k.nsl3q.mf2h2.pv1bk 2020-11-05 16:48:40 +10:00
Liam Fitzgerald
403c2ba0a8
chat: teleport to message 2020-11-05 16:24:40 +10:00
Liam Fitzgerald
a0ea86098b
hark: display chat notifications 2020-11-05 15:34:48 +10:00
Liam Fitzgerald
e1b11d610d
hark-chat-hook: maintain FE state 2020-11-05 15:34:20 +10:00
Liam Fitzgerald
caa12c1e09
hark: fix JSON conversions 2020-11-05 15:33:52 +10:00
matildepark
628b031252
Merge pull request #3865 from urbit/lf/graph-author-delete
graph-push-hook: allow for node removal by author
2020-11-04 23:20:45 -05:00
Liam Fitzgerald
974a02e63a
hark-chat-hook: poke hark-store for watching channels 2020-11-05 12:51:46 +10:00
Liam Fitzgerald
cd11d994a4
hark-store: add %chat types 2020-11-05 12:50:56 +10:00
Liam Fitzgerald
a3a8f72672
hark-chat-hook: add marks 2020-11-05 12:28:04 +10:00
Liam Fitzgerald
b705b91577
hark-chat-hook: add first sketch 2020-11-05 12:27:45 +10:00
Liam Fitzgerald
fd149da592
ted/groupify: fix %remove-group poke 2020-11-05 12:02:59 +10:00
Liam Fitzgerald
9ab43333e2
landscape: support groupifying chats 2020-11-05 12:02:08 +10:00
Liam Fitzgerald
414567b843
landscape: add GroupifyForm 2020-11-05 11:54:07 +10:00
Liam Fitzgerald
118f153dc7
landscape: refactor dropdown searches 2020-11-05 11:53:36 +10:00
Logan Allen
63a0bb00c0 thread-watch-hook: edge cases tested and fixed 2020-11-04 18:42:52 -06:00
Matilde Park
d872050b4b statusbar: add notification count badge 2020-11-04 16:47:08 -05:00
Matilde Park
adb91f19b8 publish: restore nicknames in note interface 2020-11-04 16:30:48 -05:00
Logan Allen
ed81e2304d thread-watch-hook: compiles 2020-11-04 15:14:18 -06:00
Logan Allen
06062757db thread-watch-hook: add +on-init to watch graph invitatory, and remove ~& 2020-11-04 14:55:46 -06:00
fang
83d46dae88
dill: fall back to default session
This lets us support the "random userspace app sending dill belts".
Ultimately, we'll want to be able to specify a session identifier
alongside the belt, instead of strictly relying on the duct.
2020-11-04 20:12:01 +01:00
fang
eb824f1866
dill: allow watching output of arbitrary sessions
Adds a %view task, which opens a subscription on the output sent to the
specified session. %flee closes the same.
Whenever dill sends a blit to the session, any subscribers get the
output also.

The structures here will become more reasonable once we replace ducts
with proper dill session identifiers.
2020-11-04 20:11:42 +01:00
Logan Allen
65291863a0 thread-watch-hook: successfully sends facts to %invite-accepted-graph
thread
2020-11-04 12:12:24 -06:00
fang
11aaeaa289
Merge pull request #3882 from urbit/m/unren
ren: remove the last renderer files from /ren
2020-11-04 19:08:04 +01:00
fang
18494f8a9d
dill: if styled prompt has no style, emit as plain
People using older runtimes might not support the %klr blit. It's not
uncommon for prompts without style to get passed in as %pom though, so
here we catch that case and turn it into a %pro, which gets rendered as
a traditional %lin.
2020-11-04 17:28:05 +01:00
fang
b96e071eb2
Merge branch 'release/next-sys' into release/next-dill 2020-11-04 17:25:35 +01:00
Gavin Atkinson
d7b5bed21c Adjust leap mobile height 2020-11-03 17:23:47 -08:00
Gavin Atkinson
f6e0f5b7d0 More changes to alter Home to DMs + Drafts 2020-11-03 17:16:28 -08:00
Gavin Atkinson
c748106332 adds spinner to ReconnectButton, refactors 2020-11-03 16:41:50 -08:00
Gavin Atkinson
38c927a6f0 resolves padding inconsistency in header bar, renames home 2020-11-03 16:22:56 -08:00
fang
c992e4ce9d
eyre: forego <atom> in favor of (scow %aura atom)
Pretty-printing is expensive, yet we do it whenever we construct the cookie
string, at least once (but usually twice) per authenticated request.

Here we call out the the specific to-tape functions we need, instead of relying
on the pretty-printer for converting... tapes to tapes, among other things.  
The primary gains come from the cookie-related instances, we update the others
mostly for good style.

For the "receive request and immediately send response" case, that is processed
synchronously within eyre (ie, client sends channel ack), speeds thing up by
roughly 55%.
2020-11-04 01:02:11 +01:00
fang
3d610448af
ren: remove the last renderer files from /ren
No longer in use.
2020-11-03 23:11:18 +01:00
Matilde Park
d9d7edf720 landscape: migrate global components to indigo-react
Fixes urbit/landscape#50.
2020-11-03 16:48:44 -05:00
Liam Fitzgerald
38e403e0c3
landscape: show groupify form in channel settings 2020-11-04 07:14:08 +10:00
Matilde Park
f7d59985d2 glob: update to 0v4.cf9m1.t0ofg.dtig4.av3jh.2f2db 2020-11-03 16:04:41 -05:00
Liam Fitzgerald
c3f6daf918
interface: move GroupifyForm 2020-11-04 07:02:33 +10:00
Matilde Park
ed2f88b218 lib/sigil: prevent moon sigil shrink 2020-11-03 16:01:38 -05:00
Matilde Park
4fe417b3bf leap: provide inbox icon 2020-11-03 16:01:25 -05:00
fang
37c0383a79
Merge pull request #3864 from urbit/m/ream-to-zapcom
clay: replace ream with nouns and !, zapcom
2020-11-03 21:55:49 +01:00
Matilde Park
437757c584 leap: redirect to notifications correctly 2020-11-03 15:52:35 -05:00
Matilde Park
83bdc143f7 inbox: add missing lodash import 2020-11-03 15:52:21 -05:00
fang
a94c63d412
verb: improve code style in +print 2020-11-03 20:15:58 +01:00
Matilde Park
c84f8ebe3a Merge branch 'release/next-userspace' into mp/landscape/row-link 2020-11-03 14:12:34 -05:00
Tyler Brown Cifu Shuster
9aab895e97 publish: fix aggressive exit prevention
Let the people post in peace!
2020-11-03 10:43:16 -08:00
fang
0c10e237d3
verb: render printouts lazily
Instead of passing in a tape to print in case we need in, pass in a trap that
can be called to generate the tape on-demand.

Eagerly rendering printouts was costing us a lot of time when we didn't actually
need them, because the pretty-printer is slow.
2020-11-03 19:17:13 +01:00
Liam Fitzgerald
ebb15a4fc3 lib/graph: address L review 2020-11-04 04:10:57 +10:00
Liam Fitzgerald
8b7c543f29 links: allow author to delete posts 2020-11-04 04:08:53 +10:00
matildepark
31b7c61d9a
Merge pull request #3866 from tylershuster/sidebar-scrollbar
fixes https://github.com/urbit/landscape/issues/132
2020-11-03 13:04:32 -05:00