Commit Graph

9353 Commits

Author SHA1 Message Date
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
janeway-bot
423613eed0
Merge b46f2e24e6 into release/next-js 2021-04-22 14:33:43 +04: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
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
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
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
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
Logan Allen
52b04c515a graph-push-hook: compiles and handles %add and %remove forwarding 2021-04-14 13:49:25 -05: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