Commit Graph

8708 Commits

Author SHA1 Message Date
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
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
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
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
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
Joe Bryan
19d5bd0de4 ames: gate "fragment crashed" printf on msg.veb 2021-03-18 17:04:08 -07: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
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
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
é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
J
ef1b125c3e zuse: fix time fix regression
Fixes #4598.

#4474 made the JSON time conversion no longer invertible, which caused
problems for chat, which uses message timestamp in milliseconds as a key
-- so chat would send a message with ms timestamp x, it would get
encoded as @da x, but then when it went back through the conversion to
milliseconds, it would often (not always) get encoded as x-1.

I still do not fully understand why this is -- and why it doesn't seem
to be a problem with seconds based on cursory testing -- but integer
multiplication and division generally do not invert. And adding a half a
millisecond to the input date before converting it resolves the issue
and makes the functions invertible.

I added a regression test, so hopefully the next courageous adventurer
who winds up here after wondering why +unm looks funny will have a
safeguard against some of the mistakes I made.
2021-03-12 20:06:10 +00: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
janeway
0a8d82d822
glob: update to 0vtbs05.a6mkl.r5ark.jfj84.3fa4h 2021-03-12 14:35:19 +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
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
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