Commit Graph

24432 Commits

Author SHA1 Message Date
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
Tyler Brown Cifu Shuster
1685c484e0 Merge branch 'release/next-js' of https://github.com/urbit/urbit into zustand-stores 2021-02-26 12:09:49 -08: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
Tyler Brown Cifu Shuster
934689b049 interface: convert s3 store to zustand 2021-02-26 11:57:38 -08: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
Matilde Park
356d517b4a CalmEngine: add "hideUnreads" and "hideGroups" 2021-02-26 14:12:24 -05:00
Matilde Park
622c3c3547 Merge branch 'release/next-js' into lf/settings 2021-02-26 13:45:33 -05:00
Matilde Park
b4d82a9e8a leap, settings: store leap settings as array 2021-02-26 13:41:40 -05:00
Matilde Park
2db485705e npm/api: add array type to settings value 2021-02-26 13:41:12 -05:00
matildepark
b5d5e32c98
Merge pull request #4430 from mirtyl-wacdec/patch-2
landscape: ignore punctuation tokenizing URLs
2021-02-26 13:30:09 -05:00
Matilde Park
26788d9998 leap: "Profile and Settings" -> "profile" 2021-02-26 13:26:32 -05:00
Matilde Park
9f64db52c1 settings: replace calm icon 2021-02-26 13:25:57 -05:00
Matilde Park
f0e1a24b42 SidebarItem: centre icons 2021-02-26 13:25:50 -05:00
Matilde Park
e266273ff1 ChatMessage, Sidebar: use new hideAvatars import 2021-02-26 13:21:27 -05:00
Matilde Park
9841e92325 settings: switch to multipage layout 2021-02-26 13:07:09 -05:00
Matilde Park
639372e58f leap: add missing import 2021-02-26 13:06:48 -05:00
mirtyl-wacdec
3206cfdb4d landscape: ignore punctuation tokenizing URLs
Tiny fix to the URL regex so that it doesn't store punctuation marks (e.g. ",") inside the urls, breaking the links.
2021-02-27 00:56:45 +07:00
Matilde Park
288cf1d0ad NewChannel: hide "<- Back" mobile nav on dms 2021-02-26 12:27:00 -05:00
Tyler Brown Cifu Shuster
c4d6fde8ea interface: convert ms3 store to zustand 2021-02-26 09:23:07 -08:00
Matilde Park
0030d0d834 ResourceSkeleton: set flex-shrink priority, mobile
On mobile devices, long channel names can push the menu offscreen.

However, we don't want the title to be shrunk by a long description.
We want the description to shrink first.
So we set flex-shrink priorities, and also don't let the title shrink
on desktop.
2021-02-26 12:22:46 -05:00
Tyler Brown Cifu Shuster
041be1d8fe interface: convert metadata store to zustand 2021-02-26 09:07:15 -08:00
Tyler Brown Cifu Shuster
d17794f93d interface: convert launch store to zustand 2021-02-26 08:40:41 -08:00
Tyler Brown Cifu Shuster
b8cd15a788 interface: convert invite store to zustand 2021-02-26 08:11:27 -08:00
janeway-bot
613916a42b
Merge 6bcbbf8f1a into release/next-js 2021-02-26 11:09:59 +04:00
janeway
6bcbbf8f1a
glob: update to 0v5.ip41o.9jcdb.4jb1f.sd508.fdssj 2021-02-26 17:07:59 +10:00
Liam Fitzgerald
8c6f43f10e
Merge remote-tracking branch 'origin/release/next-js' 2021-02-26 16:57:19 +10:00
Liam Fitzgerald
76733e1072
Merge branch 'lf/read-all-fix' 2021-02-26 16:56:58 +10:00
Liam Fitzgerald
4f62de33a3
Merge remote-tracking branch 'origin/ixv/settings-type' 2021-02-26 16:56:15 +10:00
Ted Blackman
04ea4c78b2
ames: +on-hear-shut remove dead code 2021-02-26 16:55:26 +10:00
Ted Blackman
ccea39f865
ames: fix comet handshake 2021-02-26 16:55:24 +10:00
janeway-bot
eeabeb2a01
Merge 4c8d2dd237 into release/next-js 2021-02-26 10:24:12 +04:00
Jared Tobin
4c8d2dd237
Merge pull request #4508 from urbit/lf/actions-ops
meta: automatically deploy group-timer
2021-02-26 10:23:16 +04:00
Tyler Brown Cifu Shuster
f9bbb406f0 interface: convert hark store to zustand 2021-02-25 22:11:00 -08:00
Tyler Brown Cifu Shuster
3fd59c267e interface: convert group store to zustand 2021-02-25 21:08:10 -08:00
Tyler Brown Cifu Shuster
7d80906d77 interface: covert graph store to zustand 2021-02-25 20:08:16 -08:00
Tyler Brown Cifu Shuster
ff71947fe8 Merge branch 'release/next-js' of https://github.com/urbit/urbit into zustand-stores 2021-02-25 19:51:06 -08:00
Tyler Brown Cifu Shuster
12645644f7 interface: covert contact store to zustand 2021-02-25 19:46:45 -08:00
Liam Fitzgerald
04170206bd
hark-graph-hook: upgrade notification-kind to allow for sibling autowatches 2021-02-26 13:37:25 +10:00
matildepark
285a8a9173
Merge pull request #4503 from urbit/mp/links/double-validate
links: enforce valid URI on render
2021-02-25 22:22:48 -05:00
matildepark
29b4d2bbd4
Merge pull request #4501 from urbit/mp/leap/status-truncate
leap: truncate statuses
2021-02-25 22:22:32 -05:00
matildepark
ec483143f8
Merge pull request #4500 from urbit/revert-4224-mp/landscape/patp-punctuation
Revert "landscape: allow most patp punctation in tokenize"
2021-02-25 22:22:15 -05:00