Liam Fitzgerald
a7afaf065d
interface: fix flex-shrink, grow typings
2021-04-22 16:30:13 +10:00
matildepark
72b1650635
Merge pull request #4802 from urbit/mp/landscape/type-safety-1
...
landscape/logic: type safety adjustments
2021-04-22 01:51:55 -04: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
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
janeway-bot
b94ef07150
Merge bb3661975d
into release/next-js
2021-04-20 20:28:43 +04: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
janeway-bot
55594292ff
Merge 268677e744
into release/next-js
2021-04-20 10:36:15 +04: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
janeway-bot
3f294c6b38
Merge e63beeb271
into release/next-js
2021-04-20 09:12:49 +04: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