Commit Graph

8445 Commits

Author SHA1 Message Date
Philip Monk
0e427c3c7e
Merge commit '5a6a88c' into release/next-sys 2021-03-03 18:18:12 -08:00
Liam Fitzgerald
8bf4e66f7b
VirtualScroller: prevent crash on iOS
Fixes urbit/landscape#515
2021-03-04 12:03:53 +10:00
Philip Monk
6e3d1680a7
Merge remote-tracking branch 'origin/master' into release/next-sys 2021-03-03 17:54:57 -08:00
L
053ca8bd3c
Merge pull request #4534 from urbit/lf/scroller-fixes 2021-03-03 19:22:36 -06:00
matildepark
560f49fb2b
Merge pull request #4517 from 0x70b1a5/master
Add objectFit='cover' to various Landscape avatars to avoid aspect ratio squishing
2021-03-03 20:03:35 -05:00
0x70b1a5
d91c05cb29
landscape: address #4517 feedback 2021-03-03 19:18:58 -05:00
James Acklin
789562f817 profile: round corners of view
fixes urbit/landscape#510
2021-03-03 18:29:06 -05:00
Liam Fitzgerald
5fc996e7cb
VirtualScroller: acknowledge end of load
Fixes urbit/landscape#507
2021-03-04 09:27:54 +10:00
Liam Fitzgerald
a2de2e61f7
VirtualScroller: fix iOS jumpiness case 2021-03-04 09:27:20 +10:00
Liam Fitzgerald
0b1926294f
UnreadMarker: fix dismiss on idle 2021-03-04 09:26:55 +10:00
fang
5a6a88c4db
Merge pull request #4533 from urbit/m/safer-tally
tally: be safer wrt mangled metadata
2021-03-04 00:13:27 +01:00
James Acklin
36a4c2d1a6 profile: addressing PR comments
fixes urbit/landscape#444
2021-03-03 17:12:03 -05:00
matildepark
c16815b003
Merge pull request #4347 from urbit/lf/moar-lsp
language-server: fixes & improvements
2021-03-03 14:51:40 -05:00
Liam Fitzgerald
180ea74e51 JoinGroup: set tutorial join date 2021-03-03 11:15:49 -08:00
Jimmy Young
7fc52405ce notifications: updates->notifications(this got changed back,possibly from master merge) 2021-03-03 11:15:25 -08:00
Jimmy Young
cbbf99d251 tutorial: improve styling for tutorial dismiss modal 2021-03-03 11:15:06 -08:00
Jimmy Young
8fba050ae2 indigo-react@1.2.19: bump indigo to use tutorial icon 2021-03-03 11:14:41 -08:00
0x70b1a5
612d93c807 landscape: correct avatar aspect ratio
Author avatar uses objectFit='cover'

ProfileOverlay avatar uses objectFit='cover'

ChatInput uses objectFit='cover'

Participants avatar uses objectFit='cover'

Landscape: correct avatar aspect ratio.
2021-03-03 12:18:04 -05:00
Matilde Park
71788e069d VirtualScroller: hotfix crash
Fixes urbit/landscape#506
2021-03-03 11:37:39 -05:00
fang
883a56382f
tally: be safer wrt mangled metadata
Previously, if metadata-store said a graph existed, we'd unconditionally scry
for it. Now, we make sure the graph actually exists, to avoid risking a crash.
2021-03-03 17:14:07 +01:00
matildepark
c2645f9142
Merge pull request #4495 from urbit/lf/virtual-graph
virtualScroller: rework
2021-03-02 23:13:46 -05:00
Liam Fitzgerald
02a70af365
VirtualScroller: fix scrollbar positioning 2021-03-03 13:56:22 +10:00
Matilde Park
7bb9c3851e settings: allow picking indigo theme 2021-03-02 21:55:59 -05:00
matildepark
fef4284219
Merge pull request #4520 from urbit/mp/landscape/mention-text-contacts-nest
MentionText: update for new contacts
2021-03-02 21:06:14 -05:00
janeway
75a00b9c18
glob: update to 0v9flom.311gv.90jce.591n4.d09bf 2021-03-03 11:34:18 +10:00
Liam Fitzgerald
7a3bdccf14
Merge remote-tracking branch 'origin/release/next-js' into lf/virtual-graph 2021-03-03 11:31:02 +10:00
Liam Fitzgerald
1898a86b0e
ChatWindow: fix unread 2021-03-03 11:30:21 +10:00
James Acklin
1084863af9 profile: hide the cover image when the user 'removes' it
fixes urbit/landscape#444
2021-03-02 17:08:26 -05:00
Matilde Park
896313b4fd publish: use backgroundImage for images
Fixes urbit/landscape#495
2021-03-02 16:36:34 -05:00
James Acklin
689479f94f profile: removing clutter, denoising the console
fixes urbit/landscape#444
2021-03-02 15:29:00 -05:00
Raymond E. Pasco
2823b2729b
Change PNG aura from @t to @
No PNG is (sane %t) - the PNG header alone isn't.

This should also be octs, not an atom, as a binary filetype - it works
for PNG purely by coincidence (no valid PNG can end with a sequence of
00 bytes, because they have to end with 00 00 00 00 49 45 4e 44 ae 42 60
82).
2021-03-02 14:00:12 -05:00
matildepark
5a474cf85b
Merge pull request #4522 from urbit/mp/settings/restore-back
settings: restore back button on s3
2021-03-02 13:57:42 -05:00
James Acklin
46a4c8b275 profile: moves fields, adds header image interactivity
fixes urbit/landscape#444
2021-03-02 12:13:51 -05:00
Matilde Park
afc29e8177 settings: add 'hide utility tiles' 2021-03-02 00:59:35 -05: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
06d429afff
virtualscroller: address Ed review 2021-03-02 11:57:15 +10: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
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
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
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
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
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
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
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
matildepark
ef3601e9be
Merge pull request #4499 from urbit/mp/dms/render-groups
ResourceSkeleton: render group DM members
2021-02-25 22:21:59 -05:00
matildepark
0744f6ecab
Merge pull request #4498 from urbit/mp/groups/truncate-description
ResourceSkeleton: flex and truncate description
2021-02-25 22:21:41 -05:00
matildepark
322d6e9a41
Merge pull request #4507 from urbit/mp/landscape/misc
landscape: grabbag
2021-02-25 22:20:12 -05:00
Liam Fitzgerald
6fa0cd29e2
settings: migrate 2021-02-26 13:05:31 +10:00
matildepark
72aa7f5aee
Merge pull request #4496 from tylershuster/api-parity
api: brought to parity with livenet
2021-02-25 20:30:57 -05:00