Commit Graph

2015 Commits

Author SHA1 Message Date
Liam Fitzgerald
3007a7408f
Invites: decline if already joned 2021-03-09 11:26:37 +10:00
Liam Fitzgerald
23882318b0
Merge pull request #4567 from urbit/jy/tutorial-dm-copy
tutorial: Chat copy edit to match design
2021-03-09 11:23:32 +10:00
Liam Fitzgerald
0bb4aff757
Tutorial: hide caret on mobile 2021-03-09 10:56:43 +10:00
Liam Fitzgerald
f2ed4258ea
Tutorial: fix profile step 2021-03-09 10:55:23 +10:00
Jimmy Young
34dab77c4a tutorial: Chat copy edit to match design 2021-03-08 16:45:30 -08:00
Logan Allen
5a88f87182 interface: publish cursor is now using style 2021-03-08 16:06:07 -06:00
Logan Allen
47abf00de7 interface: cursor default 2021-03-08 15:55:40 -06:00
Logan Allen
b4430e1e1b interface: disable clicking notes if they are pending and gray them out 2021-03-08 15:50:36 -06:00
James Acklin
48aa02dd4e profile: drop ~ from patp when messaging
fixes urbit/landscape#532
2021-03-08 16:35:44 -05:00
James Acklin
5a3f88105d top bar: sets status on field blur
fixes urbit/landscape#531
2021-03-08 16:26:11 -05:00
Logan Allen
b2759b9f36 Merge branch 'release/next-js' into la/release-2021-03-04 2021-03-08 14:11:54 -06:00
Tyler Brown Cifu Shuster
4f39a2fd2a Merge branch 'release/next-js' of https://github.com/urbit/urbit into zustand-stores 2021-03-08 12:03:52 -08:00
Tyler Brown Cifu Shuster
22278f49e3 Merge branch 'release/next-js' of https://github.com/urbit/urbit into zustand-stores 2021-03-08 12:02:08 -08:00
matildepark
73d26a4ff0
Merge pull request #4555 from urbit/mp/landscape/css-regressions
landscape: two css regressions
2021-03-08 14:55:22 -05:00
L
ecb7d82bf3
Merge pull request #4556 from urbit/mp/landscape/favicon-contact
landscape: fix favicons for flattened contacts
2021-03-08 13:54:11 -06:00
Tyler Brown Cifu Shuster
5245aa909e interface: updated waiters to wait for hooked state 2021-03-08 09:19:37 -08:00
Liam Fitzgerald
ca75d25c99
StatusBar: fix dismiss
Fixes urbit/landscape#476
2021-03-08 13:50:39 +10:00
Liam Fitzgerald
941b539f76
VirtualScroller: correct lazy loading with small chats
Fixes urbit/landscape#523
2021-03-08 13:28:52 +10:00
Liam Fitzgerald
48dec0b7fe
Comments: validate on submit only
Fixes urbit/landscape#530
2021-03-08 13:14:56 +10:00
Liam Fitzgerald
a8ca5d9ffc
Invites: accept already joined group
Fixes urbit/landscape#503
2021-03-08 13:10:39 +10:00
Liam Fitzgerald
d11d3ad919
LinkWindow: referentially stable renderItem 2021-03-08 10:59:30 +10:00
Liam Fitzgerald
22572b9e93
VirtualScroller: document props, remove redundant 2021-03-08 10:46:22 +10:00
James Acklin
28ce07c122 top bar: correct bottom padding
fixes urbit/landscape#531
2021-03-06 19:38:30 -05:00
James Acklin
cb1508b783 top bar: rearrange items, include small status-setter
fixes urbit/landscape#531
2021-03-06 19:29:17 -05:00
James Acklin
1d96278453 top bar: pad dropdown entries to spec
fixes urbit/landscape #531
2021-03-06 18:56:05 -05:00
James Acklin
b7082343ec profile: surface "message" action on non-owned profiles
fixes urbit/landscape#532
2021-03-06 17:25:39 -05:00
Matilde Park
772750b180 term: flex history container width 2021-03-06 12:20:17 -05:00
Matilde Park
7823a0de88 landscape: fix favicons for flattened contacts 2021-03-05 23:42:25 -05:00
Matilde Park
6de3d9c12e chat, publish: styling on light/dark hybrid client
If your OS was in light mode but you chose dark mode, sometimes you'd
see the wrong colour. We ensure we inherit from indigo's theme in those
places.
2021-03-05 18:00:26 -05:00
Matilde Park
803cdba754 publish: fix link color
Fixes urbit/landscape#521
2021-03-05 17:59:08 -05:00
Logan Allen
45b2ea4096 interface + -group-create thread: group homepage asks if you want to enable feed 2021-03-05 15:21:41 -06:00
Logan Allen
03ad1b8510 interface: reorganize components into respective files, add feed banner 2021-03-05 12:52:11 -06:00
Logan Allen
2ba9100fed interface: built out initial navigation and routes for group feed 2021-03-05 12:28:04 -06:00
matildepark
487cb75313
Merge pull request #4551 from urbit/jo/gcp-docs
interface: correct gcgManager comment
2021-03-05 11:56:47 -05:00
Matilde Park
5f24254793 Merge branch 'release/next-js' into release/next-userspace 2021-03-05 03:22:41 -05:00
Liam Fitzgerald
6cecfaf430
Merge remote-tracking branch 'origin/master' into release/next-js 2021-03-05 15:24:14 +10:00
Jōshin
a1a581c510
interface: correct gcgManager comment 2021-03-04 21:22:25 -08:00
Logan Allen
7ab9233caf interface: set child graph, not parent graph, upon removing hcild index 2021-03-04 17:44:19 -06:00
Matilde Park
4c2ce9a338 Merge branch 'release/next-js' into la/release-2021-03-04 2021-03-04 14:46:34 -05:00
matildepark
6a1fc8c6c1
Merge pull request #4547 from urbit/mp/profile/image
profile: pass ship to image
2021-03-04 14:46:10 -05:00
matildepark
9b78fbf303
Merge pull request #4546 from urbit/mp/groups/inset
MetadataIcon: 1, not -1 inset
2021-03-04 14:42:31 -05:00
matildepark
3ac19c34d8
Merge pull request #4537 from urbit/lf/invite-fixes
invites: don't pin to top
2021-03-04 14:23:20 -05:00
matildepark
9b70c15ecf
Merge pull request #4545 from urbit/mp/landscape/author-radii
landscape: avatars use borderRadius '1'
2021-03-04 14:22:49 -05:00
Matilde Park
20e45648f4 profile: pass ship to image 2021-03-04 14:21:17 -05:00
matildepark
a7cac7b9bc
Merge pull request #4531 from urbit/james/profile-tweaks
profile: display and interaction tweaks
2021-03-04 14:02:36 -05:00
Matilde Park
39fd96c4bf MetadataIcon: 1, not -1 inset 2021-03-04 13:55:47 -05:00
Matilde Park
dc8dcc817b landscape: avatars use borderRadius '1' 2021-03-04 13:46:24 -05:00
matildepark
62c27e4c20
Merge pull request #4544 from urbit/mp/landscape/remove-blanks
ChatInput, Author: fix "removed avatar" case
2021-03-04 13:44:15 -05:00
James Acklin
f467bb2363 profile: absolute-positioning fix
fixes urbit/landscape#444
2021-03-04 12:59:44 -05:00
Matilde Park
93a3d22816 ChatInput, Author: fix "removed avatar" case 2021-03-04 12:54:37 -05:00
Matilde Park
65950c34d5 RichText: anchors display inline 2021-03-04 12:49:06 -05:00
James Acklin
9c3995024d Merge remote-tracking branch 'origin/release/next-js' into james/profile-tweaks 2021-03-04 12:35:53 -05:00
Matilde Park
f1356ed96d Merge branch 'release/next-js' into la/release-2021-03-04 2021-03-04 12:34:01 -05:00
matildepark
1dcdfed9c6
Merge pull request #4461 from urbit/lf/tutorial-revive
tutorial: reenable
2021-03-04 12:24:09 -05:00
L
263c3e100a
Merge pull request #4529 from urbit/mp/publish/warped-chrome-bg
publish: use backgroundImage for images
2021-03-04 11:22:58 -06:00
matildepark
c4595cbfe2
Merge pull request #4538 from urbit/lf/dupe-invites
ShipSearch: prevent dupes
2021-03-04 12:22:14 -05:00
L
60570647b9
Merge pull request #4519 from urbit/mp/landscape/group-box-shadow
MetadataIcon: use box-shadow
2021-03-04 11:21:57 -06:00
matildepark
1ed8613644
Merge pull request #4540 from urbit/lf/contacts-virt
Participants: remove grid
2021-03-04 12:15:46 -05:00
Tyler Brown Cifu Shuster
55a64fe23d interface: Updated withState signature 2021-03-04 07:00:14 -08:00
Tyler Brown Cifu Shuster
2b67ef28bf Merge branch 'release/next-js' of https://github.com/urbit/urbit into zustand-stores 2021-03-04 06:58:39 -08:00
Tyler Brown Cifu Shuster
cddbc114b9 Merge branch 'release/next-js' of https://github.com/urbit/urbit into zustand-stores 2021-03-04 06:57:54 -08:00
matildepark
44cf0f4dac
Merge pull request #4536 from urbit/mp/landscape/css-set
landscape: destyle anchors
2021-03-04 01:30:22 -05:00
Liam Fitzgerald
add4adb5b9
Participants: remove grid
running into https://bugs.chromium.org/p/chromium/issues/detail?id=688640
on large groups

Fixes urbit/landscape#513
2021-03-04 15:51:13 +10:00
Liam Fitzgerald
d2e15b6acd
LinkResource: fix changing channels
Fixes urbit/landscape#508
2021-03-04 15:12:40 +10:00
Liam Fitzgerald
ec9e45dad6
ShipSearch: prevent dupes
Fixes urbit/landscape#470
2021-03-04 14:35:40 +10:00
Matilde Park
dc74c68ce9 settings: pull backbutton out of col gaps 2021-03-03 22:24:58 -05:00
Liam Fitzgerald
84a5e15f51
interface: dont pin invites to top
Fixes urbit/landscape#481
2021-03-04 13:18:54 +10:00
Matilde Park
3f8afb5654 landscape: fix 'group details' in dark mode 2021-03-03 22:14:08 -05:00
Matilde Park
e634b3c7d9 landscape: destyle anchors 2021-03-03 22:03:46 -05:00
Liam Fitzgerald
9757dbd3bd
interface: support group-view %hide 2021-03-04 12:55:38 +10:00
matildepark
bbf6b760d2
Merge pull request #4535 from urbit/lf/scroll-ios-flush
VirtualScroller: prevent crash on iOS
2021-03-03 21:20:17 -05:00
matildepark
d915022025
Merge pull request #4532 from urbit/mp/landscape/choose-theme
settings: allow picking indigo theme
2021-03-03 21:18:40 -05: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
Logan Allen
ef7de13cd5 interface: virtual scroller marks page as dirty when pending indices changes 2021-03-03 18:26:42 -06: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
James Acklin
36a4c2d1a6 profile: addressing PR comments
fixes urbit/landscape#444
2021-03-03 17:12:03 -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
Logan Allen
9c178d7f34 Merge branch 'release/next-js' into la/transform-proxy 2021-03-03 12:56:39 -06:00
Logan Allen
32cd345680 interface: finalize reducers / api logic for pending 2021-03-03 12:54:03 -06: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
Tyler Brown Cifu Shuster
04e481f8e9 interface: addressed store feedback; cleaning up 2021-03-02 21:45:50 -08:00
Tyler Brown Cifu Shuster
6d8fe7d41f Merge branch 'release/next-js' of https://github.com/urbit/urbit into zustand-stores 2021-03-02 20:58:28 -08: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
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
Logan Allen
379e1840bc -graph-add-nodes: scry properly within a thread 2021-03-02 15:55:58 -06: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
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
Logan Allen
1abd45fc6c graph-reducers: remove pending posts based on hash 2021-03-02 12:54:45 -06:00
James Acklin
46a4c8b275 profile: moves fields, adds header image interactivity
fixes urbit/landscape#444
2021-03-02 12:13:51 -05:00
Tyler Brown Cifu Shuster
8364678fc8 Merge branch 'release/next-js' of https://github.com/urbit/urbit into zustand-stores 2021-03-02 07:31:40 -08: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
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
Tyler Brown Cifu Shuster
bd3e00886c interface: abstracted stores, unified naming 2021-03-01 10:38:01 -08: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
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
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
Tyler Brown Cifu Shuster
934689b049 interface: convert s3 store to zustand 2021-02-26 11:57:38 -08: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
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