Commit Graph

9313 Commits

Author SHA1 Message Date
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
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
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
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
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
é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
édouard
503a3a8a49 invite notifications: fix radius of mention line 2021-04-16 20:28:50 -04: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
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
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
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
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
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
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
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
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