Commit Graph

9165 Commits

Author SHA1 Message Date
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
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
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
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
Liam Fitzgerald
63ba664c03
interface: fix link underline on ff 2021-04-02 15:14:09 +10:00
Liam Fitzgerald
726f0c1d58
chat-editor: focus on reply 2021-04-02 14:56:54 +10:00
Liam Fitzgerald
2bbff45c38
notifications: correct background for action 2021-04-02 14:54:57 +10:00
Liam Fitzgerald
47c59de82f
notifications: fix post url 2021-04-02 14:39:17 +10:00
Liam Fitzgerald
5c47bf5bc0
Launch: remove dev cruft 2021-04-02 14:37:32 +10:00
Liam Fitzgerald
4d659be7cf
metadata: fix JSON conversions 2021-04-02 14:35:41 +10:00
Liam Fitzgerald
75baa3f97d
Embed: prevent 404 on graph links 2021-04-02 14:25:59 +10:00
Liam Fitzgerald
8325f232f3
GroupLink: cap at 500px 2021-04-02 14:24:31 +10:00
Matilde Park
ebcd2136eb Revert "build: pkg/interface builds pkg/npm preinstall"
This reverts commit ca1c9e471f.
2021-04-01 23:50:47 -04:00
Liam Fitzgerald
511f48d35b
Merge branch 'master' into release/next-js 2021-04-02 13:39:51 +10:00
Liam Fitzgerald
8d455eeac1
glob: update to 0v6.i86m5.f4rs9.l09fu.a7d86.v00sl 2021-04-02 13:27:10 +10:00
Liam Fitzgerald
5071ca309e
Merge remote-tracking branch 'origin/release/next-userspace' 2021-04-02 13:13:16 +10:00
Liam Fitzgerald
c470e73b34
VirtualScroller: repaint on loaded 2021-04-02 13:04:32 +10:00
Logan Allen
f06dbe1ada interface: back button works again in group feed 2021-04-01 21:56:41 -05:00
Liam Fitzgerald
65405f1f1a
interface: prevent crash in non-group workspace 2021-04-02 12:44:27 +10:00
Logan Allen
03b5946089 interface: replace baseurl + feed 2021-04-01 21:36:25 -05:00
Liam Fitzgerald
c41320bea7
interface: remove duplicate import 2021-04-02 12:22:44 +10:00
Liam Fitzgerald
3c2d7a0291
interface: tweak permissions copy 2021-04-02 12:13:24 +10:00
Liam Fitzgerald
f2a7617376
Post: tweak permissions to match designs 2021-04-02 12:11:24 +10:00
Liam Fitzgerald
578924049d
Merge branch 'release/next-userspace' into lf/post-parent 2021-04-02 12:06:16 +10:00
Liam Fitzgerald
16be3b97c4
Post: update permissions to support admins properly 2021-04-02 11:48:38 +10:00
Liam Fitzgerald
615be57b7b
Post: refactor permission variations 2021-04-02 11:48:09 +10:00
Logan Allen
c7dc6c46ac interface: fix back button not showing up on mobile 2021-04-01 20:33:07 -05:00
L
6097dd4ec6
Merge pull request #4712 from urbit/la/fix-disable
graph-disable-group-feed: archive the graph if necessary
2021-04-01 20:11:25 -05:00
janeway-bot
df3ec7bfca
Merge 4df706b842 into release/next-js 2021-04-02 04:53:04 +04:00
Liam Fitzgerald
e246d4f6ec
GroupSettings: hide feed settings to non-owners 2021-04-02 10:48:01 +10:00
Liam Fitzgerald
7381e491dd
AddFeedBanner: show only to owner 2021-04-02 10:40:34 +10:00
Logan Allen
7bf2691fca interface: group feed history goBack works 2021-04-01 19:39:27 -05:00
Liam Fitzgerald
d14b4ea471
Post: show reply if main post 2021-04-02 10:34:14 +10:00
Logan Allen
96a87d6f18 interface: api, fix disable group feed 2021-04-01 19:21:51 -05:00
Matilde Park
bd9d218ab6 Merge branch 'master' into release/next-userspace 2021-04-01 20:16:12 -04:00
Logan Allen
95cae3e36b interface: fix group feed settings render 2021-04-01 19:14:38 -05:00
Logan Allen
15f92702f2 graph-disable-group-feed: archive the graph if necessary 2021-04-01 18:57:36 -05:00
Matilde Park
86fd281bd0 Merge branch 'release/next-userspace' of github.com:urbit/urbit into release/next-userspace 2021-04-01 19:02:10 -04:00
Matilde Park
c745bba77d api/graph: adding fallback vip 2021-04-01 19:02:04 -04:00
Matilde Park
87b6d35c42 groupFeed: flex width of parent row of 'add feed' 2021-04-01 18:38:35 -04:00
Joe Bryan
4df706b842 urbit: bumps version to 1.3 2021-04-01 15:33:14 -07:00
Joe Bryan
e9ee2f77c2 Merge branch 'master' into release/next-vere
* master: (160 commits)
  glob: update to 0v6.8mn05.16g61.46lkc.lgddc.3ifug
  metadata-push-hook: fixes issue with adding unmanaged metadata
  pills: update solid
  graph-push-hook: don't crash on multipart add
  glob: update to 0v5.g86fq.9ngth.ki9h1.q7kut.icm5f
  graph-store: scry only once during +validate-graph
  graph-store: fewer allocations in +validate-graph
  graph-store: speed up +validate-graph by using +turn and no longer virtualizing
  interface: version local state by commit hash
  graph-push-hook: add hc where appropriate and enforce type-checking to prevent issue in future
  graph-validators: speed up validators by adding type casts
  build: only run publish-npm-packages on pkg/npm
  build: match on path subdirectories
  glob: update to 0v1.4ujsp.698kt.ojftv.7jual.4hhu5
  launch: prevent aggressive tutorial render
  launch: get tutorial state from zustand
  push-hook: add version scries
  glob: update to 0v5.b7cjf.2kc12.85sng.lkqav.7sn0k
  readme: update arvo maintainers list
  notifications: clear before applying unreads
  ...
2021-04-01 15:31:35 -07:00
Logan Allen
96a57a9c4b interface: redirect properly upon create and dismiss of group feed 2021-04-01 17:31:19 -05:00
Joe Bryan
2c662ffc45
Merge pull request #4692 from urbit/jb/jet-fein-fynd
u3: jets +fein:ob and +fynd:ob
2021-04-01 15:30:45 -07:00
Joe Bryan
0d7f7cdc5d
Merge pull request #4078 from urbit/m/commitment
vere: only compare to clay when committing files
2021-04-01 15:30:38 -07:00
Logan Allen
d494ef1c15 interface: remove log 2021-04-01 17:03:11 -05:00
Logan Allen
352a906154 interface: group feed permissions work properly 2021-04-01 17:01:21 -05:00
Logan Allen
983df1c686 interface: vip prop drilling for group feed 2021-04-01 16:11:27 -05:00
Logan Allen
e3bfca7783 interface: update frontend api actions 2021-04-01 16:10:54 -05:00
Logan Allen
5953c9a58f graph-view: add %vip field to %create-group-feed 2021-04-01 16:08:30 -05:00
janeway-bot
610f06887f
Merge 588026e12e into release/next-js 2021-04-01 21:58:45 +04:00
janeway
588026e12e glob: update to 0v6.8mn05.16g61.46lkc.lgddc.3ifug 2021-04-01 13:56:03 -04:00
Logan Allen
88b097040b metadata-push-hook: fixes issue with adding unmanaged metadata 2021-04-01 17:08:30 +00:00
matildepark
dd38b4dd64
Merge pull request #4706 from urbit/lf/more-usp
interface: assorted grabbag for next-userspace
2021-04-01 11:56:13 -04:00
Liam Fitzgerald
417483c4de
Merge branch 'master' into release/next-userspace 2021-04-01 18:35:39 +10:00
Liam Fitzgerald
16f05a165c
interface: normalize headers to 600 font weight
Fixes urbit/landscape#622
2021-04-01 18:26:54 +10:00
Liam Fitzgerald
aaaa4e275c
PostInput: adjust resize behaviour
Mitigates urbit/landscape#617 but does not fix it.
2021-04-01 18:24:18 +10:00
Liam Fitzgerald
24deef9d1f
AddFeedBanner: update design to match spec
Fixes urbit/landscape#664
2021-04-01 18:17:46 +10:00
Liam Fitzgerald
a3db404147
interface: fix protocol handler
Fixes urbit/landscape#680
2021-04-01 18:01:10 +10:00
janeway-bot
58028a460c
Merge d8a958f651 into release/next-js 2021-04-01 09:58:52 +04:00
Liam Fitzgerald
0477d66ca9
graph-push-hook: don't crash on multipart add 2021-04-01 15:24:17 +10:00
Liam Fitzgerald
b15772c96c
Merge branch 'master' into release/next-js 2021-04-01 13:49:53 +10:00
Liam Fitzgerald
7e750cf189
glob: update to 0v5.g86fq.9ngth.ki9h1.q7kut.icm5f 2021-04-01 12:08:42 +10:00
Joe Bryan
86d1dba74d
Merge pull request #4703 from urbit/jb/atom-cmp-shortcircuit
u3: adds bitwidth short-circuit to atom comparison jets
2021-03-31 18:55:23 -07:00
Joe Bryan
69dc85809e u3: corrects jet mismatch in atom comparison gates
in all cases, one argument can be a cell if the other is 0
2021-03-31 17:12:51 -07:00
Joe Bryan
ab1b1811c3 u3: tweak jet dashboard testing (remove assert and printf) 2021-03-31 17:07:14 -07:00
L
6a399432df
Merge pull request #4700 from urbit/la/graph-fast
graph-store: speed up +validate-graph by using +turn and no longer virtualizing
2021-03-31 16:41:09 -05:00
Logan Allen
2791cd5d9a graph-store: scry only once during +validate-graph 2021-03-31 16:08:36 -05:00
Logan Allen
d34045f190 graph-store: fewer allocations in +validate-graph 2021-03-31 16:08:31 -05:00
Logan Allen
d939c91e78 graph-store: speed up +validate-graph by using +turn and no longer virtualizing 2021-03-31 16:08:23 -05:00
Joe Bryan
91b79dc8d9 u3: adds bitwidth shortcircuit to atom comparison jets 2021-03-31 13:39:03 -07:00
Joe Bryan
b706e7b58c u3: normalize style in atom comparison jets 2021-03-31 13:35:51 -07:00
Matilde Park
d265a6f5bc ViewProfile: clone contact groups array
Fixes urbit/landscape#682
2021-03-31 15:13:58 -04:00
matildepark
c3bd7a7f21
Merge pull request #4698 from urbit/la/group-feed-touch-ups
group-feed: tons of post item touch-ups
2021-03-31 13:53:33 -04:00
Liam Fitzgerald
881054b95a
GroupHome: description by default
Fixes urbit/landscape#668
2021-03-31 19:05:27 +10:00
Liam Fitzgerald
7c14ec35ae
GroupFeed: add settings page
Fixes urbit/landscape#665
2021-03-31 19:01:04 +10:00
Liam Fitzgerald
6031b44bfb
Post: enable feed modal fixes
Fixes urbit/landscape#667
2021-03-31 15:10:36 +10:00
Liam Fitzgerald
ed1de34dfc
interface: immutable store 2021-03-31 14:47:56 +10:00
Liam Fitzgerald
b06b4388c9
interface: update reducers for immer 2021-03-31 14:44:52 +10:00
Joe Bryan
398454690b test: adds comment documenting disabled fein/fynd roundtrip 2021-03-30 21:17:44 -07:00
Logan Allen
4e87b59479 group-feed: finalize timeline padding 2021-03-30 21:56:49 -05:00
Joe Bryan
600c739a7a u3: refactors +fein/+fynd jets and adds comments 2021-03-30 19:52:31 -07:00
Logan Allen
113b99f475 group-feed: tons of post item touch-ups 2021-03-30 21:29:37 -05:00
matildepark
8b326bfa12
Merge pull request #4697 from urbit/lf/ctrl-enter-post
Post: allow submission with ctrl+enter
2021-03-30 20:25:55 -04:00
Liam Fitzgerald
331622383a
Post: allow submission with ctrl+enter
Fixes urbit/landscape#677
2021-03-31 10:19:45 +10:00
Matilde Park
f65527e145 Merge branch 'pre-release/next-userspace' into release/next-userspace 2021-03-30 20:13:49 -04:00
Liam Fitzgerald
6a11c47e0f
interface: version local state by commit hash
Fixes urbit/landscape#652
2021-03-31 09:59:13 +10:00
Matilde Park
15c1c2146a Merge branch 'master' into pre-release/next-userspace 2021-03-30 19:49:14 -04:00
Logan Allen
77196addaa graph-push-hook: add hc where appropriate and enforce type-checking to prevent issue in future 2021-03-30 19:42:24 -04:00
Logan Allen
3c8ac1edb1 graph-validators: speed up validators by adding type casts 2021-03-30 19:41:48 -04:00
matildepark
4fd0188d2c
Merge pull request #4693 from urbit/la/clay-error
graph-push-hook: add hc where appropriate and enforce type-checking to prevent issue in future
2021-03-30 19:40:10 -04:00
Logan Allen
1af12b122a graph-validator-post: added type-casts where appropriate 2021-03-30 12:52:53 -05:00