Commit Graph

9192 Commits

Author SHA1 Message Date
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
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
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
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