Commit Graph

24359 Commits

Author SHA1 Message Date
Jared Tobin
8d938e205b
meta: publish interface packages when available
Adds a workflow that, on every push to master, will publish new versions
of interface subpackages to the NPM registry if any are available.

Staged to trigger on a test branch for now.
2021-03-02 15:31:06 +04:00
Matilde Park
afc29e8177 settings: add 'hide utility tiles' 2021-03-02 00:59:35 -05:00
janeway-bot
ffe2b1a23f
Merge 522393fda8 into release/next-js 2021-03-02 09:46:02 +04:00
Jared Tobin
522393fda8
Merge pull request #4518 from urbit/jt/ops-merge
meta: adjust merge operations
2021-03-02 09:45:34 +04:00
Matilde Park
2dbbb3d30f settings: restore back button on s3
Fixes urbit/landscape#501
2021-03-02 00:40:52 -05:00
Liam Fitzgerald
7ecf7d3b5a
VirtualScroller: more perf improvements 2021-03-02 14:38:56 +10:00
Liam Fitzgerald
e5a8cdfc75
VirtualScroller: fix for links 2021-03-02 14:36:27 +10:00
Liam Fitzgerald
cffa78566b
ChatWindow: fix unnecessary rerenders 2021-03-02 14:15:20 +10:00
Liam Fitzgerald
464d96916f
tutorial: show days remaining 2021-03-02 13:57:03 +10:00
Liam Fitzgerald
38968bde94
Merge remote-tracking branch 'origin/release/next-js' into lf/tutorial-revive 2021-03-02 13:11:43 +10:00
Liam Fitzgerald
43b2423db7
hark-store: remove visions of future 2021-03-02 12:43:51 +10:00
Jōshin
b7583bf3e2
Merge pull request #4484 from urbit/jo/gcp-settings-store
GCP storage support
2021-03-01 18:01:07 -08:00
Liam Fitzgerald
06d429afff
virtualscroller: address Ed review 2021-03-02 11:57:15 +10:00
Logan Allen
a9232d0df7 graph-view: use all of the proper types, get the API call working to send up the proper hashes 2021-03-01 17:24:21 -06:00
Matilde Park
263a3710c7 MentionText: update for new contacts 2021-03-01 18:03:27 -05:00
Matilde Park
8f3d6d739d MetadataIcon: use box-shadow
Fixes urbit/landscape#492
2021-03-01 17:59:12 -05:00
J
359896a23d interface: fix a few type imports
Missed these in the initial pass, found them by looking at "Files
Changed" in the Github UI.
2021-03-01 22:38:20 +00:00
J
35089f6656 interface: basic error handling on upload failures 2021-03-01 22:28:29 +00:00
J
af9e829464 interface: correct useEffect memo 2021-03-01 22:14:41 +00:00
J
f85ef9fcb4 interface: storage prop unifying gcp and s3
N.B. this boldly assumes that store state will always contain a valid
storage element that will contain gcp and s3 elements. This seems like a
fair assumption.
2021-03-01 22:14:19 +00:00
James Acklin
af58c8fe2a profile: component-izes profile elements, wraps edit in formik
Fixes urbit/landscape#444
2021-03-01 17:06:26 -05:00
J
ce1c69e0d1 interface: braces around if statements 2021-03-01 21:36:00 +00:00
matildepark
0e66e424a1
Merge pull request #4514 from urbit/mp/settings/design-qa-1
settings: first design tweaks
2021-03-01 16:00:42 -05:00
matildepark
4ef735ac26
Merge pull request #4513 from urbit/mp/landscape/2021-2-6
landscape: two edge cases
2021-03-01 15:52:33 -05:00
Jared Tobin
a51d95d806
meta: adjust merge operations
Adds a 'merge-release' workflow that runs on any push to a release
branch.  At present the only job merges the triggering branch to
'ops-tlon'.

Also renames the 'merge' workflow to 'merge-master' to distinguish it
appropriately.
2021-03-01 18:46:02 +04:00
Liam Fitzgerald
addeb8183c
virtualscroller: fake scrollbar 2021-03-01 13:54:15 +10:00
Liam Fitzgerald
89f63ac443
virtualscroller: ios viable 2021-03-01 12:56:40 +10:00
Philip Monk
413413b70c
zuse: traverse always delete 2021-02-26 21:03:20 -08:00
Philip Monk
5ac70ec974
ames: reset num-live to actual number of live packets 2021-02-26 20:53:27 -08:00
Ted Blackman
4c190eb2e9 zuse: ordered-map minor cleanup 2021-02-26 22:39:41 -05:00
Ted Blackman
ccc704b22e zuse: remove unused +nup:ordered-map 2021-02-26 22:38:04 -05:00
Ted Blackman
fcbb70de9e zuse: actually fix ordered-map +traverse this time 2021-02-26 22:37:11 -05:00
Ted Blackman
2442f9bb93 zuse: fix ordered-map delete many 2021-02-26 21:42:22 -05:00
fang
c7d86015aa
dbug: assume new lane encoding 2021-02-27 01:41:16 +01:00
J
c66c197936 interface: fix regression in canUpload 2021-02-27 00:25:17 +00:00
J
d8a7ee56e1 interface: fix field name that broke GCP support
Tests would be great, wouldn't they...
2021-02-27 00:08:51 +00:00
J
c1b259af5b interface, gcp: don't spam the console with 500s
Options here were: make the get-token thread try to return a unit, or
write a different thread to check whether GCP Storage seemed to be
configured and poll on that thread, or move the whole thing into a Gall
app.

The compromise between time-to-implement and overall cleanliness seemed
to be to write a different thread that just checks whether the settings
fields have been poked. Unfortunately this means GcpManager is now a
somewhat hefty JavaScript state machine.

Took out the logic to check whether S3 was configured in GcpManager,
since it was really only there to prevent spamming the console with
500s. If you have both S3 and GCP Storage configured for some reason,
you will now use GCP per the logic in useStorage.
2021-02-26 23:42:57 +00:00
Logan Allen
7c18df399c interface: beginnings of api/reducer integration 2021-02-26 16:59:13 -06:00
Matilde Park
b1cac1fca9 hark-fe: remove former preferences nav
Fixes urbit/landscape#494
2021-02-26 17:35:05 -05:00
Matilde Park
e3f195870f settings: format for mobile
Fixes urbit/landscape#496
2021-02-26 17:32:54 -05:00
J
040d8c06ae interface: fix S3 canUpload logic
s3.credentials is always set, but the fields are all '' if s3 is not
configured. So prior to this change, if the user had configured an
active bucket, they would always be shown an upload dialog even if they
had no storage configured.
2021-02-26 22:12:52 +00:00
J
347d51fde9 interface: cleaner API, robust GcpManager retry
GcpApi now acts like other APIs.

Since GcpManager can no longer get at the token exipry by inspecting the
raw update, it must depend on the global store instead. This also means
it can check whether the user has configured S3, and not try to refresh
the token in that case.

In the case where no storage is configured, this will spam the console
with request failures since the thread returns 500 if there is no token.
Perhaps this is a good argument for making  the thread return a unit.
2021-02-26 22:10:15 +00:00
Matilde Park
409d07d1f4 pkg/interface: force api build on prod 2021-02-26 16:45:48 -05:00
Matilde Park
0e50981c51 sh/build-interface: hotfix for api build 2021-02-26 16:41:05 -05:00
J
723a5a050e interface: check accessKey !== undefined
Also make it type-level optional rather than using explicit null.

Perhaps one day we will want to use undefined to denote "the thread
hasn't returned yet" and null for "GCP Storage is not configured."
Perhaps.
2021-02-26 20:29:05 +00:00
J
6b3397bd9f interface: supports both S3 and GCP Storage
The S3 client has another layer of indirection we missed. To support it
expediently, we just make the promise() method on GcpUpload do all the
work in GcpClient.
2021-02-26 20:18:40 +00:00
J
6ec574d32b interface: GcpManager fixes 2021-02-26 20:18:07 +00:00
Logan Allen
b2ef9044a6 -graph-add-nodes: return (map index hash) upon completion and finish out the json conversion 2021-02-26 14:05:11 -06:00
matildepark
ca6d50da45
Merge pull request #4475 from urbit/lf/settings
settings: move onto settings store
2021-02-26 14:56:35 -05:00
Matilde Park
6081b63c4b settings: fix typos 2021-02-26 14:29:39 -05:00