fang
b553b9534c
chat-cli: update audience on-;view
...
This feels more correct, and matches historic on-;join behavior.
Fixes #4758 .
2021-04-24 21:03:48 +02:00
Matilde Park
6d37c23ae8
VirtualScroller: avoid unsafe null access
2021-04-24 14:50:49 -04:00
matildepark
a8ee7fcfe4
Merge pull request #4817 from urbit/lf/virt-perf
...
VirtualScroller: performance, memory leaks
2021-04-23 23:11:56 -04:00
Liam Fitzgerald
f79e489d67
ChatResource: prevent unnecessary state update
2021-04-24 12:23:45 +10:00
Liam Fitzgerald
47c19b60c0
VirtualScroller: only rerender on scroll lock if necessary
2021-04-24 12:22:44 +10:00
Liam Fitzgerald
2e7b1cd41d
VirtualScroller: lock scroll less aggressively
...
Prevents incorrect scroll adjustment
2021-04-24 12:22:08 +10:00
Liam Fitzgerald
6a1f0e2ac9
VirtualScroller: aggressively cleanup refs
...
Prevents a memory leak, as it appears React holds onto the class
instance after unmounting
2021-04-24 12:20:42 +10:00
Liam Fitzgerald
bc4f26b2b3
VirtualScroller: rework scroll initialisation
...
Calling restore if the scroll is locked simply resets the scroll,
instead of using the usual adjustment algorithm
2021-04-24 12:19:33 +10:00
matildepark
6a106b1703
Merge pull request #4815 from urbit/mp/publish/comment-codes
...
landscape: move transcluded comments to graphcontentwide
2021-04-23 22:13:00 -04:00
fang
9d6db9baaf
term: fix ci output somehow
...
During CI (specifically, urbit-tests), slogs and printf output would
get interleaved, sometimes intermingling, mangling the resulting
output.
Best guess is this happens because of something weird we're doing with
regards to pushing output. Additional scatter-shot fflush calls solve
this. The fix herein also solves this. Unclear why, considering this
commit should result in identical behavior for the -t case.
Here be dragons.
2021-04-24 01:24:09 +02:00
pilfer-pandex
dad455365d
king: add requested disclamer to UDP.hs
2021-04-23 15:51:51 -04:00
pilfer-pandex
0bcc83f40c
king: my god, actually reverse ip addrs
2021-04-23 15:51:51 -04:00
pilfer-pandex
17bf33d3a0
king: fix byte order of Ipv4
2021-04-23 15:51:51 -04:00
pilfer-pandex
48837a1fbe
king: ames: make udp serv reuse port on err
2021-04-23 15:51:50 -04:00
matildepark
9ad12777ae
Merge pull request #4786 from urbit/la/fix-omnibox
...
interface: group feed no longer shows in omnibox
2021-04-23 15:45:40 -04:00
Matilde Park
a7ed122c5c
chat: prevent shrinking of share banner
2021-04-23 15:43:53 -04:00
Matilde Park
794af89ec2
landscape: flex comments to container width
...
Prevents horizontal overflow.
2021-04-23 15:39:44 -04:00
Matilde Park
7ac71c64a3
landscape: move transcluded comments to new render
...
Fixes urbit/landscape#814
Fixes urbit/landscape#813
2021-04-23 15:39:21 -04:00
L
f11a66a381
Merge pull request #4795 from urbit/la/fast-index
...
graph-store, metadata-store lib: skip trip and crip, use rap
2021-04-23 14:36:57 -05:00
Logan Allen
27e5a6aef4
omnibox: add maybe operators
2021-04-23 14:34:39 -05:00
Matilde Park
0a71fb89e2
Merge branch 'release/next-js' into release/next-userspace
2021-04-23 14:57:17 -04:00
matildepark
b78e7583db
Merge pull request #4812 from urbit/mp/landscape/indigo-bump
...
landscape: update indigo-react to 1.2.21
2021-04-23 09:46:28 -04:00
Joe Bryan
7829ca006c
Merge pull request #4804 from urbit/jb/sift-ud
...
u3: rewrites %ud parser
2021-04-22 20:17:43 -07:00
Joe Bryan
715b42bb42
u3: tweaks u3s_sift_ud() conditional style
2021-04-22 20:14:28 -07:00
Matilde Park
a13542dfa7
interface/logic: revert group-update type change
...
It broke tags, needs a redo.
2021-04-22 21:21:44 -04:00
Joe Bryan
45ef57ab1a
u3: refactors gmp initialization in u3r_mp()
2021-04-22 17:34:49 -07:00
Joe Bryan
0681c9a477
u3: avoid gmp realloc in u3s_sift_ud()
2021-04-22 17:26:36 -07:00
Matilde Park
04f46eefe5
landscape: update indigo-react to 1.2.21
2021-04-22 19:46:43 -04:00
Matilde Park
236b7a047f
Merge branch 'release/next-js' into mp/landscape/indigo-bump
2021-04-22 19:43:47 -04:00
Joe Bryan
1600e71daf
u3: adds a macro for leading digits in u3s_sift_ud()
2021-04-22 16:17:56 -07:00
Joe Bryan
64a96acb20
u3: requires at least one leading digit in u3s_sift_ud()
2021-04-22 16:07:35 -07:00
Joe Bryan
9c550a6795
u3: shortcircuit direct atoms in u3i_chub()
2021-04-22 15:54:19 -07:00
Joe Bryan
af1325a387
u3: simplies leading-digit control flow in u3s_sift_ud()
2021-04-22 15:53:42 -07:00
Joe Bryan
1ca0207b20
u3: adds basic tests for u3s_sift_ud()
2021-04-22 15:42:03 -07:00
Joe Bryan
edd886c37b
u3: fix typo in u3s_sift_bytes() block conditionals
2021-04-22 15:12:55 -07:00
matildepark
5c5aefa9fc
Merge pull request #4806 from urbit/lf/fix-virt-scroller
...
VirtualScroller: fix race conditions and excessive scroll adjusting
2021-04-22 17:50:19 -04:00
Matilde Park
8532c0c362
landscape: restore timestamps across interface
2021-04-22 17:48:24 -04:00
matildepark
94435de867
Merge pull request #4807 from urbit/lf/offsettop-crash
...
Dropdown: check ref exists
2021-04-22 17:10:27 -04:00
matildepark
906f513959
Merge pull request #4808 from urbit/lf/flex-shrink-typings
...
interface: fix flex-shrink typings
2021-04-22 17:09:39 -04:00
Logan Allen
6c0a7ceeef
interface: deleting links works
2021-04-22 15:26:31 -05:00
Logan Allen
b98f38e068
interface: deleting posts and comments works
2021-04-22 14:45:02 -05:00
Logan Allen
f697857eca
interface: update existing views to work with removePosts
2021-04-22 14:18:22 -05:00
Logan Allen
db6b98d31c
interface: update logic to work with removePosts
2021-04-22 14:17:55 -05:00
Logan Allen
f44236b7a2
graph-store: make validation work properly with type change
2021-04-22 14:17:01 -05:00
Tyler Brown Cifu Shuster
3325b5d5b8
npm: Updated http-api and api packages
2021-04-22 07:17:39 -07:00
janeway-bot
423613eed0
Merge b46f2e24e6
into release/next-js
2021-04-22 14:33:43 +04:00
Liam Fitzgerald
6c5d13bce0
publish: bin custom markdown css
2021-04-22 18:58:46 +10:00
Liam Fitzgerald
d8c721a4cc
publish: add GraphContentTall and use for notes
2021-04-22 18:58:39 +10:00
Liam Fitzgerald
f64d582a4e
tokeniseMessage: handle linebreaks correctly
2021-04-22 18:53:42 +10:00
Liam Fitzgerald
b46f2e24e6
glob: update to 0v3.g6u13.haedt.jt4hd.61ek5.6t30q
2021-04-22 18:00:19 +10:00
Liam Fitzgerald
08452efef8
interface: fix flex-shrink, grow typings pt.2
2021-04-22 16:35:44 +10:00
Liam Fitzgerald
a7afaf065d
interface: fix flex-shrink, grow typings
2021-04-22 16:30:13 +10:00
Joe Bryan
a2732a039f
u3: cleans up comments in u3s_sift_ud()
2021-04-21 22:32:40 -07:00
Joe Bryan
39a3d1f266
u3: updates u3s_sift_ud() to skip gmp allocation where possible
2021-04-21 22:22:04 -07:00
Liam Fitzgerald
24259dab87
Dropdown: check ref exists
...
Fixes urbit/landscape#805
2021-04-22 15:16:04 +10:00
Joe Bryan
5730958d90
u3: refactors u3s_sift_ud() control flow
2021-04-21 22:08:39 -07:00
Liam Fitzgerald
6f7ed005ae
VirtualScroller: fix race condition in ref deletion
...
A callback ref is called after the component is mounted, but before the
component is unmounted. However, we might still be adjusting scroll
position based on a component that is going to be remounted. Previously,
we delayed the deletion until the next tick with setTimeout. With the
faster ordered map implementation, the component may be remounted
before the next tick, leading to the deletion of a ref that is still
mounted. To work around this, we store a set of 'orphans' and clear the
map of orphans on an interval, and only clear the map if we are not
currently adjusting our scroll position. Also includes fixes for jumpy
scroll behaviour on initial mount.
2021-04-22 15:04:38 +10:00
Liam Fitzgerald
f80ca5a3da
virtualContext: fix useVirtualResizeProp
2021-04-22 15:02:21 +10:00
Joe Bryan
c084dc8c66
u3: replaces overly-lenient %ud parser in +slaw jet
2021-04-21 18:02:57 -07:00
Liam Fitzgerald
77fded3dab
GraphNotification: safe property access
2021-04-22 11:02:23 +10:00
Joe Bryan
d05ff8c188
u3: adds u3s_sift_ud/bytes %ud parser
2021-04-21 18:01:56 -07:00
Matilde Park
75f06a7c9e
landscape/logic: type safety adjustments
2021-04-21 17:22:08 -04:00
James Acklin
9587ccf5ca
links: prevent click in transcluded images, use hovered external arrow
2021-04-21 16:43:48 -04:00
James Acklin
b3f31516d2
chat: show clickable arrow action on remote image hover
2021-04-21 16:21:33 -04:00
James Acklin
4283aa93f5
chat: adjust ChatMessage color
2021-04-21 15:46:29 -04:00
James Acklin
d585c58b8f
chat: click name to copy ~patp in ProfileOverlay
2021-04-21 15:41:14 -04:00
James Acklin
efd088a372
chat: pointer cursor for attachment + dojo in input
2021-04-21 15:02:57 -04:00
James Acklin
3d40d37e80
interface: new messages icon
...
partially fixes urbit/landscape#560
2021-04-21 15:00:14 -04:00
James Acklin
6d9508abfc
chat: flush borders + round corners for images
2021-04-21 14:59:16 -04:00
James Acklin
8124f63215
chat: flush borders + round corners for images
2021-04-21 14:58:16 -04:00
matildepark
1a01e58b7b
Merge pull request #4798 from urbit/mp/landscape/action-bg
...
landscape: pass background colors to actions
2021-04-21 14:38:39 -04:00
Joe Bryan
a780295448
u3: remove unwanted assertions in emergency printf
2021-04-21 11:01:55 -07:00
matildepark
62e2ea39c2
Merge pull request #4794 from urbit/lf/fast-ordered-map
...
interface: fast BigIntOrderedMap
2021-04-21 12:06:07 -04:00
Matilde Park
156d0d380d
ColorInput: remove "#" from input value
...
Fixes urbit/landscape#803
2021-04-21 11:44:00 -04:00
Matilde Park
ab6239bf59
landscape: pass background colors to actions
...
Fixes urbit/landscape#802
2021-04-21 11:20:14 -04:00
Liam Fitzgerald
d40a495328
SwipeMenu: make faster
2021-04-21 17:26:31 +10:00
Liam Fitzgerald
c8ca6b9f9b
glob: update to 0v5.cokpj.dju6d.nnuti.980jl.h319v
2021-04-21 17:26:29 +10:00
Liam Fitzgerald
4489f6eee7
SwipeMenu: prevent wrong direction swipe
2021-04-21 16:45:16 +10:00
Liam Fitzgerald
d357593ef1
king: address ~pilfer-pandex review
2021-04-21 16:40:22 +10:00
Liam Fitzgerald
eb8d9b3f60
BigIntOrderedMap: remove lodash dependency
2021-04-21 16:39:35 +10:00
James Acklin
d7bee178c8
messages: PR fixes
...
fixes urbit/landscape#497
2021-04-20 20:43:20 -04:00
~locpyl-tidnyd
0ddde0b0d6
vere: export term.c:_write() as u3_write_fd(), use in dprintf() replacement
2021-04-21 01:08:19 +02:00
~locpyl-tidnyd
f06471cb31
vere: pipe serf stderr back to lord
...
When uv_spawn creates a process and any standard fds are set to UV_INHERIT_FD,
it ignores UV_PROCESS_WINDOWS_HIDE flags, and worker console pops up in -d mode.
2021-04-21 00:50:49 +02:00
fang
ba3a62f958
zuse: fix off-by-one in +wail:klr:format
2021-04-21 00:50:11 +02:00
fang
d1fba5d740
kh: correctly (re)store styled lines
...
We weren't accounting for the cursor column when storing output, nor
accounting for styled contents properly.
See also a8de23ca9
for the equivalent change in Vere.
2021-04-21 00:43:12 +02:00
Logan Allen
cd627d452c
metadata-store lib: replace crip, trip with rap 3
2021-04-20 16:25:43 -05:00
Logan Allen
c8565e2c3b
graph-store lib: skip trip and crip, use rap
2021-04-20 15:58:12 -05:00
Joe Bryan
e32a9b2c75
u3: abort all home-road bails
2021-04-20 11:58:38 -07:00
Joe Bryan
1a257b525c
u3: allow bail:meme through (a la bail:fail)
2021-04-20 11:56:37 -07:00
~locpyl-tidnyd
2389727f8f
u3: centralize use of u3_Signal
2021-04-20 11:03:38 -07:00
Joe Bryan
bb3661975d
Merge pull request #4779 from wexpertsystems/docker-curl-lens
...
Docker: add curl, implement scripts for obtaining +code from loopback
2021-04-20 09:28:16 -07:00
Liam Fitzgerald
ec7c456b19
interface: mark bigintorderedmap as immerable
2021-04-20 18:39:56 +10:00
Liam Fitzgerald
e27b899a9d
pull-hook: prevent subscription to own store
2021-04-20 18:24:49 +10:00
Liam Fitzgerald
8b52f14a20
pull-hook: do not renegotiate if versions did not change
2021-04-20 18:24:47 +10:00
Liam Fitzgerald
7f3d6ef212
push-hook: do not kick subs if versioning same
2021-04-20 18:08:02 +10:00
Liam Fitzgerald
268677e744
metadata-store: prevent infinite loop
2021-04-20 16:15:04 +10:00
Liam Fitzgerald
e6857d5797
king: do not commit files starting with a dot
2021-04-20 15:32:26 +10:00
Liam Fitzgerald
e63beeb271
glob: update to 0v4.m6t09.ego4v.atjn3.mn5p4.mchad
2021-04-20 15:06:10 +10:00
Liam Fitzgerald
f9cf711c69
Merge remote-tracking branch 'origin/release/next-js'
2021-04-20 14:53:28 +10:00
Liam Fitzgerald
e0a12bd7dd
Merge remote-tracking branch 'origin/la/no-data-contact'
2021-04-20 14:53:18 +10:00
Liam Fitzgerald
1a4b2699ca
Merge remote-tracking branch 'origin/la/md-fix'
2021-04-20 14:52:57 +10:00
Liam Fitzgerald
f038176169
Merge remote-tracking branch 'origin/la/font-display-swap'
2021-04-20 14:52:41 +10:00
Liam Fitzgerald
fc955ab83e
interface: new BigIntOrderedMap
...
New ordered map implementation that is faster and more space
efficient. Stores the map and keys as a flat POJO, sorting them upon
iteration. The sorting cost is only typically paid once per render
however as the sorted array is cached until the map is mutated. This
implementation appears to play nicer with immer's structural sharing,
reducing the incidence of 'props are equal by value, but not by
reference'.
2021-04-20 13:31:57 +10:00
Liam Fitzgerald
1ab925f84c
interface: unify BigIntOrderedMap imports
2021-04-20 13:11:39 +10:00
Liam Fitzgerald
45c0f3b8da
notifications: swipe to reveal dismiss menu
2021-04-20 13:08:58 +10:00
Liam Fitzgerald
3f56706dc3
interface: add mobile breakpoint to state
2021-04-20 13:05:50 +10:00
Liam Fitzgerald
c01a00bd6a
notifications: key notifications correctly
2021-04-20 12:53:41 +10:00
Liam Fitzgerald
a9d7584d64
interface: add SwipeMenu component
2021-04-20 12:47:49 +10:00
Liam Fitzgerald
2da4be0aac
interface: add @react-spring/web & react-use-gesture
2021-04-20 12:47:05 +10:00
fang
c180b92f2a
Merge pull request #4789 from urbit/m/acyou
...
acme: don't no-op for moons and comets
2021-04-20 01:20:51 +02:00
matildepark
110bcaa6ce
Merge pull request #4785 from urbit/la/fix-591
...
interface: fix #591 message display by time-sent in chat
2021-04-19 17:28:55 -04:00
matildepark
b090311964
Merge pull request #4689 from urbit/lf/form-merge
...
ChannelSettings: unify form handling
2021-04-19 17:22:16 -04:00
matildepark
fe61b8b7a9
Merge pull request #4782 from urbit/lf/notif-fixes
...
notifications: preferences screen, fix pagination
2021-04-19 17:18:03 -04:00
fang
2ab7fbd08f
acme: don't no-op for moons and comets
2021-04-19 23:00:02 +02:00
Logan Allen
7a44015924
graph-store: update +tag-queries to be a (jug term uid)
2021-04-19 15:53:07 -05:00
James Acklin
378c826239
messages: invite ships to existing group DMs, convert 1:1 DMs to new group DMs
...
fixes urbit/landscape#497
2021-04-19 16:37:34 -04:00
Logan Allen
fa59f87dc5
contact-store: disallow data: urls from being added
2021-04-19 14:38:33 -05:00
L
f26e63421e
Merge pull request #4777 from urbit/mp/group-feed/show-parent-if-parent
...
PostReplies: show parent author in parent postItem
2021-04-19 14:03:41 -05:00
Logan Allen
87feb74184
interface: group feed no longer shows in omnibox
2021-04-19 12:53:26 -05:00
Logan Allen
9a61daaa69
interface: fix #591 message display by time-sent in chat
2021-04-19 12:37:40 -05:00
Liam Fitzgerald
c92753d1ed
ChannelPopover: cancel dismisses popover
2021-04-19 15:58:44 +10:00
Liam Fitzgerald
f1be29389a
settings: default tutorial to seen
...
Prevents a race condition where the tutorial prompt will always show
2021-04-19 15:47:35 +10:00
matildepark
9a7f90bb63
Merge pull request #4783 from urbit/lf/tut-island-fix
...
launch: fix reversed destructure
2021-04-19 01:35:50 -04:00
Liam Fitzgerald
4c02bd0698
launch: fix reversed destructure
...
This was causing the tutorial to never be shown. This change should be
deployed with a new pill, to ensure comets show the tutorial.
2021-04-19 15:32:44 +10:00
Liam Fitzgerald
6128c8d096
notifications: bring preferences to spec
2021-04-19 15:24:30 +10:00
Liam Fitzgerald
988e614db4
interface: correctly scroll lock document
...
Even if overflow is hidden, certain mobile browsers may interpret a
scroll event to be on the document root, leading to strange and
inconsistent scrolling behaviours. Addresses this by adding
touch-action: none, which explicitly instructs browers to ignore this
element in scroll calculations.
2021-04-19 14:28:51 +10:00
Liam Fitzgerald
0ef452f8b3
notifications: update dismiss action styling
2021-04-19 13:26:21 +10:00
Liam Fitzgerald
048bd02604
notifications: fix broken pagination
...
Fixes urbit/landscape#788
2021-04-19 13:15:46 +10:00
Wexpert Systems
ae75305106
docker: update container documentation
...
Add docker container usage examples and document the newly included +code scripts.
2021-04-18 16:22:32 -04:00
James Acklin
47b5585df8
groups: NewChannel formatting
...
fixes urbit/landscape#497
2021-04-17 13:50:52 -04:00
James Acklin
3d09f89b73
messages: show invite link (no-op) if group DM
...
fixes urbit/landscape#497
2021-04-17 12:23:39 -04:00
édouard
deeab71831
sidebar: provide more contrast to sidebar items
...
Reverting this back to a most contrasty state in answer to frequent complaints of being unable to tell which channels were unread
2021-04-16 21:44:48 -04:00
fang
a8de23ca92
term: correctly (re)store styled lines
...
We were storing the contents of the bottom line, but not accounting for
style/escape characters when overwriting parts of it with new contents.
Here, we switch to storing a +stub noun in state instead, letting us
rely on the stdlib for the overwriting logic.
This comes at the cost of having to re-render the stub into an escape
sequence on every restore, but that has yet to prove itself slow enough
to care about.
2021-04-17 02:38:56 +02:00
édouard
503a3a8a49
invite notifications: fix radius of mention line
2021-04-16 20:28:50 -04:00
fang
2c837da6fa
zuse: add additional stub utilities in +klr
...
+wail, for overwriting part of a stub, starting at the given index,
extending it using the specified character if the index is past the end
of the stub.
+pact, for merging sequential stub sections with identical style.
2021-04-17 01:42:00 +02:00
fang
95c3a51ba1
zuse: make +slag:klr:format match +slag's behavior
...
Previously, if the given index was beyond the stub's content, it would
return the entire stub. Now, it correctly returns the empty stub.
2021-04-17 01:31:40 +02:00
Logan Allen
81dcab8aa0
apps: resolve style comments about ?- vs ?:
2021-04-16 16:54:30 -05:00
Logan Allen
050133338d
file-server: use rap 3 instead of cury cat 3
2021-04-16 16:45:22 -05:00
Matilde Park
55c1da67c6
PostReplies: show parent author in parent postItem
...
If an item is top of view, and has a parent,
we now render the parent author we are
replying to.
Fixes an unfiled bug
2021-04-16 16:05:14 -04:00
Logan Allen
3c8117db72
file-server: since %glob hash changes per commit, cache for 1wk instead of 1da
2021-04-16 13:01:27 -05:00
Logan Allen
751f3d1f24
server: fix session js caching, add cache threading for other response types, switch from tape to cord interpolation
2021-04-16 12:58:27 -05:00
Matilde Park
ec60ea6790
meta: enable package-lock on npm
...
You should enable package-locks so npm ci can run without creating
conflicts during preinstall.
2021-04-16 13:48:37 -04:00
Matilde Park
8b82aec6c2
MentionText: pass all ships with sigs
2021-04-16 12:28:06 -04:00
Matilde Park
cd6e44ac82
Merge branch 'release/next-js' into mp/landscape/indigo-bump
2021-04-16 12:12:08 -04:00
matildepark
f2d91fdc98
Merge pull request #4772 from urbit/mp/landscape/prod
...
meta/interface: re-integrate preinstall script with clean install
2021-04-16 12:08:44 -04:00
Matilde Park
290b8c7c38
notifications: add margins to each
...
Otherwise they are not distinguished apart.
2021-04-16 11:47:40 -04:00
fang
8716c49b45
kh: always draw spinner on bottom line
...
Now always draws the spinner on the bottom line, regardless of the
cursor position.
2021-04-16 15:11:33 +02:00
Liam Fitzgerald
d5bbc58c2b
Merge remote-tracking branch 'origin/release/next-js' into lf/notif-v2
2021-04-16 16:03:07 +10:00
Liam Fitzgerald
83901ece22
notifications: refactor invites to match spec
2021-04-16 16:02:26 +10:00
Liam Fitzgerald
3bd1e06f0f
notifications: refactor inbox to match spec
2021-04-16 16:02:05 +10:00
Liam Fitzgerald
801ccdad6f
notifications: refactor notification to match spec
2021-04-16 16:01:52 +10:00
Liam Fitzgerald
8bfb7da796
notifications: update header to match spec
2021-04-16 16:01:38 +10:00
Liam Fitzgerald
711bb8d88c
notifications: refactor group notification to match spec
2021-04-16 16:01:19 +10:00
Liam Fitzgerald
992b607e3c
notifications: refactor graph notification to match spec
2021-04-16 16:01:05 +10:00
Liam Fitzgerald
08028efcd7
interface: add utilities, fix useLazyScroll
2021-04-16 16:00:36 +10:00
Liam Fitzgerald
86552306c2
interface: add getters for stores
2021-04-16 15:59:02 +10:00
Liam Fitzgerald
63b3a37d86
Timestamp: set line-height
2021-04-16 15:57:42 +10:00
Liam Fitzgerald
dd9dfc0a9f
Author: fix mono spacing
2021-04-16 15:57:19 +10:00
Matilde Park
aefc267477
landscape: install using ci in most cases
2021-04-15 15:41:20 -04:00
Matilde Park
0892767f64
Revert "Revert "build: pkg/interface builds pkg/npm preinstall""
...
This reverts commit ebcd2136eb
.
2021-04-15 15:39:52 -04:00
Matilde Park
1c1377ab7d
landscape: bump indigo-react to 1.2.20
2021-04-15 15:19:48 -04:00
fang
fab0f65d58
term: bump on-return spinner delay from 0 to 100ms
...
Not drawing the spinner when the command gets processed nearly instantly
makes things feel slightly better.
2021-04-15 20:54:55 +02:00
Logan Allen
dea3fd6e8d
metadata-store: actually fix it, strongly type the action sent to %pull-hook to prevent moronic errors
2021-04-15 13:05:00 -05:00
fang
56f1ef3a4c
term: simpler blit rendering during -t
...
Separates blit rendering for logic for -t into a separate function.
Ensures we don't overwrite any rendered content and always put newlines
in between distinct pieces of output.
Also stops storing the bottom line of output in the -t case, since it
won't get re-rendered anyway.
Hopefully this makes CI output look nice again.
2021-04-15 16:35:49 +02:00
Joe Bryan
7084d8951d
Revert "Merge pull request #4769 from urbit/revert-4766-jb/cttp-crash-fix"
...
This reverts commit 6d17d4c845
, reversing
changes made to 8f330c2ddb
.
2021-04-14 20:24:36 -07:00
Joe Bryan
969be23f66
Revert "vere: fix cttp crash by accounting for synchronous error callback"
2021-04-14 20:16:52 -07:00
Joe Bryan
8f330c2ddb
Merge pull request #4766 from urbit/jb/cttp-crash-fix
...
vere: fix cttp crash by accounting for synchronous error callback
2021-04-14 20:15:48 -07:00
James Acklin
e473b3031f
imageInput: adds clear button
...
fixes urbit/landscape#785
2021-04-14 21:36:01 -04:00
fang
cf93320cf0
term: clean up escape sequence constants
...
Use them for all zero-argument sequences, remove unused ones, and make
their naming consistent.
Also removes old, commented code around input sequences.
2021-04-15 01:50:45 +02:00
fang
32a5e9085c
term: exclusive save cursor after explicit move
...
In other words, don't issue the ANSI escape sequence for saving the
cursor position at the start of a printf hijack sequence. Instead
trust this was already done when the cursor position was last changes
by a blit.
2021-04-15 01:18:43 +02:00
matildepark
9f98081452
Merge pull request #4752 from urbit/james/leap-selection
...
leap: deduplicate selection with mouse+keys
2021-04-14 18:53:28 -04:00
matildepark
05711cbe14
Merge pull request #4725 from urbit/james/image-input
...
interface: redesign ImageInput
2021-04-14 18:26:27 -04:00
Logan Allen
b97b68024e
-graph-add-nodes: make it compile and work with +maybe-post
2021-04-14 16:23:22 -05:00
Joe Bryan
bd4c15f2d1
vere: print url on cttp parse failure
2021-04-14 14:22:12 -07:00
Joe Bryan
5fe96953bf
vere: fix cttp crash by accounting for synchronous error callback
2021-04-14 14:04:42 -07:00
Logan Allen
913ea00072
tally: compile and work properly with deleted posts
2021-04-14 15:58:12 -05:00
Logan Allen
90fbaf6650
graph-update mark upgrade from 1 -> 2
2021-04-14 15:51:37 -05:00
Logan Allen
45fb7e69f3
graph-store: use +lien instead of manual recursion
2021-04-14 15:39:34 -05:00
Logan Allen
b319928059
graph-store: rewrite %remove-nodes logic to be referentially transparent %remove-posts
2021-04-14 15:33:15 -05:00
James Acklin
95b4f4007b
imageInput: eliminate closures as components
...
fixes urbit/landscape#695
2021-04-14 16:31:21 -04:00
Tyler Brown Cifu Shuster
bbafcc6d6f
sidebar: typesafe notifications check
2021-04-14 13:03:36 -07:00
Logan Allen
d144af2e5b
graph-store: migration code moved into lib, graph-store compiles with stubbed out %remove-posts
2021-04-14 14:26:36 -05:00
Matilde Park
2949701c7f
publish: tokenise content
...
Fixes urbit/landscape#284
2021-04-14 15:20:18 -04:00
fang
e93d50b3ee
term: remove legacy conditional
2021-04-14 20:53:22 +02:00
fang
cbd6a919cb
term: remove unused %hook code
2021-04-14 20:50:42 +02:00
Logan Allen
52b04c515a
graph-push-hook: compiles and handles %add and %remove forwarding
2021-04-14 13:49:25 -05:00
fang
a09bb86cc6
dill: resolve review questions
2021-04-14 20:35:47 +02:00
fang
c55ebf36a4
kh: don't show spinner name for user inputs
2021-04-14 20:35:17 +02:00
fang
98d48913bf
kh: improve term code style
...
Based on feedback during review.
2021-04-14 17:10:50 +02:00
Logan Allen
2dd6e9a661
hark-graph-hook: make it compile
2021-04-13 16:30:35 -05:00
Logan Allen
fb04a88031
chat-store: depreacate and tear it apart
2021-04-13 16:18:16 -05:00
Logan Allen
d285dc4dff
chat-cli: update to work with new structures
2021-04-13 16:18:05 -05:00
Logan Allen
fb0f169c09
graph-store: add referential transparency to structures file and update libs to compile
2021-04-13 16:17:39 -05:00
Logan Allen
f3001e122f
graph-store: clean up old migrations
2021-04-13 15:38:42 -05:00
James Acklin
8e866f3262
leap: belt-and-suspenders patp match
...
fixes urbit/landscape#598
2021-04-13 16:34:50 -04:00
Matilde Park
27ed29b257
landscape: fix s3 link
...
Fixes urbit/landscape#768
2021-04-13 16:06:33 -04:00
Matilde Park
80bc6c7054
GraphContent: allow titled links in textrenderer
...
Fixes urbit/landscape#752
2021-04-13 16:05:50 -04:00
Matilde Park
bd8590a80a
publish: fix cross-theme color mismatch
...
Fixes urbit/landscape#746
2021-04-13 15:59:33 -04:00
Matilde Park
b01f14d837
landscape: fix line-height of CommentItem
...
Fixes urbit/landscape#731
2021-04-13 15:55:20 -04:00
Matilde Park
103547ba3b
landscape: hide 'promote to admin' on pending patp
...
Fixes urbit/landscape#694
2021-04-13 15:42:53 -04:00
Matilde Park
421dc97a64
RemoteContent: redesign embedded content
...
Fixes urbit/landscape#693
2021-04-13 15:37:40 -04:00
Matilde Park
3245465281
JoinGroup: redirect if we have the group
...
Joining a group we have fails. We now redirect to the workspace.
Fixes urbit/landscape#683
2021-04-13 14:12:10 -04:00
Matilde Park
1ae61a0715
profile: pad and optimise on small viewports
...
Fixes urbit/landscape#658
2021-04-13 14:04:10 -04:00
Matilde Park
d9f8ebd5fe
landscape: Author copies patp on click
...
Fixes urbit/landscape#578
2021-04-13 13:57:11 -04:00
James Acklin
62ab69f319
leap: yank window.ship from contacts
...
fixes urbit/landscape#598
2021-04-13 08:22:39 -04:00
Liam Fitzgerald
d37ad069d7
metadata-store: fix OTA 2
2021-04-13 09:27:59 +00:00
Liam Fitzgerald
ec41003a86
metadata-store: fix broken OTA
2021-04-13 16:33:21 +10:00
Liam Fitzgerald
5062c1f683
glob: update to 0v6.qafur.17301.j8obh.vbepn.7tq3l
2021-04-13 16:12:38 +10:00
Liam Fitzgerald
59c1a7356e
Merge remote-tracking branch 'origin/release/next-js'
2021-04-13 16:00:03 +10:00
Liam Fitzgerald
bc84cfa3fd
Merge branch 'lf/remove-tag'
2021-04-13 15:59:51 +10:00
Liam Fitzgerald
85b580f922
Merge remote-tracking branch 'origin/la/fix-feed'
2021-04-13 15:59:26 +10:00
Liam Fitzgerald
ff3abff800
Merge branch 'lf/lowercase-http'
2021-04-13 15:58:52 +10:00
Liam Fitzgerald
64a62e9f85
Merge branch 'lf/fix-sane'
2021-04-13 15:58:23 +10:00
Liam Fitzgerald
1e7c5dff59
file-server: lowercase headers for http2
2021-04-13 15:19:08 +10:00
James Acklin
e80101ab0a
leap: yank own ~patp from results
...
fixes urbit/landscape#598
2021-04-12 22:23:19 -04:00
matildepark
26e70d8550
Merge pull request #4755 from urbit/lf/scroll-pos-reset-publish
...
landscape: grabbag
2021-04-12 19:45:42 -04:00
Liam Fitzgerald
505528c59b
launch: fix group notification display
...
Fixes urbit/landscape#720
Fixes urbit/landscape#656
2021-04-13 09:32:36 +10:00
Matilde Park
8f0c72ffa6
landscape: sidebar uses black100 for all synced
...
Fixes urbit/landscape#678
2021-04-12 17:05:22 -04:00
Matilde Park
bdefbcbcf2
ProfileOverlay: restore DM button
...
Dropped in a merge conflict resolution.
Fixes urbit/landscape#757
2021-04-12 17:00:24 -04:00
James Acklin
d6727c042c
profile: imageinput instance fixes
...
fixes urbit/landscape#695
2021-04-12 16:42:09 -04:00
James Acklin
cc0caa5aa5
Merge branch 'release/next-js' into james/image-input
2021-04-12 15:34:16 -04:00
James Acklin
92c39dc526
leap: hide pointer while navigating by keyboard
...
fixes urbit/landscape#598
2021-04-12 15:12:03 -04:00
James Acklin
1f70fdbf2d
leap: set selection on mousemove, not hover (account for scrolling)
...
fixes urbit/landscape#598
2021-04-12 14:51:41 -04:00
Matilde Park
75cbf96b2b
MentionText: inline mentions
...
Fixes urbit/landscape#763
2021-04-12 12:17:00 -04:00
matildepark
9bb3cfb90f
Merge pull request #4746 from urbit/lf/notifications-load
...
notifications: prevent race condition causing empty notifications
2021-04-12 11:32:12 -04:00
matildepark
0d8b1862cc
Merge pull request #4739 from urbit/lf/post-hark
...
Group Feed: unread counts
2021-04-12 11:09:38 -04:00
James Acklin
4a3bc6fa22
leap: set selection to currently-hovered item
...
fixes urbit/landscape#598
2021-04-11 21:58:25 -04:00
James Acklin
b42d54349f
leap: prettier js/tsx
...
fixes urbit/landscape#598
2021-04-11 17:26:35 -04:00
Logan Allen
f733f68008
metadata-store: subscribe to all feeds that got missed in the upgrade
2021-04-09 21:20:27 +00:00
Logan Allen
0699c2c52c
interface: use font-display: swap;
2021-04-09 16:11:57 +00:00
Logan Allen
5d16911f69
eyre: use font-display:swap; in login page
2021-04-09 16:02:55 +00:00
Liam Fitzgerald
07d13b536b
RemoteContent: fix video, audio overflow
...
Fixes urbit/landscape#756
2021-04-09 12:14:50 +10:00
Liam Fitzgerald
7bbef74ffe
ShipSearch: fix error reporting
...
Fixes urbit/landscape#753
2021-04-09 12:05:02 +10:00
Liam Fitzgerald
3903ff8ad3
Publish: reset scroll on nav change
...
Fixes urbit/landscape#758
2021-04-09 11:53:56 +10:00
Liam Fitzgerald
027fd225a9
notifications: prevent race condition causing empty notifications
...
Fixes urbit/landscape#741
2021-04-09 11:42:09 +10:00
Liam Fitzgerald
7340f3f7e5
Merge pull request #4743 from urbit/james/group-forwarding
...
groups: forward to already-joined group from GroupLink
2021-04-09 11:22:37 +10:00
Liam Fitzgerald
1b1d7e9e80
FormGroup: address review
2021-04-09 10:22:44 +10:00
Liam Fitzgerald
0617a1ff55
Merge remote-tracking branch 'origin/release/next-js' into lf/form-merge
2021-04-09 10:04:04 +10:00
Liam Fitzgerald
1c2aa24c7a
PostContent: fix bottom spacing
2021-04-09 09:55:41 +10:00
Liam Fitzgerald
623e13bd3e
Merge remote-tracking branch 'origin/release/next-js' into lf/graph-unification
2021-04-09 09:53:59 +10:00
James Acklin
2477b2248e
groups: forward to already-joined group from GroupLink
...
fixes urbit/landscape#593
2021-04-08 17:27:57 -04:00
James Acklin
b19233633b
groups: set universal maxWidth of GroupDescription
...
fixes urbit/landscape#728
2021-04-08 16:36:08 -04:00
James Acklin
8b43984831
Merge branch 'release/next-js' into james/empty-group-home
2021-04-08 08:05:35 -04:00
Liam Fitzgerald
087103b3f4
GroupFeed: show unread count
2021-04-08 16:38:55 +10:00
Liam Fitzgerald
887a12ba0c
interface: surface and dismiss unread counts
2021-04-08 16:05:20 +10:00
Liam Fitzgerald
1c939b4861
graph-validator-post: enable unreads and notifications
2021-04-08 16:05:17 +10:00
Liam Fitzgerald
baf365b63b
glob: update to 0v4.7tk5q.9ha4l.tbmji.fvkno.s9pfq
2021-04-08 15:20:20 +10:00
Liam Fitzgerald
8b5a69a56f
Merge remote-tracking branch 'origin/la/warm-marks'
2021-04-08 15:13:04 +10:00
Liam Fitzgerald
a22db08ff6
interface: update package-lock.json
2021-04-08 10:02:40 +10:00
Logan Allen
59ece927c2
observe-hook: style fixes as per joe's review
2021-04-07 12:19:26 -05:00
Liam Fitzgerald
2e41b7657e
ChatMessage: prevent link overflow
...
Fixes urbit/landscape#732
2021-04-07 17:08:11 +10:00
Jōshin
8112c8a041
Merge pull request #4735 from urbit/jo/gcp/conf
...
gcp: isConfigured doesn't touch store
2021-04-06 22:18:57 -07:00
Liam Fitzgerald
8272902a7a
PostContent: use unified graph rendering
2021-04-07 14:27:38 +10:00
Liam Fitzgerald
d06fcc741d
CommentItem: use unified graph rendering
2021-04-07 13:15:24 +10:00
Liam Fitzgerald
156f91adb5
ChatMessage: refactor content rendering
2021-04-07 13:14:52 +10:00
Liam Fitzgerald
186ac17d5d
useHovering: memoize hooks
2021-04-07 13:13:39 +10:00
Liam Fitzgerald
5f8437dbad
useCopy: expose didCopy state
2021-04-07 13:11:56 +10:00
Liam Fitzgerald
6bae511b9d
Merge pull request #4731 from urbit/lf/edit-profile-crash
...
EditProfile: do not mutate contact
2021-04-07 12:01:00 +10:00
L
feafdfaf43
Merge pull request #4730 from urbit/lf/callback-capture
2021-04-06 20:13:29 -05:00
L
1d43fd9f0b
Merge pull request #4733 from urbit/lf/darkmode-publish-transclusion
2021-04-06 20:08:20 -05:00
Liam Fitzgerald
705ee08727
Merge pull request #4728 from urbit/lf/immer-orm
...
interface: mark BigIntOrderedMap compat with immer
2021-04-07 11:07:49 +10:00
Logan Allen
c7e4291d6d
observe-hook: ask for next case as opposed to now.bowl when using %next, unless riot is null. small cleanup
2021-04-06 18:51:32 -05:00
Jōshin
78faf9ba25
Merge remote-tracking branch 'origin/release/next-js' into jo/gcp/conf
2021-04-06 22:31:01 +00:00
Logan Allen
faf1f83e8f
graph-store: remove obsoleted code necessary to keep graph marks warm
2021-04-06 17:21:09 -05:00
Liam Fitzgerald
9e5ecc303c
Merge pull request #4734 from urbit/jo/tsc
2021-04-07 08:14:41 +10:00
Logan Allen
c6616a7e9d
observe-hook: listen for mark additions
2021-04-06 16:47:17 -05:00
L
c69b15d3a5
Merge pull request #4729 from urbit/lf/sub-restart
...
subscription: clear opened subs before restart
2021-04-06 16:41:30 -05:00
Logan Allen
744b9f2334
observe-hook: remove debugging code
2021-04-06 16:19:22 -05:00
Logan Allen
5f14b21636
observe-hook: warm up caches in +on-init also, not just +on-load
2021-04-06 16:02:18 -05:00
Logan Allen
01890fa040
observe-hook: upgrade to keep marks warm
2021-04-06 15:47:57 -05:00
Jōshin
4aa9bba5b3
gcp: isConfigured doesn't touch store
...
Makes the thread return a simple boolean; almost as simple as just
returning %.y or %.n.
gcpManager now stores whether GCP is configured as a private variable.
Also fixes some type errors in gcp.
2021-04-06 19:08:53 +00:00
Jōshin
272cc6905e
interface: no nullish assignment
...
Typescript as of 3.7 understands null coalescing (??), but nullish
assignment (??=) is not available until 4.0.
This broke `npm run tsc`, preventing other type errors from showing up.
2021-04-06 18:05:55 +00:00
Jōshin
2dba1d0504
interface: remove broken/unused MetadataForm
...
It was causing tsc to hard-fail due to an extra comma on L70.
2021-04-06 17:57:55 +00:00
Jōshin
88317eefe5
Merge pull request #4655 from urbit/jo/gcp/is-token
...
interface: type annotations, imports
2021-04-06 09:05:31 -07:00
Liam Fitzgerald
6da3877430
Invite: fix stale props in inviteAccept callback
...
Now that the store is immutable, callbacks that close over props will
see stale props because the reference is captured at instantiation. This
was not an issue previously, because the references would be directly
mutated. To remedy this, useRunIO has been added, which takes an async
function to run for the actual network processing, and a second
callback, which is able to see fresh props because it is not
instantiated until the async callback has resolved successfully.
Importantly, useRunIO does not resolve until the second callback has
finished, preserving the semantics of the callback for Formik handlers
and the like.
Fixes urbit/landscape#691
2021-04-06 15:50:21 +10:00
Liam Fitzgerald
f592b33d89
subscription: clear opened subs before restart
2021-04-06 14:33:56 +10:00
Liam Fitzgerald
c60a41b26d
publish: fix color in darkmode
...
Fixes urbit/landscape#736
2021-04-06 11:54:31 +10:00
Liam Fitzgerald
31717ae908
sane: don't kick unsubscribed
...
Fixes urbit/landscape#735
2021-04-06 11:47:48 +10:00
Liam Fitzgerald
067991533a
EditProfile: do not mutate contact
...
Fixes urbit/landscape#698
2021-04-06 11:43:58 +10:00
Liam Fitzgerald
c398b2c0e4
interface: mark BigIntOrderedMap compat with immer
...
Fixes urbit/landscape#707
Fixes urbit/landscape#740
2021-04-06 08:28:53 +10:00
fang
65602198fc
aqua: use most-recent blit type
2021-04-05 22:55:12 +02:00
fang
1c6d5ea341
dill: remove viewers when deleting a session
...
We do not allow subscribing to non-existent sessions, so we should not
allow staying subscribed to deleted sessions.
2021-04-05 22:49:28 +02:00
fang
51492917d7
herm: support non-default dill sessions
...
Notably keeps session "subscriptions" open until the session is deleted.
Perhaps we should optimize that at some point?
2021-04-05 22:49:05 +02:00
fang
33865ca87a
dill: add scry endpoints for session discovery
2021-04-05 22:42:07 +02:00
fang
d93e9c6dd4
dill: store width for session when it changes
2021-04-05 22:41:46 +02:00
fang
91f32ee098
dill: reify sessions interface
...
Implements tasks for creating and deleting new sessions, and allows
terminal handler agents to distinguish between sessions.
Includes bits of preparation in drum to more fully support multiple
distinct sessions, but doesn't get it all the way there just yet.
2021-04-05 22:37:38 +02:00
fang
5ef68d38c7
gall: stop sending %onto
...
Gall would send %onto gifts to notify about app updates and update
failures. This would end up in dill, which printed some appropriate
text.
Here, we make gall responsible for doing this printing itself (by
having it explicitly ask dill to print some tape/tank), instead of
relying on the receiving end of some bespoke notification protocol.
2021-04-04 17:22:41 +02:00
fang
c4f470ec15
dill: properly support %talk, tanks printing
...
Also allowing for sequences of tanks. (Not to be confused with +tang,
which has stack trace/reverse-order semantics.)
2021-04-04 17:15:36 +02:00
James Acklin
24ca01a10c
interface: adds clickable instructions to ImageInput, removes truncation in settings
...
fixes urbit/landscape#695 , fixes urbit/landscape#581
2021-04-03 17:30:18 -04:00
James Acklin
f0c3f37b0e
groups: resize group summary
...
fixes urbit/landscape#728
2021-04-03 12:04:01 -04:00
janeway-bot
264fce214b
Merge fbd85abf4e
into release/next-js
2021-04-03 06:24:18 +04:00
Liam Fitzgerald
fbd85abf4e
Merge remote-tracking branch 'origin/master' into lf/push-hook-unver
2021-04-03 12:54:35 +11:00
Liam Fitzgerald
b6a758b1f9
pull-hook: noop on unsupported, unversioned facts
...
Pull-hook side of the previous change to push-hook
(479fbfd798
). Noop on unsupported
unversioned marks, waiting for the publisher to upgrade and kick. Same
tradeoffs as previous change apply.
2021-04-03 10:45:22 +10:00
Liam Fitzgerald
f1710c2f03
metadata: restore historical marks
2021-04-03 10:33:31 +10:00
janeway-bot
9ccf490f5b
Merge 6ed5ccbc4e
into release/next-js
2021-04-03 01:09:18 +04:00
janeway
6ed5ccbc4e
glob: update to 0v2i7ds.j99ka.5dpja.pef1e.b04e0
2021-04-02 17:02:40 -04:00
Matilde Park
e870c251cc
Merge branch 'mp/landscape/mention-overlays' ( #4718 )
...
* origin/mp/landscape/mention-overlays:
landscape: restore profile overlays on mention clicks
Signed-off-by: Matilde Park <matilde.park@gmail.com>
2021-04-02 16:51:24 -04:00
Matilde Park
39ce6f9d58
Merge branch 'mp/landscape/sidebar' ( #4719 )
...
* origin/mp/landscape/sidebar:
landscape: fix 'my channels' sidebar logic
Signed-off-by: Matilde Park <matilde.park@gmail.com>
2021-04-02 16:51:00 -04:00
Matilde Park
c559b3f86b
Merge branch 'la/met-json' ( #4720 )
...
* origin/la/met-json:
metadata lib: parse right
metadata-store lib: make config encode/decode invertible
Signed-off-by: Matilde Park <matilde.park@gmail.com>
2021-04-02 16:50:38 -04:00
Logan Allen
21b1119c74
metadata lib: parse right
2021-04-02 20:35:25 +00:00