Commit Graph

25126 Commits

Author SHA1 Message Date
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
Liam Fitzgerald
067991533a
EditProfile: do not mutate contact
Fixes urbit/landscape#698
2021-04-06 11:43:58 +10:00
Liam Fitzgerald
c398b2c0e4
interface: mark BigIntOrderedMap compat with immer
Fixes urbit/landscape#707
Fixes urbit/landscape#740
2021-04-06 08:28:53 +10:00
James Acklin
24ca01a10c interface: adds clickable instructions to ImageInput, removes truncation in settings
fixes urbit/landscape#695, fixes urbit/landscape#581
2021-04-03 17:30:18 -04:00
James Acklin
f0c3f37b0e groups: resize group summary
fixes urbit/landscape#728
2021-04-03 12:04:01 -04:00
janeway-bot
264fce214b
Merge fbd85abf4e into release/next-js 2021-04-03 06:24:18 +04:00
Liam Fitzgerald
fbd85abf4e
Merge remote-tracking branch 'origin/master' into lf/push-hook-unver 2021-04-03 12:54:35 +11:00
Liam Fitzgerald
b6a758b1f9
pull-hook: noop on unsupported, unversioned facts
Pull-hook side of the previous change to push-hook
(479fbfd798). Noop on unsupported
unversioned marks, waiting for the publisher to upgrade and kick. Same
tradeoffs as previous change apply.
2021-04-03 10:45:22 +10:00
Liam Fitzgerald
f1710c2f03
metadata: restore historical marks 2021-04-03 10:33:31 +10:00
janeway-bot
9ccf490f5b
Merge 6ed5ccbc4e into release/next-js 2021-04-03 01:09:18 +04:00
janeway
6ed5ccbc4e glob: update to 0v2i7ds.j99ka.5dpja.pef1e.b04e0 2021-04-02 17:02:40 -04:00
Matilde Park
e870c251cc Merge branch 'mp/landscape/mention-overlays' (#4718)
* origin/mp/landscape/mention-overlays:
  landscape: restore profile overlays on mention clicks

Signed-off-by: Matilde Park <matilde.park@gmail.com>
2021-04-02 16:51:24 -04:00
Matilde Park
39ce6f9d58 Merge branch 'mp/landscape/sidebar' (#4719)
* origin/mp/landscape/sidebar:
  landscape: fix 'my channels' sidebar logic

Signed-off-by: Matilde Park <matilde.park@gmail.com>
2021-04-02 16:51:00 -04:00
Matilde Park
c559b3f86b Merge branch 'la/met-json' (#4720)
* origin/la/met-json:
  metadata lib: parse right
  metadata-store lib: make config encode/decode invertible

Signed-off-by: Matilde Park <matilde.park@gmail.com>
2021-04-02 16:50:38 -04:00
Matilde Park
a7ac84bc1b Merge branch 'mp/comments/background' (#4721)
* origin/mp/comments/background:
  invites: prevent from flexshrinking closed on safari
  commentItem: fix background on actions

Signed-off-by: Matilde Park <matilde.park@gmail.com>
2021-04-02 16:50:19 -04:00
Logan Allen
21b1119c74 metadata lib: parse right 2021-04-02 20:35:25 +00:00
Matilde Park
5305d0770f invites: prevent from flexshrinking closed on safari 2021-04-02 15:39:40 -04:00
Matilde Park
a059f85952 commentItem: fix background on actions 2021-04-02 15:38:56 -04:00
Logan Allen
6fbbe2ceb7 metadata-store lib: make config encode/decode invertible 2021-04-02 19:18:59 +00:00
Matilde Park
de8e7b5937 landscape: fix 'my channels' sidebar logic 2021-04-02 15:08:42 -04:00
matildepark
ce890c12d0
Merge pull request #4717 from urbit/james/sigil-corners
miniprofile: rectify sigil corners
2021-04-02 14:53:11 -04:00
Matilde Park
c4903fa1fd landscape: restore profile overlays on mention clicks 2021-04-02 14:51:16 -04:00
James Acklin
c889fd5638 chat: rectify sigil corners
fixes urbit/landscape#725
2021-04-02 14:49:35 -04:00
janeway-bot
bc2f6107b9
Merge ea5dc47eca into release/next-js 2021-04-02 19:06:59 +04:00
Liam Fitzgerald
ea5dc47eca
glob: update to 0v2.utsjo.ghhil.f0qh8.h5633.ffi8u 2021-04-03 01:04:52 +10:00
janeway-bot
621bcc8be4
Merge 4bc7952d56 into release/next-js 2021-04-02 18:57:25 +04:00
Liam Fitzgerald
4bc7952d56
omnibox: update for new metadata 2021-04-03 00:56:48 +10:00
Liam Fitzgerald
7e1a6ae541
embeds: address review 2021-04-03 00:23:16 +10:00
Liam Fitzgerald
f27fa5b0f3
metadata: fix updating graph metadata 2021-04-02 23:23:31 +10:00
Liam Fitzgerald
01960286d0
push-hook: do not pass facts to unsupported, unversioned subs 2021-04-02 22:14:15 +10:00
Liam Fitzgerald
e52f8ab9e3
GroupSettings: show feed settings correctly 2021-04-02 21:51:28 +10:00
Liam Fitzgerald
72fc0f02c3
interface: do not wait for deletion before navigation
Fixes urbit/landscape#706
2021-04-02 21:50:45 +10:00
Liam Fitzgerald
0ef5c5b562
chat: focus at end of input
Fixes urbit/landscape#715
2021-04-02 21:46:20 +10:00
Liam Fitzgerald
bbf07c4139
interface: fix subscription reconnect
Fixes urbit/landscape#713
2021-04-02 21:46:19 +10:00
Liam Fitzgerald
f50bea444a
embeds: adjust scroll on load 2021-04-02 21:46:06 +10:00
Liam Fitzgerald
b552460a5e
RemoteContent: rescale replaced elements correctly
Fixes urbit/landscape#708
2021-04-02 20:40:23 +10:00
Liam Fitzgerald
479fbfd798
push-hook: noop on unversioned, unsupported watches
Mainnet is currently experiencing undue load due to a watch-kick loop.
If the watch is unsupported, it will be kicked due to a mark mismatch,
which will be interpreted by the unversioned hooks as a network pressure
kick, prompting a resub and continuing the loop. Instead, we now no-op
on unversioned, unsupported watches, waiting for the subscriber to
rewatch after it processes the versioning OTA. This will silently break
groups for the subscriber until the reach the latest OTA, but is
preferable to nacking, and kicking them permanently
2021-04-02 20:38:22 +10:00
janeway-bot
80c68ab57e
Merge f322360dca into release/next-js 2021-04-02 09:58:30 +04:00
Liam Fitzgerald
f322360dca
glob: update to 0v5.ancat.1qorl.7rea9.55ltu.2r24p 2021-04-02 15:38:35 +10:00
Liam Fitzgerald
510524e3da
notifications: include custom avatar
Fixes urbit/landscape#710
2021-04-02 15:30:04 +10:00
Liam Fitzgerald
eb131e64a8
metadata: prevent crash 2021-04-02 15:24:26 +10:00
Liam Fitzgerald
315804e698
PostInput: fix replying with a link 2021-04-02 15:19:39 +10:00