Commit Graph

3754 Commits

Author SHA1 Message Date
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
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
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
Liam Fitzgerald
b15772c96c
Merge branch 'master' into release/next-js 2021-04-01 13:49:53 +10: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
Logan Allen
4e87b59479 group-feed: finalize timeline padding 2021-03-30 21:56:49 -05: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
Liam Fitzgerald
b77f4e2596
FormGroup: block windowclose 2021-03-30 14:16:17 +10:00
Liam Fitzgerald
a6b18824d5
ChannelPopover: unify forms
Fixes urbit/landscape#534
2021-03-30 14:01:21 +10:00
Liam Fitzgerald
7686d55df6
FormGroup: add component 2021-03-30 13:59:14 +10:00
matildepark
0d9e7becf8
Merge pull request #4659 from urbit/mp/chat/editor-scroll
chat: prevent input overflow offscreen
2021-03-29 23:03:47 -04:00
Liam Fitzgerald
6556059b99
interface: update md version
Fixes urbit/landscape#662
2021-03-30 09:06:39 +10:00
Logan Allen
f53d300fa4 interface: fix empty group home 2021-03-29 15:23:24 -05:00
Matilde Park
07b2b6c98b landscape: don't build serviceworker in dev 2021-03-29 15:57:14 -04:00
matildepark
dd563ac26a
Merge pull request #4673 from urbit/la/feed-perf
group-feed: improve performance and make mobile load
2021-03-29 15:08:53 -04:00
Matilde Park
3c1708d194 Merge branch 'release/next-js' into release/next-userspace 2021-03-29 14:52:12 -04:00
Logan Allen
bf49fd81f9 Merge branch 'release/next-userspace' into la/feed-perf 2021-03-29 13:39:57 -05:00
L
6f7d1b0c1b
Merge pull request #4680 from urbit/lf/ref-collections
collections: allow %reference as link
2021-03-29 13:39:08 -05:00
Matilde Park
31b252605d landscape: delete console.logs, revert instant timeout 2021-03-29 14:27:29 -04:00
Liam Fitzgerald
23e3c9eab9 Post: allow transclusion of and into
Fixes urbit/landscape#660
2021-03-29 14:27:29 -04:00
Liam Fitzgerald
365f17f210 interface: support %started update 2021-03-29 14:27:28 -04:00
Liam Fitzgerald
1ec9141de1 Invites: fix prop passing
Fixes urbit/landscape#654
2021-03-29 14:27:28 -04:00
Logan Allen
360f76949a interface: fix PostReplies crash 2021-03-29 13:13:24 -05:00
Logan Allen
2c260a78a8 interface: group feed prop drilling reduced, purecomponent approach discarded, subscription restart rewritten 2021-03-29 13:11:25 -05:00
matildepark
503dd3538a
Merge pull request #4676 from urbit/james/unread-corners
chat: adjust unread banner corners
2021-03-29 13:57:28 -04:00
James Acklin
515f9fb9b4 resourceSkeleton: remove imports 2021-03-28 22:56:13 -04:00
Liam Fitzgerald
bd1e6de907
interface: support %reference in collections
Fixes urbit/landscape#661
2021-03-29 12:39:56 +10:00
James Acklin
7807de758c interface: trunc channel names & descriptions in header
fixes urbit/landscape#587, fixes urbit/landscape#512
2021-03-28 22:33:57 -04:00
Liam Fitzgerald
185f35f194
collections: update link copy
Fixes urbit/landscape#615
2021-03-29 09:47:27 +10:00
James Acklin
feaabacf01 chat: adjust unread banner corners
fixes urbit/landscape#657
2021-03-27 22:49:14 -04:00
Logan Allen
58087d45bd interface: re-render reply view properly by modifying locationUrl prop 2021-03-26 17:07:28 -05:00
Logan Allen
9fa768dfe8 interface: missing contacts in PostReplies 2021-03-26 17:01:15 -05:00
Logan Allen
16f5e95df6 interface: moved around post items 2021-03-26 16:59:25 -05:00
Logan Allen
fe4b61ed6b interface: remove worthless withMemo 2021-03-26 16:53:48 -05:00
Logan Allen
2dddf1b837 group-feed: improve performance and make mobile load 2021-03-26 16:52:50 -05:00
Matilde Park
ab5c7e159f launch: prevent aggressive tutorial render
hasLoaded has a poor heuristic in a localStorage state world, rendering
the modal unconditionally. We pass the connection directly as our check.
2021-03-26 16:10:39 -04:00
Matilde Park
4e6655db3b launch: get tutorial state from zustand
The check for rendering the tutorial modal
was relying on a passed prop that does not exist now.
2021-03-26 15:53:47 -04:00
Matilde Park
27ba0f90fe RemoteContent: flex truncate links 2021-03-26 13:59:05 -04:00
Liam Fitzgerald
e8248691e8
Post: fix virtscroller position on replies
Fixes urbit/landscape#649
2021-03-26 13:55:07 +10:00
Liam Fitzgerald
45e11204d3
Post: fix various crashes 2021-03-26 13:51:28 +10:00
Liam Fitzgerald
b506eb44eb
chat: update links to match spec 2021-03-26 13:27:26 +10:00
Liam Fitzgerald
70d18fa851
invites: render correctly
Fixes urbit/landscape#628
2021-03-26 13:03:00 +10:00
Liam Fitzgerald
3cb4a689bf
chat: fix showing contact in transclusion
Fixes urbit/landscape#629
2021-03-26 12:54:46 +10:00
Liam Fitzgerald
6842cc0f15
ProfileOverlay: fix contact render
Fixes urbit/landscape#630
2021-03-26 12:42:04 +10:00
Liam Fitzgerald
4af130ca2e
chat: cap block content at 500px
Fixes urbit/landscape#641
2021-03-26 12:20:04 +10:00
Liam Fitzgerald
1f0b6d5a9c
notifications: clear before applying unreads
Fixes urbit/landscape#646
2021-03-26 08:12:00 +10:00
Logan Allen
e840eaae7e interface: terminal and permalink embeds washedGray -> lightGray 2021-03-25 16:53:58 -05:00
Logan Allen
8654880299 interface: profile and settings light gray 2021-03-25 16:51:30 -05:00
Logan Allen
31e392608a interface: share profile banner washedGray to lightGray 2021-03-25 16:27:19 -05:00
Logan Allen
fdd529a8ea interface: borders changed from washedGray to lightGray to match Figma mocks 2021-03-25 16:18:33 -05:00
Logan Allen
9ac24ed6a9 interface: post permalinks work 2021-03-25 14:36:50 -05:00
Logan Allen
466935b84b group-feed: prevent crash by temporarily using Spaces icon 2021-03-25 14:32:45 -05:00
Logan Allen
bd5de5b145 group-feed: copy permalinks from group feed posts 2021-03-25 14:13:54 -05:00
Logan Allen
b865227de7 group-feed: prevent event propagation for links so as not to trigger page navigation, enable remote content embeds properly 2021-03-25 13:43:44 -05:00
Logan Allen
b6b31ce45e group-feed: fix text overflow to make it not cut-off horizontally incorrectly 2021-03-25 13:05:50 -05:00
Logan Allen
94fcb992a1 group-feed: fix reply view top margin 2021-03-25 12:57:06 -05:00
Logan Allen
4efed9483c interface: fix a grab bag of group feed design issues, including header spacing, highlighting message upon hovering, collapsing text content of large posts, ensuring overflow of content works properly, ensuring scroll works properly for large content items, etc 2021-03-25 12:52:19 -05:00
Matilde Park
bc433597fd chat: prevent input overflow offscreen
Fixes urbit/landscape#632
2021-03-25 12:27:29 -04:00
Liam Fitzgerald
9db4217220
ChatWindow: stop unread notice disappearing 2021-03-25 16:38:27 +10:00
Liam Fitzgerald
05c8a9fc06
embeds: fix protocol 2021-03-25 14:31:40 +10:00
Liam Fitzgerald
3295cb764e
GroupFeed: fix crash on enable 2021-03-25 14:11:59 +10:00
Liam Fitzgerald
6adc249d76
permalinks: fix parsing 2021-03-25 14:11:39 +10:00
Liam Fitzgerald
e206c8bb8d
Sidebar: fix render on safari 2021-03-25 14:11:07 +10:00
Matilde Park
7fd4928d96 Merge branch 'release/next-js' into release/next-userspace 2021-03-24 19:10:27 -04:00
Logan Allen
b15d7524e1 Merge branch 'release/next-userspace' into la/group-feed 2021-03-24 15:08:01 -05:00
Matilde Park
bafe95a988 landscape: stubbing empty functions
@liam-fitzgerald
2021-03-24 16:02:08 -04:00
Logan Allen
58bf89d834 Merge branch 'release/next-userspace' into la/group-feed 2021-03-24 14:51:49 -05:00
Matilde Park
ef8d7c3900 interface: rename web+urbit URI -> web+urbit-graph 2021-03-24 15:16:30 -04:00
Jōshin
fe8313bbe6
interface: type annotations, imports 2021-03-23 21:45:15 -07:00
Liam Fitzgerald
369c0cc565
ChatWindow: fix at bottom dismiss 2021-03-24 13:58:00 +10:00
Liam Fitzgerald
1a03b0c63f
ChatWindow: dismiss unread if we are at bottom of window 2021-03-24 13:47:49 +10:00
Liam Fitzgerald
0f674aab17
ChatWindow: stop blue line moving 2021-03-24 13:29:43 +10:00
Liam Fitzgerald
28a2aae408
permalinks: cleanup styling 2021-03-24 13:17:16 +10:00
Liam Fitzgerald
e49446f85e
interface: styling fixes for permalinks 2021-03-24 13:11:50 +10:00
Liam Fitzgerald
986fa02ccd
interface: register permalink handler 2021-03-24 13:11:50 +10:00
Liam Fitzgerald
dd44377624
interface: update transclusion for reference content 2021-03-24 13:11:48 +10:00
Liam Fitzgerald
b1e86b42ba
interface: fix private permalinks 2021-03-24 13:09:55 +10:00
Liam Fitzgerald
9ea2091494
permalinks: cap transclusion depth 2021-03-24 12:59:55 +10:00
Liam Fitzgerald
ec94f2c5d4
permalinks: add transclusion 2021-03-24 12:59:01 +10:00
Liam Fitzgerald
f9e7f4602c
permalinks: support in apps 2021-03-24 12:57:43 +10:00
Liam Fitzgerald
c7015e2080
permalinks: restructure paths 2021-03-24 12:57:43 +10:00
Liam Fitzgerald
bc82f02091
wip 2021-03-24 12:57:43 +10:00
Liam Fitzgerald
5d43031f3d
graph: permalinks 2021-03-24 12:57:42 +10:00
Liam Fitzgerald
d06c3399aa
Merge branch 'lf/hark-hotfix' 2021-03-24 12:54:00 +10:00
Liam Fitzgerald
1cb71260c8
notifications: fix crash in reducer 2021-03-24 12:51:16 +10:00
Matilde Park
6f18be7232 chat: hotfixing to use overflow='auto' 2021-03-23 22:38:41 -04:00
Liam Fitzgerald
dfb313dba3
Merge branch 'lf/hark-final-fix' 2021-03-24 12:21:13 +10:00
Matilde Park
a1e3aa0a01 build: revert accidental webpack.dev.js commit 2021-03-23 22:16:11 -04:00
Logan Allen
9de66bc5af Merge branch 'release/next-userspace' into la/group-feed 2021-03-23 21:13:12 -05:00
matildepark
8fb3c6bbb9
Merge pull request #4652 from urbit/lf/blue-line
chat: fix unread line setting
2021-03-23 22:08:57 -04:00
Liam Fitzgerald
3149e5fd45
chat: fix unread line setting 2021-03-24 12:03:36 +10:00
Matilde Park
c0ee07a240 Merge branch 'release/next-js' into lf/dm-redir 2021-03-23 21:47:41 -04:00
Liam Fitzgerald
a1a5dee114
notifications: fix DM redirect
Weird zombie children issues, refactored to use props from parent
instead

Fixes urbit/landscape#595
2021-03-24 11:30:00 +10:00
matildepark
4d13b065cd
Merge pull request #4648 from urbit/mp/landscape/2021-3-23-grabbag
landscape: assigned grabbag
2021-03-23 20:14:25 -04:00
Logan Allen
307843a112 interface: group feed header matches mocks 2021-03-23 15:59:19 -05:00
Logan Allen
7223156910 interface: reset virtual scroller properly for reply view and render empty state better 2021-03-23 15:44:58 -05:00
matildepark
39d89600c3
Merge branch 'release/next-js' into fix/leap-result-order 2021-03-23 15:58:51 -04:00
matildepark
74c2e59d71
Merge pull request #4644 from urbit/james/chat-unread
chat: new unread message style
2021-03-23 15:35:52 -04:00
Matilde Park
8524fe74db chat: scroll input overflow for huge pastes
Fixes urbit/landscape#272
2021-03-23 15:02:37 -04:00
Matilde Park
8a04298574 settings: use async buttons for s3
Fixes urbit/landscape#290
2021-03-23 14:58:51 -04:00
James Acklin
e19302a198 chat: uniform text color in unread banner
fixes urbit/landscape#563
2021-03-23 14:58:28 -04:00
Matilde Park
d555fcc50f publish: nested lists don't have additional margins
Fixes urbit/landscape#98
2021-03-23 14:51:04 -04:00
Matilde Park
82a9456105 CalmEngine: reverse remote content toggles
Flips them on their way both in and out to retain previous settings

Fixes urbit/landscape#499
2021-03-23 14:43:26 -04:00
Matilde Park
bc52f653cd landscape: add title attr for statuses
Fixes urbit/landscape#505
2021-03-23 14:35:36 -04:00
Matilde Park
433cca528d leap: commands come first in results
Fixes urbit/landscape#524
2021-03-23 14:32:47 -04:00
Matilde Park
eeafd10b96 OmniboxResult: truncate long titles
Fixes urbit/landscape#545
2021-03-23 14:31:05 -04:00
Matilde Park
33cdb327b6 landscape: render nicknames in invites
Fixes urbit/landscape#557
2021-03-23 14:25:41 -04:00
Matilde Park
8f4d7da976 landscape: prevent -1 days display on tutorial
Fixes urbit/landscape#584
2021-03-23 14:15:05 -04:00
matildepark
0e0fc807d2
Merge pull request #4642 from urbit/james/overlay-sigils
chat: resize sigils to 32px, container to 60px
2021-03-23 11:53:07 -04:00
matildepark
f828a2c74a
Merge pull request #4645 from urbit/jo/gcp/no-poll
interface/gcp: stop polling for gcp store config
2021-03-23 11:50:57 -04:00
Liam Fitzgerald
a2eab5545d
notifications: render post notifications 2021-03-23 15:29:23 +10:00
Liam Fitzgerald
bdb3c56c7e
interface: virtualscroll style fixes 2021-03-23 15:03:22 +10:00
Liam Fitzgerald
9895886633
Post: code, links input 2021-03-23 14:45:47 +10:00
Liam Fitzgerald
0864b99e3f
Post: prompt for permissions 2021-03-23 14:04:32 +10:00
Jōshin
837bb94214
interface/gcp: stop polling for gcp store config
We polled on -gcp-is-configured before, so that if the store got
configured, Landscape would get a token without needing a browser
refresh. But the resulting POSTs were bothersome, so now we only check
once and stop if GCP store doesn't seem to be configured.

We could check 0 times (and delete -gcp-is-configured), but this has
problems. Mainly:

- there would be no way to tell whether GCP store was unconfigured or
  misconfigured

- if -gcp-get-token failed intermittently (e.g. the token-uri was down
  for a moment), we would not get a token for that session.

We may want to make GCP store into a Gall app of its own, so we can get
updates from it for free. Or else perhaps key off of the presence of the
store config in settings-store or something. But for now, this
fixes urbit/landscape#583.
2021-03-22 20:22:38 -07:00
Liam Fitzgerald
60b7b5df44
ProfileOverlay: refactor, fixed pos 2021-03-23 13:15:04 +10:00
Tyler Brown Cifu Shuster
ae9480bbd5 interface: wraps zustand setter in batchUpdate 2021-03-22 20:07:43 -07:00
Logan Allen
9592eab222 interface: make nested reply views work and empty reply view work 2021-03-22 20:05:06 -05:00
James Acklin
bbb2bfe080 chat: correct unread banner padding 2021-03-22 20:55:41 -04:00
Liam Fitzgerald
4f0d84f4ee
Merge branch 'origin/pre-release/next-userspace' into release/next-userspace 2021-03-23 10:48:11 +10:00
James Acklin
991de4bb3b chat: new unread message style
fixes urbit/landscape#563
2021-03-22 20:46:48 -04:00
Logan Allen
b0db99d0a7 interface: feed header closer to correct, virtual scroller working better 2021-03-22 18:40:57 -05:00
James Acklin
9d664429cb chat: resize sigils to 32px, container to 60px
fixes urbit/landscape#588
2021-03-22 18:25:18 -04:00
Logan Allen
4650f507e2 interface: buggy implementation of reply view 2021-03-22 17:20:55 -05:00
matildepark
0c419550ef
Merge pull request #4592 from tylershuster/stacktrace
interface: better error boundary reporting tools and formatting
2021-03-22 16:57:31 -04:00
Logan Allen
de14c5d8a1 Merge branch 'release/next-userspace' into la/group-feed 2021-03-22 15:49:25 -05:00
Logan Allen
3daf87d8f6 interface: re-render post feed on pending change 2021-03-22 15:48:54 -05:00
Matilde Park
cf76a2f09e Merge branch 'release/next-js' into release/next-userspace 2021-03-22 16:47:43 -04:00
Logan Allen
72fac6ad54 interface: fix more merge issues 2021-03-22 15:44:01 -05:00
Logan Allen
bdfa1650cf interface: fix up issues from zustand merge 2021-03-22 15:11:28 -05:00
Matilde Park
6164d16afb publish: call all hooks before returning early
Fixes urbit/landscape#597
2021-03-22 15:38:58 -04:00
Logan Allen
2e45f4fd99 Merge branch 'release/next-userspace' into la/group-feed 2021-03-22 12:36:34 -05:00
matildepark
0d8a309c8b
Merge pull request #4639 from tylershuster/sidebar-bold
sidebar: two styling fixes
2021-03-22 13:09:36 -04:00
matildepark
cb0973867f
Merge pull request #4635 from tomholford/fix/notebook-index-image-preview
landscape: NotebookPreview can render image posts
2021-03-22 13:07:55 -04:00
Tyler Brown Cifu Shuster
bb5ff27ca8 sidebar: changed color of subscribed item icons 2021-03-22 09:52:28 -07:00
Tyler Brown Cifu Shuster
a83d2b9150 sidebar: fixes urbit/landscape#596 item bolding 2021-03-22 09:45:23 -07:00
Tyler Brown Cifu Shuster
39bf3644f4 sidebar: updated channel state design 2021-03-21 20:28:47 -07:00
tomholford
3e580f81e8 landscape: sort Leap search results alphabetically 2021-03-21 10:04:34 -07:00
tomholford
7d602aa0eb landscape: NotebookPreview can render image posts 2021-03-21 10:01:55 -07:00
matildepark
38cb4f7e00
Merge pull request #4626 from mirtyl-wacdec/unicode-to-ascii
landscape: convert non-latin group and channel names to ascii
2021-03-19 18:07:35 -04:00
matildepark
0594e33b2f
Merge pull request #4594 from tylershuster/debug-menu
interface: added debug menu
2021-03-19 17:58:11 -04:00
matildepark
a3bf36226c
Merge pull request #4608 from urbit/lf/not-forms
notifications: add submit button for preferences
2021-03-19 17:31:41 -04:00
matildepark
fb5fd9a57b
Merge pull request #4628 from urbit/james/hark-message-hover
hark: eliminate chatmessage hover backgrounds
2021-03-19 17:22:16 -04:00
James Acklin
503495fdcf chat: prevent marker text from wrapping 2021-03-19 15:11:11 -04:00
mirtyl-wacdec
3e899c19b8
Merge branch 'release/next-js' into unicode-to-ascii 2021-03-19 14:16:02 +07:00
Liam Fitzgerald
211ae0ce8a
notifications: update reducers 2021-03-19 11:32:17 +10:00
James Acklin
2776f783ed hark: flip hovermarker flag 2021-03-18 20:36:28 -04:00
James Acklin
e128d88864 hark: no chat message hover background 2021-03-18 20:20:02 -04:00
Liam Fitzgerald
7a1619222c
interface: update FE marks 2021-03-19 10:12:51 +10:00
Logan Allen
f279c59a15 interface: use Author component for proper display name rendering and overlay sigil 2021-03-18 16:54:13 -05:00
Logan Allen
fa4ce8cfe3 interface: populating group feed header and correctly indicating navigation location 2021-03-18 16:19:02 -05:00
Logan Allen
4c52c766a5 interface: make renderer in PostFeed stable, style tweaks 2021-03-18 15:54:04 -05:00
mirtyl-wacdec
c5b82acffb landscape: transliterate non-latin characters into ascii 2021-03-18 20:40:59 +07:00
janeway-bot
89f907b698
Merge 8373e99671 into release/next-js 2021-03-18 03:07:36 +04:00
Logan Allen
112181cc54 interface: possible to navigate to proper reply path, reply view next up to work on 2021-03-17 15:53:50 -05:00
Logan Allen
67378dc21f interface: submitting replies works 2021-03-17 15:46:47 -05:00
Logan Allen
ee0cb2c587 interface: fully support pagination 2021-03-17 15:06:42 -05:00
Logan Allen
9adea464b1 interface: style fixes after talking with Jimmy 2021-03-17 14:42:23 -05:00
Logan Allen
c40d2f65ad interface: make PostItem properly resize 2021-03-17 13:50:02 -05:00
Logan Allen
52769e45ba interface: fleshing out PostItem with footer, use of MentionText instead of copied code from chat 2021-03-17 13:43:20 -05:00
Logan Allen
6b725eee93 interface: reorganized post item and got virtual scroller working 2021-03-17 12:10:42 -05:00
matildepark
63bdbbbe11
Merge pull request #4621 from urbit/mp/landscape/undo-anchor-rel
landscape/RichText: revert anchors to use rel= for referrer
2021-03-16 21:13:56 -04:00
matildepark
30a2fc5f16
Merge pull request #4591 from urbit/lf/group-size
Participants: fix display of nonmembers
2021-03-16 21:02:01 -04:00
Liam Fitzgerald
db811cf1bd
Participants: fix count 2021-03-17 10:40:51 +10:00
Matilde Park
a1bab09f90 landscape/RichText: revert anchors to use rel= for referrer 2021-03-16 20:40:21 -04:00
matildepark
0dc3e20923
Merge pull request #4619 from urbit/mp/landscape/no-img-ref
interface: remove referrer headers from img tags
2021-03-16 20:29:56 -04:00
Matilde Park
a79d7e2f55 launch: depluralise 'days' when necessary
Fixes urbit/landscape#576
2021-03-16 19:17:19 -04:00
Matilde Park
132eea297c interface: remove referrer headers from img tags 2021-03-16 19:12:32 -04:00
Logan Allen
74a605c094 interface: render basic posts 2021-03-16 17:24:53 -05:00
Logan Allen
0b25f119aa interface: group feed post input with API actions works 2021-03-16 15:46:51 -05:00
Logan Allen
2dd17ede15 interface: initial skeleton of post feed, breaking out into different components 2021-03-16 14:35:54 -05:00
Logan Allen
4668ce98ae interface: cleaning up Home components to ready for building full group feed 2021-03-16 14:02:57 -05:00
Logan Allen
68ef004d9d interface: hooked up basic enable/disable feed API, updated sidebar and display stuff 2021-03-16 13:24:19 -05:00
matildepark
570ab959e3
Merge pull request #4612 from urbit/james/chat-fixes
chat: minor visual fixes
2021-03-16 14:04:07 -04:00
James Acklin
cf3cab82d0 chat: fix unread marker spacing regression
fixes urbit/landscape#570
2021-03-15 16:23:16 -04:00
L
0508edbece
Merge pull request #4609 from urbit/la/display-contact-appropriately
interface: only display our contact when appropriate
2021-03-15 15:21:25 -05:00
Logan Allen
a62ab1ad97 interface: add a comment to document this hack 2021-03-15 15:21:02 -05:00
James Acklin
a01cbb234d chat: flex long display names
fixes urbit/landscape#569
2021-03-15 16:07:31 -04:00
matildepark
3c8bb6d80f
Merge pull request #4590 from urbit/lf/virt-scroll
ChatWindow: fix unread mark and gaps in scrollback
2021-03-15 15:03:25 -04:00
Matilde Park
ca1c9e471f build: pkg/interface builds pkg/npm preinstall 2021-03-15 13:54:07 -04:00
Logan Allen
70866fb7c5 interface: only display our contact when appropriate 2021-03-15 12:46:01 -05:00
matildepark
733aebf4a7
Merge pull request #4607 from urbit/lf/ship-uniq
ShipSearch: prevent dupes in exact matches
2021-03-15 13:39:45 -04:00
Matilde Park
554be3be4f Merge branch 'release/next-js' into release/next-userspace 2021-03-15 13:19:44 -04:00
Matilde Park
693bf40cd4 Merge branch 'master' into release/next-js 2021-03-15 13:19:22 -04:00
Matilde Park
dfe186b96e Merge branch 'release/next-js' into release/next-userspace 2021-03-15 13:18:04 -04:00
édouard
f3c34751e4 sidebar: change group avatar radius from 2 to 1
Making this tiny change to ensure visual consistency in radius treatment.
2021-03-14 22:55:00 -04:00
matildepark
c27b30e29d
Merge pull request #4604 from urbit/mp/hark/calm
hark-fe: use calmengine for nickname render
2021-03-13 13:20:50 -05:00
Matilde Park
735805cb59 hark-fe: use calmengine for nickname render
Fixes urbit/landscape#566
2021-03-13 13:06:12 -05:00
matildepark
3a5e622d11
Merge pull request #4603 from urbit/james/chat-row
chat: row hover
2021-03-13 13:05:09 -05:00
James Acklin
fd0267eae7 chat: adds hover actions and overflow menu
fixes urbit/landscape#460
2021-03-13 12:35:42 -05:00
James Acklin
5e8aa1cf0b chat: hover treatment for rows
fixes urbit/landscape#460
2021-03-12 21:29:39 -05:00
édouard
e76ce13f9d landscape profiles: tiny tweaks to visual elements 2021-03-12 18:43:17 -05:00
matildepark
d39ab24c8f
Merge pull request #4595 from urbit/lf/fix-tut
tutorial: update for zustand
2021-03-12 13:51:06 -05:00
James Acklin
c35c9b790a chat: pads 16px-square sigils out to 24px effective
fixes urbit/landscape#460
2021-03-12 12:28:11 -05:00
Liam Fitzgerald
d21c929518
ShipSearch: prevent dupes in exact matches
Fixes urbit/landscape#522
2021-03-12 15:13:16 +10:00
Liam Fitzgerald
4133869957
notifications: add submit button for preferences
Fixes urbit/landscape#535
2021-03-12 15:02:58 +10:00
Liam Fitzgerald
2df1687580
tutorial: update for zustand 2021-03-12 14:55:18 +10:00
Tyler Brown Cifu Shuster
acfb0560bc interface: added debug menu 2021-03-11 20:21:56 -08:00
Liam Fitzgerald
6720074228
graph-update: sort indices correctly 2021-03-12 13:46:17 +10:00
James Acklin
29cc65a7b7 chat: initial pass of spacing/sizing refactor 2021-03-11 21:41:53 -05:00
Liam Fitzgerald
ede3b53c60
Participants: unify sig handling 2021-03-12 12:31:39 +10:00
Tyler Brown Cifu Shuster
7ada4cb463 interface: better error boundary reporting tools and formatting 2021-03-11 18:16:11 -08:00
Liam Fitzgerald
0a71df076f
Participants: fix display of nonmembers
Fixes urbit/landscape #552
2021-03-12 12:03:34 +10:00
Liam Fitzgerald
0fe7a2c985
ChatWindow: fix unread and gaps in scrollback 2021-03-12 11:34:06 +10:00
matildepark
f20da46745
Merge pull request #4586 from urbit/mp/landscape/misc-warnings
landscape: clean up console crashes, key mapped components
2021-03-11 20:25:11 -05:00
matildepark
2e89e47a53
Merge pull request #4581 from urbit/mp/landscape/fix-channel-count
GroupsPane: restore channel counts on summaries
2021-03-11 20:24:43 -05:00
matildepark
3cbc8d7867
Merge pull request #4585 from urbit/mp/publish/permission
publish: allow admins to delete posts, comments
2021-03-11 20:08:44 -05:00
matildepark
93e4c96959
Merge pull request #4587 from urbit/mp/settings/sidebar
settings: fix sidebar spacing
2021-03-11 20:08:05 -05:00
Liam Fitzgerald
2f9a4eea81
Merge pull request #4589 from tylershuster/zustand-fixes
interface: fixes base state typo and improves notification initial st…
2021-03-12 11:03:22 +10:00
Tyler Brown Cifu Shuster
ec8b17c96d interface: fixes base state typo and improves notification initial status 2021-03-11 16:36:51 -08:00
matildepark
201933ecc4
Merge pull request #4588 from urbit/james/grab-bag
interface: small grab-bag
2021-03-11 17:47:16 -05:00
James Acklin
ccf13d13f4 status bar: replace ourContact prop 2021-03-11 17:30:59 -05:00
James Acklin
0c766af300 interface: minor fix grabbag 2021-03-11 17:19:38 -05:00
Matilde Park
8b680cd1b8 settings: fix sidebar spacing
Fixes urbit/landscape#562
2021-03-11 17:00:57 -05:00
matildepark
1c4924f012
Merge pull request #4579 from urbit/james/settings-sidebar
settings: sidebar same width as groups
2021-03-11 16:52:25 -05:00
matildepark
cb25420938
Merge pull request #4583 from tylershuster/why-did-you-render
interface: added tool to track unneeded renders
2021-03-11 13:57:13 -05:00
Matilde Park
c44370889e VirtualScroller: use correct style name 2021-03-11 13:27:24 -05:00
Matilde Park
3d46b16a26 chat: key mapped components 2021-03-11 13:27:14 -05:00
Matilde Park
7f67682297 interface/css: remove non-existent fonts 2021-03-11 13:26:39 -05:00
Tyler Brown Cifu Shuster
534f5279a1 interface: added tool to track unneeded renders 2021-03-11 10:22:34 -08:00
Matilde Park
95e2281d99 landscape/Author: remove unnecessary api prop 2021-03-11 12:46:41 -05:00
Matilde Park
5189b3ea20 publish: render author's image and overlay 2021-03-11 12:46:27 -05:00
Matilde Park
dd0252542d publish: allow admins to delete posts, comments 2021-03-11 12:41:07 -05:00
James Acklin
cce7c890f4 settings: removes superfluous flex container, pads back button on mobile
fixes urbit/landscape#541
2021-03-11 12:41:06 -05:00
Liam Fitzgerald
205e827024
Merge remote-tracking branch 'origin/release/next-js' into release/next-userspace 2021-03-11 12:08:35 +10:00
matildepark
95dd83707e
Merge pull request #4582 from tylershuster/overlay-crash
interface: changed ProfileOverlay to functional component
2021-03-10 20:57:16 -05:00
matildepark
6c7002278e
Merge pull request #4561 from urbit/james/top-bar-dropdown
top bar: dropdown styling tweaks
2021-03-10 20:40:33 -05:00
Tyler Brown Cifu Shuster
9b16dc171b interface: changed ProfileOverlay to functional component 2021-03-10 17:37:07 -08:00
Matilde Park
af38b0ee2d GroupsPane: reference correct associations object 2021-03-10 20:23:38 -05:00
Matilde Park
41556cd563 interface: remove deprecated types and props 2021-03-10 20:23:24 -05:00
matildepark
c0d68120c1
Merge pull request #4580 from tylershuster/comment-crash
interface: removed conditional hooks
2021-03-10 19:52:48 -05:00
Tyler Brown Cifu Shuster
633bcefc44 interface: removed conditional hooks 2021-03-10 16:32:25 -08:00
Logan Allen
6936f47f33 interface: update to use new config variable instead of module 2021-03-10 17:21:57 -06:00
James Acklin
db4c0bcb87 settings: sidebar same width as groups
fixes urbit/landscape#541
2021-03-10 16:11:05 -05:00
Tyler Brown Cifu Shuster
09cde9b059 interface: use hook state for invite items 2021-03-10 13:00:15 -08:00
Tyler Brown Cifu Shuster
9c421a7080 interface: reduce group-view messages 2021-03-10 12:53:26 -08:00
James Acklin
fe31724e31 Merge branch 'release/next-js' into james/top-bar-dropdown 2021-03-10 07:20:19 -05:00
Liam Fitzgerald
d82e886e2a
UnjoinedResource: fix crash 2021-03-10 17:19:08 +10:00
Liam Fitzgerald
e44f78ad1b
Profile: fix broken status 2021-03-10 16:15:34 +10:00
Liam Fitzgerald
c0eddeda4b
notifications: fix refresh bug
Fixes urbit/landscape#546
2021-03-10 16:11:13 +10:00
Liam Fitzgerald
ca682f7bcf
RemoteContent: fix store access 2021-03-10 15:56:22 +10:00
Liam Fitzgerald
77857a487e
Merge pull request #4510 from tylershuster/zustand-stores
interface: convert stores to zustand
2021-03-10 15:40:29 +10:00
James Acklin
7c0149bb13 Merge branch 'release/next-js' into james/top-bar-dropdown 2021-03-09 21:17:35 -05:00
James Acklin
177d5bc11e top bar: fall back to preexisting status control
fixes urbit/landscape#531
2021-03-09 21:05:49 -05:00
Liam Fitzgerald
80efb64190
LinkItem: safely access size
Fixes urbit/landscape#542
2021-03-10 11:53:25 +10:00
Liam Fitzgerald
869a25adcf
RemoteContent: use settings instead of local state
Fixes urbit/landscape#544
2021-03-10 11:50:55 +10:00
Tyler Brown Cifu Shuster
4055eac9b9 interface: prevent comment crash by sanity checking size 2021-03-09 17:42:43 -08:00
Tyler Brown Cifu Shuster
f89b7fcbae Merge branch 'release/next-js' of https://github.com/urbit/urbit into zustand-stores 2021-03-09 17:03:45 -08:00
Logan Allen
33cc337442 interface: links opacity 2021-03-09 16:03:00 -06:00
Logan Allen
cbef07d19f interface: working timestamp fuzzy diffing 2021-03-09 15:38:48 -06:00
Logan Allen
0fc7c312ab interface: unpleasant changes to pending states 2021-03-09 15:01:05 -06:00
Logan Allen
731732a86e interface: graph reducer fix receive before pending bug 2021-03-09 14:34:53 -06:00
Logan Allen
59da9e1f49 Merge branch 'release/next-userspace' into la/group-feed 2021-03-09 13:22:25 -06:00
Logan Allen
63cfbd2ca4 Merge branch 'master' into release/next-userspace 2021-03-09 13:20:22 -06:00
Tyler Brown Cifu Shuster
7161174ca5 interface: update state hooks to accomodate graph schema changes 2021-03-09 10:58:49 -08:00
Tyler Brown Cifu Shuster
5328aae1a6 Merge branch 'release/next-js' of https://github.com/urbit/urbit into zustand-stores 2021-03-09 10:58:29 -08:00
Logan Allen
e080233c91 Merge branch 'release/next-js' into la/release-2021-03-04 2021-03-09 17:58:35 +00:00
Matilde Park
4b86de5c83 chat: make code blocks inherit from input color 2021-03-09 12:54:50 -05:00
matildepark
c3d7c6eaa1
Merge pull request #4568 from urbit/lf/tutorial-polish
Tutorial: polish for release
2021-03-09 12:41:57 -05:00
matildepark
ba24935192
Merge pull request #4569 from urbit/lf/dark-sigils
Sigils: fix default background
2021-03-09 12:37:51 -05:00
Tyler Brown Cifu Shuster
7864d91b14 interface: grabbag of fixes for state hook implementation 2021-03-09 08:32:55 -08:00
Liam Fitzgerald
e296a5d986
Tutorial: dismiss correctly 2021-03-09 12:59:54 +10:00
Liam Fitzgerald
f1ae3ab81b
Sigils: fix default background 2021-03-09 12:47:19 +10:00
Matilde Park
8f8786ff26 tutorialModel: fix syntax error 2021-03-08 21:44:43 -05:00
matildepark
898561ea30
Merge pull request #4565 from urbit/lf/grabbag
interface: grabbag of fixes
2021-03-08 21:36:34 -05:00
matildepark
f1dc011aae
Merge pull request #4566 from urbit/lf/group-invites
Invites: accept already joined group
2021-03-08 21:32:26 -05:00
matildepark
348ca8b3a7
Merge pull request #4559 from urbit/james/message-from-profile
profile: surface "message" action on non-owned profiles
2021-03-08 21:31:55 -05:00
Tyler Brown Cifu Shuster
1b17bcd286 interface: addressed store feedback; cleaning up 2021-03-08 17:48:24 -08:00
Tyler Brown Cifu Shuster
e7e03b0956 Merge branch 'release/next-js' of https://github.com/urbit/urbit into zustand-stores 2021-03-08 17:46:03 -08:00
Liam Fitzgerald
fc9212b7ba
Leap: fix double section
Fixes urbit/landscape#504
2021-03-09 11:33:05 +10:00
Liam Fitzgerald
35a1fe12bc
Participants: kick pending contacts
Fixes urbit/landscape#269
2021-03-09 11:33:04 +10:00
Liam Fitzgerald
ed8ec1085a
Profile: fix stale headers
Fixes urbit/landscape#419
2021-03-09 11:33:04 +10:00
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
Matilde Park
1df231f79e meta: revert urbitrc-sample rename 2021-03-04 12:25:00 -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
Tyler Brown Cifu Shuster
b4fc43a752 Merge branch 'release/next-js' of https://github.com/urbit/urbit into zustand-stores 2021-02-26 17:15:54 -08: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
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
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
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
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
Liam Fitzgerald
6fa0cd29e2
settings: migrate 2021-02-26 13:05:31 +10:00
Liam Fitzgerald
32b17d6def
interface: bump indigo 2021-02-26 11:30:23 +10:00
Liam Fitzgerald
034fc30173
Merge remote-tracking branch 'origin/release/next-js' into lf/tutorial-revive 2021-02-26 11:26:17 +10:00
Liam Fitzgerald
a323d0c3fc
tutorial: show notification on skip 2021-02-26 11:23:11 +10:00
James Acklin
7f36be4ef0 profile: submit profile from outside form bounds
Fixes urbit/landscape#444
2021-02-25 20:19:59 -05:00
Liam Fitzgerald
4964b44601
omnibox: hide tutorial from initial 2021-02-26 11:04:04 +10:00
J
92dd46b176 GcpClient: remove unused BASE_URL 2021-02-26 00:49:57 +00:00
J
1c0d8e524e interface: thread gcp through props
Basically just a grep for 's3', and I added gcp wherever it looked like
I ought to.
2021-02-26 00:38:01 +00:00
Matilde Park
fef99fcf21 GroupSearch, ShipSearch: use cursor: pointer 2021-02-25 19:20:26 -05:00
Matilde Park
2ed7759864 ChannelPopoverRoutes: add rootUrl type 2021-02-25 19:19:10 -05:00
Matilde Park
f8d8e250c9 GroupPane: description defaults to regular font size 2021-02-25 19:18:48 -05:00
Matilde Park
75c90ea4a5 landscape: add border prop to loading
Prevents borders showing when loading channels.

Also spaces the text beside the spinner.
2021-02-25 19:18:29 -05:00
Matilde Park
8ba29acc15 landscape: redirect properly on channel archive
Previously landed on a crash.
2021-02-25 19:17:45 -05:00
J
11a58115b0 interface: implement useStorage and withStorage
useS3 and withS3 are now gone. Storage should work with both GCP and S3,
preferring GCP if available and falling back.
2021-02-26 00:07:15 +00:00
J
4814d61c48 interface: unnecessary const 2021-02-25 23:08:41 +00:00
J
a6d4c3a431 interface: proof-of-concept GCP upload
As of this commit, the Links app uploads files to GCP storage.

(Note that it no longer uploads to S3. Still need to support both.)
2021-02-25 22:52:18 +00:00
J
c718894eb3 interface: explicitly depend on querystring
It will be used by GcpClient.
2021-02-25 22:50:50 +00:00
Matilde Park
75d811d298 groups: reduce added member from pending
Fixes urbit/landscape#490
2021-02-25 14:46:08 -05:00
Matilde Park
52e5d4a011 links: enforce valid URI on render
Fixes urbit/landscape#280
2021-02-25 14:30:50 -05:00
Matilde Park
6efa47b6cc leap: truncate statuses
Fixes urbit/landscape#487
2021-02-25 13:41:17 -05:00
Matilde Park
e8bbc56c48 leap: cite patps 2021-02-25 13:40:53 -05:00
matildepark
c63ffbdb73
Revert "landscape: allow most patp punctation in tokenize" 2021-02-25 13:24:05 -05:00
Matilde Park
a666ce902b ResourceSkeleton: render group DM members 2021-02-25 13:22:13 -05:00
Matilde Park
be88d60329 ResourceSkeleton: dynamically truncate description 2021-02-25 13:11:03 -05:00
James Acklin
a59944937f profile: base header tweaks
Partially fixes urbit/landscape#444
2021-02-24 21:34:55 -05:00
Liam Fitzgerald
a960234e2c
LinkWindow: update for new scroll virtualisation 2021-02-25 12:02:09 +10:00
Liam Fitzgerald
f669dc48be
virtualscroller: fix iOS bounce 2021-02-25 11:57:18 +10:00
Liam Fitzgerald
e81920b43b
Merge remote-tracking branch 'origin/release/next-js' into lf/virtual-graph 2021-02-25 11:25:11 +10:00
Liam Fitzgerald
355c22b564
virtualscroller: teleport scroll manipulation 2021-02-25 11:05:40 +10:00
J
efea38f842 interface: GcpReducer
Now we are correctly storing the GCP accessKey in state.
2021-02-25 00:41:47 +00:00
J
9fa086e0d3 interface: extract GcpManager
Now the API is just an API. (I did still have it produce an expiry time,
since it makes the refresh loop easier to do.)

Not yet storing the token now.
2021-02-25 00:31:39 +00:00
J
3c2ce636e7 interface: storing the gcp token 2021-02-25 00:31:16 +00:00
Liam Fitzgerald
8d49723dee
virtualscroller: performance tweaks 2021-02-25 10:25:29 +10:00
Matilde Park
d0d50f1aee launch: overlap responsive colors on white box 2021-02-24 17:12:13 -05:00
Matilde Park
68271b7947 launch: force black base hash 2021-02-24 16:27:03 -05:00
J
a80c3504a8 interface: refresh loop
Still not actually storing the token anywhere...
2021-02-24 21:22:28 +00:00
Matilde Park
94eca8172f launch: fix modal backgrounds 2021-02-24 16:21:56 -05:00
Matilde Park
16bd217d60 launch: update for 1.7 2021-02-24 15:56:16 -05:00
J
94556ce936 interface: GCP skeleton 2021-02-24 20:42:57 +00:00