Commit Graph

24513 Commits

Author SHA1 Message Date
matildepark
5b57fff95a
Merge pull request #4643 from tylershuster/zustand-batch
interface: wraps zustand setter in batchUpdate
2021-03-22 23:26:55 -04: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
Tyler Brown Cifu Shuster
ae9480bbd5 interface: wraps zustand setter in batchUpdate 2021-03-22 20:07:43 -07:00
James Acklin
bbb2bfe080 chat: correct unread banner padding 2021-03-22 20:55:41 -04:00
James Acklin
991de4bb3b chat: new unread message style
fixes urbit/landscape#563
2021-03-22 20:46:48 -04:00
James Acklin
9d664429cb chat: resize sigils to 32px, container to 60px
fixes urbit/landscape#588
2021-03-22 18:25:18 -04: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
matildepark
77b4d27c5f
Merge pull request #4641 from urbit/mp/publish/unmanaged-hooks
publish: call all hooks before returning early
2021-03-22 16:46:41 -04:00
Matilde Park
6164d16afb publish: call all hooks before returning early
Fixes urbit/landscape#597
2021-03-22 15:38:58 -04: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
matildepark
5b4cdf99a3
Merge pull request #4633 from tylershuster/sidebar-refresh
sidebar: updated channel state design
2021-03-22 11:24:18 -04: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
matildepark
9ed71e8ccc
Merge pull request #4631 from urbit/james/breakfix
chat: prevent marker text from wrapping
2021-03-19 16:52:01 -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
Liam Fitzgerald
e2d10367af
hark-store: give set instead of count in initial
When we receive a notification, it might not affect our count because
it’ll get merged on the server side, but we unconditionally increment
our count on the client if the notification hasn’t been loaded yet.
Addresses this by storing a set of time, index so we can compute whether
or not the notification is merged or unloaded and change the count
accordingly.

Fixes urbit/landscape#276
2021-03-19 11:28:30 +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
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
matildepark
8373e99671
Merge pull request #4610 from urbit/mp/landscape/npm-prebuild
build: pkg/interface builds pkg/npm preinstall
2021-03-17 19:07:01 -04: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
matildepark
37106fa0aa
Merge pull request #4620 from urbit/mp/landscape/tutorial-island-days
launch: depluralise 'days' when necessary
2021-03-16 20:28:58 -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
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
693bf40cd4 Merge branch 'master' into release/next-js 2021-03-15 13:19:22 -04:00
matildepark
249b7555bc
Merge pull request #4606 from urbit/ed/sidebar-group-avatar-fix
ed: sidebar group avatar fix
2021-03-14 23:08:39 -04:00