Commit Graph

9415 Commits

Author SHA1 Message Date
Liam Fitzgerald
9304409e8b
ChatResource: cap initial backlog 2021-04-27 11:33:45 +10:00
janeway-bot
1262a04a41
Merge 6e34c320fe into release/next-js 2021-04-27 05:16:02 +04:00
Philip Monk
6e34c320fe
Merge remote-tracking branch 'origin/release/next-vere' 2021-04-26 18:15:13 -07:00
pilfer-pandex
b2c2aa2240
Merge pull request #4792 from urbit/lf/king-fix-hidden-files
king: do not commit files starting with a dot
2021-04-26 19:23:15 -04:00
pilfer-pandex
db87197479 urbit: bump version to 1.4 2021-04-26 19:22:21 -04:00
pilfer-pandex
94ad4ec3ac king: fix typo in UDP.hs comment 2021-04-26 18:58:14 -04:00
matildepark
77219c6825
Merge pull request #4821 from urbit/mp/landscape/me-highlight
landscape: highlight content mentioning our ship
2021-04-26 16:04:23 -04:00
L
ef69505c62
Merge pull request #4811 from urbit/mp/landscape/timestamps
landscape: restore timestamps across interface
2021-04-26 15:02:02 -05:00
L
0e99a874ba
Merge pull request #4799 from urbit/mp/landscape/color-input-pound
ColorInput: remove "#" from input value
2021-04-26 15:01:38 -05:00
James Acklin
ff3d1822c2 chat: persist submit button 2021-04-26 15:49:02 -04:00
matildepark
844bc1f8f4
Merge pull request #4801 from urbit/james/visual-grabbag
chat: jimmy's visualfix omnibus
2021-04-26 14:57:22 -04:00
James Acklin
b8c495c563 chat: no shrinking avatar in ChatInput 2021-04-26 14:33:12 -04:00
Logan Allen
79fe01a434 graph-store/push-hook: remove old mark warming, organize 2021-04-26 13:28:13 -05:00
Liam Fitzgerald
26d822c3b2
ChatMessage: remove dead props 2021-04-26 17:06:33 +10:00
Liam Fitzgerald
88a9d9ad1c
ChatResource: remove unnecessary props 2021-04-26 17:06:14 +10:00
Liam Fitzgerald
ae840659da
ChatWindow: remove unnecessary props 2021-04-26 17:05:57 +10:00
Liam Fitzgerald
6308579588
interface: remove dead pendings 2021-04-26 17:05:00 +10:00
Liam Fitzgerald
7a6b2eb015
virtualContext: drop useLayoutEffect 2021-04-26 17:04:36 +10:00
Liam Fitzgerald
aaea592cfc
VirtualScroller: rework for less memory use, faster speeds 2021-04-26 17:04:14 +10:00
Liam Fitzgerald
c1f055d46e
interface: make BigIntOrderedMap immutable 2021-04-26 16:59:38 +10:00
Liam Fitzgerald
c039f1e142
interface: remove unnecessary routing props 2021-04-26 16:35:11 +10:00
James Acklin
cb6b4e14e0 chat: stateful send button in ChatInput 2021-04-25 23:00:06 -04:00
Matilde Park
1d5cff849d landscape: highlight content with our mentions 2021-04-25 15:45:51 -04:00
Wexpert Systems
d415610ac9
docker: update documentation
Minor documentation update to fix the examples and clarify best practices for setting and mapping the Ames UDP port while running Urbit in docker.
2021-04-25 12:02:56 -04:00
matildepark
bd81b4408e
Merge pull request #4816 from urbit/mp/landscape/banner-tweak
chat: prevent shrinking of share banner
2021-04-24 21:54:54 -04:00
James Acklin
47c8075294 chat: threshold send button & chatinput fixes 2021-04-24 21:42:21 -04:00
Matilde Park
789c5de615 landscape: fix un-set avatars in participants list 2021-04-24 16:05:12 -04: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
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
Logan Allen
27e5a6aef4 omnibox: add maybe operators 2021-04-23 14:34:39 -05: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
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
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
7a44015924 graph-store: update +tag-queries to be a (jug term uid) 2021-04-19 15:53:07 -05: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
Logan Allen
81dcab8aa0 apps: resolve style comments about ?- vs ?: 2021-04-16 16:54:30 -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
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