Commit Graph

3030 Commits

Author SHA1 Message Date
James Acklin
6d4bbe2517 permalinks: style deleted chat reference 2021-05-07 13:20:45 -04:00
Matilde Park
4024707b5a embed: nullish coalesce destructure 2021-05-07 12:31:30 -04:00
Matilde Park
364c30b6bb permalinks: navigate on-click
Fixes urbit/landscape#859
2021-05-07 12:23:52 -04:00
matildepark
e84aab0bd8
Merge pull request #4857 from urbit/james/transclusion-polish
permalinks: appearance uniformity tweaks
2021-05-07 10:41:35 -04:00
James Acklin
498b39894e permalinks: deleted reference messages
fixes urbit/landscape#759
2021-05-07 10:07:18 -04:00
matildepark
f32caa87c1
Merge pull request #4875 from urbit/lf/snippets
publish: fix snippet generation
2021-05-07 01:18:43 -04:00
Liam Fitzgerald
7d42afd423
publish: fix snippet generation
Fixes urbit/landscape#853
2021-05-07 13:06:36 +10:00
Tyler Brown Cifu Shuster
d23b03cabf interface: adding basic notifications 2021-05-06 16:22:56 -07:00
James Acklin
ff4406a362 Merge remote-tracking branch 'origin/release/next-js' into james/transclusion-polish 2021-05-06 18:16:21 -04:00
Logan Allen
4aba08d8fd interface: links should render even when a link is not deleted 2021-05-06 14:03:12 -05:00
Logan Allen
ef42544343 interface: publish notes show as deleted in the notepreview 2021-05-06 13:30:55 -05:00
Logan Allen
cc41ee7006 interface: comments render as deleted, links are good to go 2021-05-06 13:28:06 -05:00
Logan Allen
441e20671f interface: deleted group feed posts that get linked to work properly 2021-05-06 13:19:04 -05:00
Logan Allen
1923df064e interface: fixes all around for transcluded content that is subsequently deleted 2021-05-06 13:13:10 -05:00
Logan Allen
147fae2dd2 Merge branch 'release/next-js' into la/chat-delete 2021-05-06 12:44:04 -05:00
James Acklin
3ade0b5502 chat: retain ~mention on transclusion reply
fixes urbit/landscape#759
2021-05-06 13:42:33 -04:00
Matilde Park
ab9e3520a3 ResourceSkeleton: always flex-shrink
Fixes urbit/landscape#842
2021-05-06 13:14:00 -04:00
matildepark
00c2f78e7d
Merge pull request #4780 from urbit/james/group-dm-invite
messages: surface invite action in group DMs
2021-05-06 13:10:15 -04:00
James Acklin
41b237538b messages: fix merge error 2021-05-06 13:06:59 -04:00
James Acklin
aeb343f83d Merge branch 'release/next-js' into james/group-dm-invite 2021-05-06 13:06:35 -04:00
Matilde Park
e2f77cb124 GraphContent: reduce margin on headings 2021-05-06 13:05:09 -04:00
matildepark
6515396f47
Merge pull request #4869 from urbit/mp/publish-amazon
publish: amazon
2021-05-06 12:42:03 -04:00
Matilde Park
4ae22e7755 TranscludedNode: looser 2021-05-06 12:40:20 -04:00
Matilde Park
ef1faaef6d GraphContent: fix links, tall formatting, add breaks 2021-05-06 12:34:29 -04:00
Matilde Park
8b66ce9f57 publish: enable content types 2021-05-06 12:07:10 -04:00
James Acklin
5a20448590 permalinks: idx check + sane default 2021-05-06 10:49:48 -04:00
James Acklin
9d2fde465c permalinks: fix crashing slice error
fixes urbit/landscape#841
2021-05-06 10:33:42 -04:00
Liam Fitzgerald
51a9a7405d
SidebarListHeader: fix v3 2021-05-06 15:30:03 +10:00
Liam Fitzgerald
46f600da91
SidebarListHeader: fix again 2021-05-06 15:11:19 +10:00
Liam Fitzgerald
4143c00f3a
GraphContent: fix image rendering 2021-05-06 14:54:44 +10:00
Liam Fitzgerald
1cb938fced
SidebarListHeader: fix group feed, again 2021-05-06 14:47:08 +10:00
Liam Fitzgerald
fad226cef5
GraphContent: fix emphasis 2021-05-06 13:58:19 +10:00
matildepark
abe004044e
Merge pull request #4864 from urbit/lf/group-feed-hide
interface: hide group feed if disabled
2021-05-05 23:26:09 -04:00
Liam Fitzgerald
af44a9e829
interface: hide group feed if disabled 2021-05-06 13:22:09 +10:00
matildepark
8a0e162f87
Merge pull request #4862 from urbit/lf/forestry-fixes
forestry: transclusion and wide format fixes
2021-05-05 22:46:10 -04:00
Liam Fitzgerald
e5de9a50ce
GraphContent: fix wide rendering 2021-05-06 12:37:07 +10:00
Matilde Park
20047c6463 interface/weather: escape entities 2021-05-05 22:25:32 -04:00
Liam Fitzgerald
1db67feec9
GraphContent: fix recursive transclusion 2021-05-06 12:23:47 +10:00
Matilde Park
3ff671d477 Merge branch 'release/next-js' into la/chat-delete 2021-05-05 21:45:52 -04:00
Matilde Park
bf3c7b7b0d Merge branch 'release/next-js' into la/chat-delete 2021-05-05 21:42:07 -04:00
Liam Fitzgerald
be34223a6e
tokenizeMessage: expand group links 2021-05-06 11:30:30 +10:00
Liam Fitzgerald
6c653e7ab9
interface: fix merge errors 2021-05-06 10:45:15 +10:00
Liam Fitzgerald
93de5a312b
Merge remote-tracking branch 'origin/release/next-js' into lf/publish-mp 2021-05-06 10:32:49 +10:00
Matilde Park
ae13a69998 Merge branch 'release/next-js' into mp/landscape/more-more-types 2021-05-05 19:10:10 -04:00
Tyler Brown Cifu Shuster
76bef0ba00 interface: Converted all to typescript, fixed auto-fixable problems 2021-05-05 15:40:18 -07:00
Logan Allen
01c5286319 graph-store: change scry name 2021-05-05 16:57:38 -05:00
Matilde Park
eb3e6a65f9 interface: type fixes, part 4 2021-05-05 17:20:29 -04:00
James Acklin
052b2603f8
Merge branch 'release/next-js' into james/group-dm-invite 2021-05-05 17:09:20 -04:00
James Acklin
921bee9b02 messages: check for isOwn 2021-05-05 17:07:58 -04:00
James Acklin
02e40930a8 Merge branch 'release/next-js' into james/group-dm-invite 2021-05-05 17:02:45 -04:00
James Acklin
c4dd1c428c permalinks: back out border hover 2021-05-05 12:39:32 -04:00
James Acklin
ff49268d6f Merge remote-tracking branch 'origin/release/next-js' into james/transclusion-polish 2021-05-05 10:59:09 -04:00
Liam Fitzgerald
5228cbccaf
interface: add shortcut customisation 2021-05-05 14:38:18 +10:00
Liam Fitzgerald
6d403b67fd
settings: customize shortcuts 2021-05-05 14:27:51 +10:00
Liam Fitzgerald
880cde81ca
settings: add shortcut config 2021-05-05 14:03:10 +10:00
Liam Fitzgerald
88e5f297c9
Sidebar: add cycle shortcuts 2021-05-05 13:59:44 +10:00
Liam Fitzgerald
60dd5854fc
interface: add global nav shortcuts 2021-05-05 13:59:06 +10:00
Liam Fitzgerald
9e6862f1c9
skeleton: show/hide sidebar 2021-05-05 13:58:24 +10:00
Liam Fitzgerald
b3ee418b3f
interface: add shortcut provider 2021-05-05 13:57:34 +10:00
Liam Fitzgerald
36798b62ee
chat-editor: focus on alphanumeric keystroke 2021-05-05 13:56:53 +10:00
Liam Fitzgerald
018a17fc6f
interface: add shorcut context 2021-05-05 13:48:07 +10:00
matildepark
f54410c3fd
Merge pull request #4854 from urbit/lf/ref-typings
interface: fix ref typings
2021-05-04 21:10:49 -04:00
Liam Fitzgerald
b0ac1bcaf4
interface: fix ref typings 2021-05-05 11:06:57 +10:00
Liam Fitzgerald
b00a9fed86
Merge remote-tracking branch 'origin/release/next-js' into lf/spring 2021-05-05 10:48:29 +10:00
matildepark
d803ac062a
Merge pull request #4810 from urbit/tbcs/http-api-update
npm: Updated http-api and api packages
2021-05-04 20:31:39 -04:00
Matilde Park
0c76dc672f GraphContentWide: type guard with conditionals 2021-05-04 19:50:13 -04:00
Matilde Park
36c5f1644b landscape/util: cast getModuleIcon 2021-05-04 19:36:47 -04:00
Matilde Park
a276d42078 interface: type corrections, part 3 2021-05-04 18:34:48 -04:00
Matilde Park
97288c349b Merge branch 'release/next-js' into mp/landscape/more-types 2021-05-04 16:19:50 -04:00
Liam Fitzgerald
867037804d
messages: fix last updated sorting 2021-05-04 11:17:51 +10:00
Liam Fitzgerald
f2f0cac31e
interface: update DM creation route 2021-05-04 11:17:50 +10:00
Liam Fitzgerald
2b20196767
interface: add DM settings 2021-05-04 11:17:50 +10:00
Liam Fitzgerald
c21151bde7
notifications: surface pending DMs 2021-05-04 11:17:50 +10:00
Liam Fitzgerald
bdf40b9deb
interface: screening DMs 2021-05-04 11:17:49 +10:00
Liam Fitzgerald
5b317e8af1
DM: lazy loading, status bar 2021-05-04 11:17:49 +10:00
Liam Fitzgerald
772a134108
dm-hook: update for latest master 2021-05-04 11:17:49 +10:00
Liam Fitzgerald
7f433ae807
interface: display DMs 2021-05-04 11:17:48 +10:00
Liam Fitzgerald
04841d8006
Sidebar: render new DMs 2021-05-04 11:16:27 +10:00
Liam Fitzgerald
3f7d08285e
graph-store: add shallow-children scry 2021-05-04 11:15:03 +10:00
Matilde Park
24aa7377a8 interface: bump to indigo-react 1.2.22 2021-05-03 19:51:06 -04:00
James Acklin
02e5bd0c5c permalinks: hide permalink footer from the same resource
fixes urbit/landscape#759
2021-05-03 17:01:56 -04:00
Logan Allen
26df0b1952 interface: group feed now allows deletion of posts 2021-05-03 15:43:32 -05:00
Logan Allen
4966615082 interface: add the ability to delete chat messages 2021-05-03 14:05:23 -05:00
James Acklin
884aa98832 chat: remove ~patp mention on message "reply"
fixes urbit/landscape#759
2021-05-03 15:03:16 -04:00
James Acklin
fff54e95b2 permalinks: surface reply count for Group Feed posts, restyle GroupLink
fixes urbit/landscape#759
2021-05-03 14:46:17 -04:00
James Acklin
e2f17527ca permalinks: pad sigils, unify author timestamp size systemwide
fixes urbit/landscape#759
2021-05-03 12:18:14 -04:00
James Acklin
23c56b35d2 Merge remote-tracking branch 'origin/release/next-js' into james/transclusion-polish 2021-05-03 09:15:43 -04:00
James Acklin
4674559f2d permalinks: uniform appearance for collection links
fixes urbit/landscape#759
2021-05-02 11:20:04 -04:00
James Acklin
1d365d70c3 notes: render preview text as <Text /> 2021-05-02 10:37:29 -04:00
James Acklin
97871691f1 permalinks: uniform appearance for comments and posts (post + groupfeed)
fixes urbit/landscape#759
2021-05-02 10:37:09 -04:00
Matilde Park
391a3101d9 Merge branch 'release/next-js' into release/next-userspace 2021-04-30 18:10:01 -04:00
fang
3a6735203c
landscape: display version mismatch notification
If arvo indicates it needs a newer runtime to apply an upgrade, we now
display a persistent notification on the notifications screen and
turn the base hash background yellow.

This also gives a yellow notification dot, but it's overridden by the
blue one if there are regular notifications too.
2021-04-30 23:15:16 +02:00
Liam Fitzgerald
773c590055
Merge remote-tracking branch 'origin/release/next-js' 2021-04-30 15:12:33 +10:00
Liam Fitzgerald
56b9a7545c
Merge remote-tracking branch 'origin/master' into la/ref-trans-graph 2021-04-30 14:36:26 +10:00
Liam Fitzgerald
4c0e9dfe82
VirtualScroller: fix pendings and scroll after jump 2021-04-30 12:15:04 +10:00
Liam Fitzgerald
93c6d157af
hark: fix notification archival 2021-04-30 12:14:31 +10:00
Liam Fitzgerald
7ea0361b98
interface: include iPad in UA check 2021-04-30 12:13:50 +10:00
James Acklin
d68881aeff permalinks: chat message cleanup, click entire block to navigate
fixes urbit/landscape#759
2021-04-29 21:26:20 -04:00
James Acklin
f39c642801 chat: refocus and reset state on submit, allow enter linebreaks on mobile 2021-04-29 11:10:53 -04:00
Liam Fitzgerald
dbf8c2afb9
VirtualScroller: do not crash if ref is unset 2021-04-29 14:33:26 +10:00
Liam Fitzgerald
42be76b5c2
publish: temporarily disable tokenizing publish 2021-04-29 14:22:25 +10:00
Liam Fitzgerald
80a5612fda
interface: use new GraphContent 2021-04-29 14:19:30 +10:00
Liam Fitzgerald
3cda34d0fa
GraphContent: rename and cleanup 2021-04-29 14:12:51 +10:00
Liam Fitzgerald
c74ad3170e
GraphContent: unify rendering 2021-04-29 14:12:15 +10:00
James Acklin
e1462bc77c messages: fixes mystery hamburger bouncing 2021-04-28 21:04:43 -04:00
James Acklin
9678a5619f Merge branch 'release/next-js' into james/group-dm-invite 2021-04-28 20:52:24 -04:00
James Acklin
7e754a819f messages: addressing PR comments
fixes urbit/landscape#4780
2021-04-28 19:01:40 -04:00
Matilde Park
a223aa79e5 interface, npm/api: type checking, round 2 2021-04-28 17:18:30 -04:00
Logan Allen
42a1a68913 interface: graph-reducer, put empty string when hash is null 2021-04-28 13:13:58 -05:00
Logan Allen
5e85d975b3 Merge branch 'la/delete-interface' into la/ref-trans-graph 2021-04-28 13:02:39 -05:00
Tyler Brown Cifu Shuster
c99c443514 Fixed deSig signature 2021-04-28 10:50:45 -07:00
Matilde Park
54ef64ee7c ChatPane: invert showOurContact conditional 2021-04-28 13:18:37 -04:00
fang
97540ed638
various: comments, clean-up 2021-04-28 16:45:55 +02:00
Liam Fitzgerald
e937911536
ChatResource: refactor to use ChatPane 2021-04-28 13:56:35 +10:00
Liam Fitzgerald
d635d596b8
ChatPane: add component 2021-04-28 13:56:09 +10:00
Liam Fitzgerald
a1c433b455
ShareProfile: refactor to remove dead props 2021-04-28 13:55:40 +10:00
Liam Fitzgerald
053e392c5c
ChatWindow: remove association prop 2021-04-28 13:55:05 +10:00
Liam Fitzgerald
f221cfe135
ChatInput: lift callbacks, refactor 2021-04-28 13:54:49 +10:00
Liam Fitzgerald
d2b08fbd8e
ChatMessage: refactor to remove association prop 2021-04-28 13:54:24 +10:00
Liam Fitzgerald
163d94e5a8
withStorage: fix typings 2021-04-28 13:50:19 +10:00
Liam Fitzgerald
22645b9814
interface: add state accessors 2021-04-28 13:37:20 +10:00
fang
aa244a10ea
webterm: improve slogstream management
Don't re-open the slog eventsource every time we navigate to webterm.
2021-04-28 00:11:02 +02:00
Matilde Park
9675f0131e ChatMessage: fix props destructure 2021-04-27 16:59:32 -04:00
fang
a13f19d6f9
webterm: send %blew on resize
Also tweaks the layout a little bit to maintain consistency throughout
resizing.
2021-04-27 22:52:38 +02:00
Matilde Park
370b7ad9de Merge branch 'release/next-js' into lf/more-virt-perf 2021-04-27 15:54:27 -04:00
Matilde Park
2d22823a5b UnreadNotice: add missing space 2021-04-27 15:51:02 -04:00
Liam Fitzgerald
4f6003fd24
graph-update: fix recursive add-nodes case 2021-04-27 16:34:48 +10:00
Liam Fitzgerald
27f2f93cc8
VirtualScroller: fix for origin=top 2021-04-27 16:25:50 +10:00
Liam Fitzgerald
7524dd268f
UnreadNotice: show even if are missing unread message 2021-04-27 15:33:38 +10:00
Liam Fitzgerald
5281d41205
VirtualScroller: smaller pages, disable children shifting layout 2021-04-27 15:12:43 +10:00
Liam Fitzgerald
ac5bc51da6
ChatMessage: aggressively memoize, remove more dead props 2021-04-27 15:12:42 +10:00
Liam Fitzgerald
19f9dd6009
graph-update: fix add-graph 2021-04-27 11:34:05 +10:00
Liam Fitzgerald
9304409e8b
ChatResource: cap initial backlog 2021-04-27 11:33:45 +10:00
James Acklin
98d21ca27b messages: resource name heuristic for showing invite button
fixes urbit/landscape#497
2021-04-26 16:48:13 -04:00
James Acklin
9e85e0a16d messages: yank 1:1 DM invitations
Fixes urbit/landscape#497
2021-04-26 16:16:00 -04:00
matildepark
77219c6825
Merge pull request #4821 from urbit/mp/landscape/me-highlight
landscape: highlight content mentioning our ship
2021-04-26 16:04:23 -04:00
L
ef69505c62
Merge pull request #4811 from urbit/mp/landscape/timestamps
landscape: restore timestamps across interface
2021-04-26 15:02:02 -05:00
L
0e99a874ba
Merge pull request #4799 from urbit/mp/landscape/color-input-pound
ColorInput: remove "#" from input value
2021-04-26 15:01:38 -05:00
James Acklin
ff3d1822c2 chat: persist submit button 2021-04-26 15:49:02 -04:00
matildepark
844bc1f8f4
Merge pull request #4801 from urbit/james/visual-grabbag
chat: jimmy's visualfix omnibus
2021-04-26 14:57:22 -04:00
James Acklin
96375643ce
Merge branch 'release/next-js' into james/group-dm-invite 2021-04-26 14:49:26 -04:00
James Acklin
b8c495c563 chat: no shrinking avatar in ChatInput 2021-04-26 14:33:12 -04:00
fang
9c0bae654b
webterm: include herm tasks in term api 2021-04-26 17:20:42 +02:00
Liam Fitzgerald
26d822c3b2
ChatMessage: remove dead props 2021-04-26 17:06:33 +10:00
Liam Fitzgerald
88a9d9ad1c
ChatResource: remove unnecessary props 2021-04-26 17:06:14 +10:00
Liam Fitzgerald
ae840659da
ChatWindow: remove unnecessary props 2021-04-26 17:05:57 +10:00
Liam Fitzgerald
6308579588
interface: remove dead pendings 2021-04-26 17:05:00 +10:00
Liam Fitzgerald
7a6b2eb015
virtualContext: drop useLayoutEffect 2021-04-26 17:04:36 +10:00
Liam Fitzgerald
aaea592cfc
VirtualScroller: rework for less memory use, faster speeds 2021-04-26 17:04:14 +10:00
Liam Fitzgerald
c1f055d46e
interface: make BigIntOrderedMap immutable 2021-04-26 16:59:38 +10:00
Liam Fitzgerald
c039f1e142
interface: remove unnecessary routing props 2021-04-26 16:35:11 +10:00
James Acklin
cb6b4e14e0 chat: stateful send button in ChatInput 2021-04-25 23:00:06 -04:00
Matilde Park
1d5cff849d landscape: highlight content with our mentions 2021-04-25 15:45:51 -04:00
matildepark
bd81b4408e
Merge pull request #4816 from urbit/mp/landscape/banner-tweak
chat: prevent shrinking of share banner
2021-04-24 21:54:54 -04:00
James Acklin
47c8075294 chat: threshold send button & chatinput fixes 2021-04-24 21:42:21 -04:00
Matilde Park
789c5de615 landscape: fix un-set avatars in participants list 2021-04-24 16:05:12 -04:00
Matilde Park
6d37c23ae8 VirtualScroller: avoid unsafe null access 2021-04-24 14:50:49 -04:00
matildepark
a8ee7fcfe4
Merge pull request #4817 from urbit/lf/virt-perf
VirtualScroller: performance, memory leaks
2021-04-23 23:11:56 -04:00
Liam Fitzgerald
f79e489d67
ChatResource: prevent unnecessary state update 2021-04-24 12:23:45 +10:00
Liam Fitzgerald
47c19b60c0
VirtualScroller: only rerender on scroll lock if necessary 2021-04-24 12:22:44 +10:00
Liam Fitzgerald
2e7b1cd41d
VirtualScroller: lock scroll less aggressively
Prevents incorrect scroll adjustment
2021-04-24 12:22:08 +10:00
Liam Fitzgerald
6a1f0e2ac9
VirtualScroller: aggressively cleanup refs
Prevents a memory leak, as it appears React holds onto the class
instance after unmounting
2021-04-24 12:20:42 +10:00
Liam Fitzgerald
bc4f26b2b3
VirtualScroller: rework scroll initialisation
Calling restore if the scroll is locked simply resets the scroll,
instead of using the usual adjustment algorithm
2021-04-24 12:19:33 +10:00
matildepark
6a106b1703
Merge pull request #4815 from urbit/mp/publish/comment-codes
landscape: move transcluded comments to graphcontentwide
2021-04-23 22:13:00 -04:00
matildepark
9ad12777ae
Merge pull request #4786 from urbit/la/fix-omnibox
interface: group feed no longer shows in omnibox
2021-04-23 15:45:40 -04:00
Matilde Park
a7ed122c5c chat: prevent shrinking of share banner 2021-04-23 15:43:53 -04:00
Matilde Park
794af89ec2 landscape: flex comments to container width
Prevents horizontal overflow.
2021-04-23 15:39:44 -04:00
Matilde Park
7ac71c64a3 landscape: move transcluded comments to new render
Fixes urbit/landscape#814
Fixes urbit/landscape#813
2021-04-23 15:39:21 -04:00
Logan Allen
27e5a6aef4 omnibox: add maybe operators 2021-04-23 14:34:39 -05:00
matildepark
b78e7583db
Merge pull request #4812 from urbit/mp/landscape/indigo-bump
landscape: update indigo-react to 1.2.21
2021-04-23 09:46:28 -04:00
Matilde Park
a13542dfa7 interface/logic: revert group-update type change
It broke tags, needs a redo.
2021-04-22 21:21:44 -04:00
Matilde Park
236b7a047f Merge branch 'release/next-js' into mp/landscape/indigo-bump 2021-04-22 19:43:47 -04:00
matildepark
5c5aefa9fc
Merge pull request #4806 from urbit/lf/fix-virt-scroller
VirtualScroller: fix race conditions and excessive scroll adjusting
2021-04-22 17:50:19 -04:00
Matilde Park
8532c0c362 landscape: restore timestamps across interface 2021-04-22 17:48:24 -04:00
matildepark
94435de867
Merge pull request #4807 from urbit/lf/offsettop-crash
Dropdown: check ref exists
2021-04-22 17:10:27 -04:00
matildepark
906f513959
Merge pull request #4808 from urbit/lf/flex-shrink-typings
interface: fix flex-shrink typings
2021-04-22 17:09:39 -04:00
Logan Allen
6c0a7ceeef interface: deleting links works 2021-04-22 15:26:31 -05:00
Logan Allen
b98f38e068 interface: deleting posts and comments works 2021-04-22 14:45:02 -05:00
Logan Allen
f697857eca interface: update existing views to work with removePosts 2021-04-22 14:18:22 -05:00
Logan Allen
db6b98d31c interface: update logic to work with removePosts 2021-04-22 14:17:55 -05:00
janeway-bot
423613eed0
Merge b46f2e24e6 into release/next-js 2021-04-22 14:33:43 +04:00
Liam Fitzgerald
6c5d13bce0
publish: bin custom markdown css 2021-04-22 18:58:46 +10:00
Liam Fitzgerald
d8c721a4cc
publish: add GraphContentTall and use for notes 2021-04-22 18:58:39 +10:00
Liam Fitzgerald
f64d582a4e
tokeniseMessage: handle linebreaks correctly 2021-04-22 18:53:42 +10:00
Liam Fitzgerald
08452efef8
interface: fix flex-shrink, grow typings pt.2 2021-04-22 16:35:44 +10:00
Liam Fitzgerald
a7afaf065d
interface: fix flex-shrink, grow typings 2021-04-22 16:30:13 +10:00
Liam Fitzgerald
24259dab87
Dropdown: check ref exists
Fixes urbit/landscape#805
2021-04-22 15:16:04 +10:00
Liam Fitzgerald
6f7ed005ae
VirtualScroller: fix race condition in ref deletion
A callback ref is called after the component is mounted, but before the
component is unmounted. However, we might still be adjusting scroll
position based on a component that is going to be remounted. Previously,
we delayed the deletion until the next tick with setTimeout. With the
faster ordered map implementation, the component may be remounted
before the next tick, leading to the deletion of a ref that is still
mounted. To work around this, we store a set of 'orphans' and clear the
map of orphans on an interval, and only clear the map if we are not
currently adjusting our scroll position. Also includes fixes for jumpy
scroll behaviour on initial mount.
2021-04-22 15:04:38 +10:00
Liam Fitzgerald
f80ca5a3da
virtualContext: fix useVirtualResizeProp 2021-04-22 15:02:21 +10:00
Liam Fitzgerald
77fded3dab
GraphNotification: safe property access 2021-04-22 11:02:23 +10:00
Matilde Park
75f06a7c9e landscape/logic: type safety adjustments 2021-04-21 17:22:08 -04:00
James Acklin
9587ccf5ca links: prevent click in transcluded images, use hovered external arrow 2021-04-21 16:43:48 -04:00
James Acklin
b3f31516d2 chat: show clickable arrow action on remote image hover 2021-04-21 16:21:33 -04:00
James Acklin
4283aa93f5 chat: adjust ChatMessage color 2021-04-21 15:46:29 -04:00
James Acklin
d585c58b8f chat: click name to copy ~patp in ProfileOverlay 2021-04-21 15:41:14 -04:00
James Acklin
efd088a372 chat: pointer cursor for attachment + dojo in input 2021-04-21 15:02:57 -04:00
James Acklin
3d40d37e80 interface: new messages icon
partially fixes urbit/landscape#560
2021-04-21 15:00:14 -04:00
James Acklin
6d9508abfc chat: flush borders + round corners for images 2021-04-21 14:59:16 -04:00
James Acklin
8124f63215 chat: flush borders + round corners for images 2021-04-21 14:58:16 -04:00
matildepark
1a01e58b7b
Merge pull request #4798 from urbit/mp/landscape/action-bg
landscape: pass background colors to actions
2021-04-21 14:38:39 -04:00
matildepark
62e2ea39c2
Merge pull request #4794 from urbit/lf/fast-ordered-map
interface: fast BigIntOrderedMap
2021-04-21 12:06:07 -04:00
Matilde Park
156d0d380d ColorInput: remove "#" from input value
Fixes urbit/landscape#803
2021-04-21 11:44:00 -04:00
Matilde Park
ab6239bf59 landscape: pass background colors to actions
Fixes urbit/landscape#802
2021-04-21 11:20:14 -04:00
Liam Fitzgerald
d40a495328
SwipeMenu: make faster 2021-04-21 17:26:31 +10:00
Liam Fitzgerald
4489f6eee7
SwipeMenu: prevent wrong direction swipe 2021-04-21 16:45:16 +10:00
James Acklin
d7bee178c8 messages: PR fixes
fixes urbit/landscape#497
2021-04-20 20:43:20 -04:00
Liam Fitzgerald
f9cf711c69
Merge remote-tracking branch 'origin/release/next-js' 2021-04-20 14:53:28 +10:00
Liam Fitzgerald
f038176169
Merge remote-tracking branch 'origin/la/font-display-swap' 2021-04-20 14:52:41 +10:00
Liam Fitzgerald
fc955ab83e
interface: new BigIntOrderedMap
New ordered map implementation that is faster and more space
efficient. Stores the map and keys as a flat POJO, sorting them upon
iteration. The sorting cost is only typically paid once per render
however as the sorted array is cached until the map is mutated. This
implementation appears to play nicer with immer's structural sharing,
reducing the incidence of 'props are equal by value, but not by
reference'.
2021-04-20 13:31:57 +10:00
Liam Fitzgerald
1ab925f84c
interface: unify BigIntOrderedMap imports 2021-04-20 13:11:39 +10:00
Liam Fitzgerald
45c0f3b8da
notifications: swipe to reveal dismiss menu 2021-04-20 13:08:58 +10:00
Liam Fitzgerald
3f56706dc3
interface: add mobile breakpoint to state 2021-04-20 13:05:50 +10:00
Liam Fitzgerald
c01a00bd6a
notifications: key notifications correctly 2021-04-20 12:53:41 +10:00
Liam Fitzgerald
a9d7584d64
interface: add SwipeMenu component 2021-04-20 12:47:49 +10:00
matildepark
110bcaa6ce
Merge pull request #4785 from urbit/la/fix-591
interface: fix #591 message display by time-sent in chat
2021-04-19 17:28:55 -04:00
matildepark
b090311964
Merge pull request #4689 from urbit/lf/form-merge
ChannelSettings: unify form handling
2021-04-19 17:22:16 -04:00
matildepark
fe61b8b7a9
Merge pull request #4782 from urbit/lf/notif-fixes
notifications: preferences screen, fix pagination
2021-04-19 17:18:03 -04:00
James Acklin
378c826239 messages: invite ships to existing group DMs, convert 1:1 DMs to new group DMs
fixes urbit/landscape#497
2021-04-19 16:37:34 -04:00
L
f26e63421e
Merge pull request #4777 from urbit/mp/group-feed/show-parent-if-parent
PostReplies: show parent author in parent postItem
2021-04-19 14:03:41 -05:00
Logan Allen
87feb74184 interface: group feed no longer shows in omnibox 2021-04-19 12:53:26 -05:00
Logan Allen
9a61daaa69 interface: fix #591 message display by time-sent in chat 2021-04-19 12:37:40 -05:00
Liam Fitzgerald
c92753d1ed
ChannelPopover: cancel dismisses popover 2021-04-19 15:58:44 +10:00
Liam Fitzgerald
f1be29389a
settings: default tutorial to seen
Prevents a race condition where the tutorial prompt will always show
2021-04-19 15:47:35 +10:00
matildepark
9a7f90bb63
Merge pull request #4783 from urbit/lf/tut-island-fix
launch: fix reversed destructure
2021-04-19 01:35:50 -04:00
Liam Fitzgerald
4c02bd0698
launch: fix reversed destructure
This was causing the tutorial to never be shown. This change should be
deployed with a new pill, to ensure comets show the tutorial.
2021-04-19 15:32:44 +10:00
Liam Fitzgerald
6128c8d096
notifications: bring preferences to spec 2021-04-19 15:24:30 +10:00
Liam Fitzgerald
988e614db4
interface: correctly scroll lock document
Even if overflow is hidden, certain mobile browsers may interpret a
scroll event to be on the document root, leading to strange and
inconsistent scrolling behaviours. Addresses this by adding
touch-action: none, which explicitly instructs browers to ignore this
element in scroll calculations.
2021-04-19 14:28:51 +10:00
Liam Fitzgerald
0ef452f8b3
notifications: update dismiss action styling 2021-04-19 13:26:21 +10:00
Liam Fitzgerald
048bd02604
notifications: fix broken pagination
Fixes urbit/landscape#788
2021-04-19 13:15:46 +10:00
James Acklin
47b5585df8 groups: NewChannel formatting
fixes urbit/landscape#497
2021-04-17 13:50:52 -04:00
James Acklin
3d09f89b73 messages: show invite link (no-op) if group DM
fixes urbit/landscape#497
2021-04-17 12:23:39 -04:00
édouard
deeab71831 sidebar: provide more contrast to sidebar items
Reverting this back to a most contrasty state in answer to frequent complaints of being unable to tell which channels were unread
2021-04-16 21:44:48 -04:00
édouard
503a3a8a49 invite notifications: fix radius of mention line 2021-04-16 20:28:50 -04:00
Matilde Park
55c1da67c6 PostReplies: show parent author in parent postItem
If an item is top of view, and has a parent,
we now render the parent author we are
replying to.

Fixes an unfiled bug
2021-04-16 16:05:14 -04:00
Matilde Park
8b82aec6c2 MentionText: pass all ships with sigs 2021-04-16 12:28:06 -04:00
Matilde Park
cd6e44ac82 Merge branch 'release/next-js' into mp/landscape/indigo-bump 2021-04-16 12:12:08 -04:00
Matilde Park
290b8c7c38 notifications: add margins to each
Otherwise they are not distinguished apart.
2021-04-16 11:47:40 -04:00
Liam Fitzgerald
d5bbc58c2b
Merge remote-tracking branch 'origin/release/next-js' into lf/notif-v2 2021-04-16 16:03:07 +10:00
Liam Fitzgerald
83901ece22
notifications: refactor invites to match spec 2021-04-16 16:02:26 +10:00
Liam Fitzgerald
3bd1e06f0f
notifications: refactor inbox to match spec 2021-04-16 16:02:05 +10:00
Liam Fitzgerald
801ccdad6f
notifications: refactor notification to match spec 2021-04-16 16:01:52 +10:00
Liam Fitzgerald
8bfb7da796
notifications: update header to match spec 2021-04-16 16:01:38 +10:00
Liam Fitzgerald
711bb8d88c
notifications: refactor group notification to match spec 2021-04-16 16:01:19 +10:00
Liam Fitzgerald
992b607e3c
notifications: refactor graph notification to match spec 2021-04-16 16:01:05 +10:00
Liam Fitzgerald
08028efcd7
interface: add utilities, fix useLazyScroll 2021-04-16 16:00:36 +10:00
Liam Fitzgerald
86552306c2
interface: add getters for stores 2021-04-16 15:59:02 +10:00
Liam Fitzgerald
63b3a37d86
Timestamp: set line-height 2021-04-16 15:57:42 +10:00
Liam Fitzgerald
dd9dfc0a9f
Author: fix mono spacing 2021-04-16 15:57:19 +10:00
Matilde Park
1c1377ab7d landscape: bump indigo-react to 1.2.20 2021-04-15 15:19:48 -04:00
James Acklin
e473b3031f imageInput: adds clear button
fixes urbit/landscape#785
2021-04-14 21:36:01 -04:00
matildepark
9f98081452
Merge pull request #4752 from urbit/james/leap-selection
leap: deduplicate selection with mouse+keys
2021-04-14 18:53:28 -04:00
matildepark
05711cbe14
Merge pull request #4725 from urbit/james/image-input
interface: redesign ImageInput
2021-04-14 18:26:27 -04:00
James Acklin
95b4f4007b imageInput: eliminate closures as components
fixes urbit/landscape#695
2021-04-14 16:31:21 -04:00
Tyler Brown Cifu Shuster
bbafcc6d6f sidebar: typesafe notifications check 2021-04-14 13:03:36 -07:00
Matilde Park
2949701c7f publish: tokenise content
Fixes urbit/landscape#284
2021-04-14 15:20:18 -04:00
James Acklin
8e866f3262 leap: belt-and-suspenders patp match
fixes urbit/landscape#598
2021-04-13 16:34:50 -04:00
Matilde Park
27ed29b257 landscape: fix s3 link
Fixes urbit/landscape#768
2021-04-13 16:06:33 -04:00
Matilde Park
80bc6c7054 GraphContent: allow titled links in textrenderer
Fixes urbit/landscape#752
2021-04-13 16:05:50 -04:00
Matilde Park
bd8590a80a publish: fix cross-theme color mismatch
Fixes urbit/landscape#746
2021-04-13 15:59:33 -04:00
Matilde Park
b01f14d837 landscape: fix line-height of CommentItem
Fixes urbit/landscape#731
2021-04-13 15:55:20 -04:00
Matilde Park
103547ba3b landscape: hide 'promote to admin' on pending patp
Fixes urbit/landscape#694
2021-04-13 15:42:53 -04:00
Matilde Park
421dc97a64 RemoteContent: redesign embedded content
Fixes urbit/landscape#693
2021-04-13 15:37:40 -04:00
Matilde Park
3245465281 JoinGroup: redirect if we have the group
Joining a group we have fails. We now redirect to the workspace.

Fixes urbit/landscape#683
2021-04-13 14:12:10 -04:00
Matilde Park
1ae61a0715 profile: pad and optimise on small viewports
Fixes urbit/landscape#658
2021-04-13 14:04:10 -04:00
Matilde Park
d9f8ebd5fe landscape: Author copies patp on click
Fixes urbit/landscape#578
2021-04-13 13:57:11 -04:00
James Acklin
62ab69f319 leap: yank window.ship from contacts
fixes urbit/landscape#598
2021-04-13 08:22:39 -04:00
James Acklin
e80101ab0a leap: yank own ~patp from results
fixes urbit/landscape#598
2021-04-12 22:23:19 -04:00
matildepark
26e70d8550
Merge pull request #4755 from urbit/lf/scroll-pos-reset-publish
landscape: grabbag
2021-04-12 19:45:42 -04:00
Liam Fitzgerald
505528c59b
launch: fix group notification display
Fixes urbit/landscape#720
Fixes urbit/landscape#656
2021-04-13 09:32:36 +10:00
Matilde Park
8f0c72ffa6 landscape: sidebar uses black100 for all synced
Fixes urbit/landscape#678
2021-04-12 17:05:22 -04:00
Matilde Park
bdefbcbcf2 ProfileOverlay: restore DM button
Dropped in a merge conflict resolution.

Fixes urbit/landscape#757
2021-04-12 17:00:24 -04:00
James Acklin
d6727c042c profile: imageinput instance fixes
fixes urbit/landscape#695
2021-04-12 16:42:09 -04:00
James Acklin
cc0caa5aa5 Merge branch 'release/next-js' into james/image-input 2021-04-12 15:34:16 -04:00
James Acklin
92c39dc526 leap: hide pointer while navigating by keyboard
fixes urbit/landscape#598
2021-04-12 15:12:03 -04:00
James Acklin
1f70fdbf2d leap: set selection on mousemove, not hover (account for scrolling)
fixes urbit/landscape#598
2021-04-12 14:51:41 -04:00
Matilde Park
75cbf96b2b MentionText: inline mentions
Fixes urbit/landscape#763
2021-04-12 12:17:00 -04:00
matildepark
9bb3cfb90f
Merge pull request #4746 from urbit/lf/notifications-load
notifications: prevent race condition causing empty notifications
2021-04-12 11:32:12 -04:00
matildepark
0d8b1862cc
Merge pull request #4739 from urbit/lf/post-hark
Group Feed: unread counts
2021-04-12 11:09:38 -04:00
James Acklin
4a3bc6fa22 leap: set selection to currently-hovered item
fixes urbit/landscape#598
2021-04-11 21:58:25 -04:00
James Acklin
b42d54349f leap: prettier js/tsx
fixes urbit/landscape#598
2021-04-11 17:26:35 -04:00
Logan Allen
0699c2c52c interface: use font-display: swap; 2021-04-09 16:11:57 +00:00
Liam Fitzgerald
07d13b536b
RemoteContent: fix video, audio overflow
Fixes urbit/landscape#756
2021-04-09 12:14:50 +10:00
Liam Fitzgerald
7bbef74ffe
ShipSearch: fix error reporting
Fixes urbit/landscape#753
2021-04-09 12:05:02 +10:00
Liam Fitzgerald
3903ff8ad3
Publish: reset scroll on nav change
Fixes urbit/landscape#758
2021-04-09 11:53:56 +10:00
Liam Fitzgerald
027fd225a9
notifications: prevent race condition causing empty notifications
Fixes urbit/landscape#741
2021-04-09 11:42:09 +10:00
Liam Fitzgerald
7340f3f7e5
Merge pull request #4743 from urbit/james/group-forwarding
groups: forward to already-joined group from GroupLink
2021-04-09 11:22:37 +10:00
Liam Fitzgerald
1b1d7e9e80
FormGroup: address review 2021-04-09 10:22:44 +10:00
Liam Fitzgerald
0617a1ff55
Merge remote-tracking branch 'origin/release/next-js' into lf/form-merge 2021-04-09 10:04:04 +10:00
Liam Fitzgerald
1c2aa24c7a
PostContent: fix bottom spacing 2021-04-09 09:55:41 +10:00
Liam Fitzgerald
623e13bd3e
Merge remote-tracking branch 'origin/release/next-js' into lf/graph-unification 2021-04-09 09:53:59 +10:00
James Acklin
2477b2248e groups: forward to already-joined group from GroupLink
fixes urbit/landscape#593
2021-04-08 17:27:57 -04:00
James Acklin
b19233633b groups: set universal maxWidth of GroupDescription
fixes urbit/landscape#728
2021-04-08 16:36:08 -04:00
James Acklin
8b43984831 Merge branch 'release/next-js' into james/empty-group-home 2021-04-08 08:05:35 -04:00
Liam Fitzgerald
087103b3f4
GroupFeed: show unread count 2021-04-08 16:38:55 +10:00
Liam Fitzgerald
887a12ba0c
interface: surface and dismiss unread counts 2021-04-08 16:05:20 +10:00
Liam Fitzgerald
2e41b7657e
ChatMessage: prevent link overflow
Fixes urbit/landscape#732
2021-04-07 17:08:11 +10:00
Jōshin
8112c8a041
Merge pull request #4735 from urbit/jo/gcp/conf
gcp: isConfigured doesn't touch store
2021-04-06 22:18:57 -07:00
Liam Fitzgerald
8272902a7a
PostContent: use unified graph rendering 2021-04-07 14:27:38 +10:00
Liam Fitzgerald
d06fcc741d
CommentItem: use unified graph rendering 2021-04-07 13:15:24 +10:00
Liam Fitzgerald
156f91adb5
ChatMessage: refactor content rendering 2021-04-07 13:14:52 +10:00
Liam Fitzgerald
186ac17d5d
useHovering: memoize hooks 2021-04-07 13:13:39 +10:00
Liam Fitzgerald
5f8437dbad
useCopy: expose didCopy state 2021-04-07 13:11:56 +10:00
Liam Fitzgerald
6bae511b9d
Merge pull request #4731 from urbit/lf/edit-profile-crash
EditProfile: do not mutate contact
2021-04-07 12:01:00 +10:00
L
feafdfaf43
Merge pull request #4730 from urbit/lf/callback-capture 2021-04-06 20:13:29 -05:00
L
1d43fd9f0b
Merge pull request #4733 from urbit/lf/darkmode-publish-transclusion 2021-04-06 20:08:20 -05:00
Liam Fitzgerald
705ee08727
Merge pull request #4728 from urbit/lf/immer-orm
interface: mark BigIntOrderedMap compat with immer
2021-04-07 11:07:49 +10:00
Jōshin
78faf9ba25
Merge remote-tracking branch 'origin/release/next-js' into jo/gcp/conf 2021-04-06 22:31:01 +00:00
Liam Fitzgerald
9e5ecc303c
Merge pull request #4734 from urbit/jo/tsc 2021-04-07 08:14:41 +10:00
L
c69b15d3a5
Merge pull request #4729 from urbit/lf/sub-restart
subscription: clear opened subs before restart
2021-04-06 16:41:30 -05:00
Jōshin
4aa9bba5b3
gcp: isConfigured doesn't touch store
Makes the thread return a simple boolean; almost as simple as just
returning %.y or %.n.

gcpManager now stores whether GCP is configured as a private variable.

Also fixes some type errors in gcp.
2021-04-06 19:08:53 +00:00
Jōshin
272cc6905e
interface: no nullish assignment
Typescript as of 3.7 understands null coalescing (??), but nullish
assignment (??=) is not available until 4.0.

This broke `npm run tsc`, preventing other type errors from showing up.
2021-04-06 18:05:55 +00:00
Jōshin
2dba1d0504
interface: remove broken/unused MetadataForm
It was causing tsc to hard-fail due to an extra comma on L70.
2021-04-06 17:57:55 +00:00
Jōshin
88317eefe5
Merge pull request #4655 from urbit/jo/gcp/is-token
interface: type annotations, imports
2021-04-06 09:05:31 -07:00
Liam Fitzgerald
6da3877430
Invite: fix stale props in inviteAccept callback
Now that the store is immutable, callbacks that close over props will
see stale props because the reference is captured at instantiation. This
was not an issue previously, because the references would be directly
mutated. To remedy this, useRunIO has been added, which takes an async
function to run for the actual network processing, and a second
callback, which is able to see fresh props because it is not
instantiated until the async callback has resolved successfully.
Importantly, useRunIO does not resolve until the second callback has
finished, preserving the semantics of the callback for Formik handlers
and the like.

Fixes urbit/landscape#691
2021-04-06 15:50:21 +10:00
Liam Fitzgerald
f592b33d89
subscription: clear opened subs before restart 2021-04-06 14:33:56 +10:00
Liam Fitzgerald
c60a41b26d
publish: fix color in darkmode
Fixes urbit/landscape#736
2021-04-06 11:54:31 +10:00
Liam Fitzgerald
067991533a
EditProfile: do not mutate contact
Fixes urbit/landscape#698
2021-04-06 11:43:58 +10:00
Liam Fitzgerald
c398b2c0e4
interface: mark BigIntOrderedMap compat with immer
Fixes urbit/landscape#707
Fixes urbit/landscape#740
2021-04-06 08:28:53 +10:00
James Acklin
24ca01a10c interface: adds clickable instructions to ImageInput, removes truncation in settings
fixes urbit/landscape#695, fixes urbit/landscape#581
2021-04-03 17:30:18 -04:00
James Acklin
f0c3f37b0e groups: resize group summary
fixes urbit/landscape#728
2021-04-03 12:04:01 -04:00
janeway-bot
9ccf490f5b
Merge 6ed5ccbc4e into release/next-js 2021-04-03 01:09:18 +04:00
Matilde Park
e870c251cc Merge branch 'mp/landscape/mention-overlays' (#4718)
* origin/mp/landscape/mention-overlays:
  landscape: restore profile overlays on mention clicks

Signed-off-by: Matilde Park <matilde.park@gmail.com>
2021-04-02 16:51:24 -04:00
Matilde Park
39ce6f9d58 Merge branch 'mp/landscape/sidebar' (#4719)
* origin/mp/landscape/sidebar:
  landscape: fix 'my channels' sidebar logic

Signed-off-by: Matilde Park <matilde.park@gmail.com>
2021-04-02 16:51:00 -04:00
Matilde Park
5305d0770f invites: prevent from flexshrinking closed on safari 2021-04-02 15:39:40 -04:00
Matilde Park
a059f85952 commentItem: fix background on actions 2021-04-02 15:38:56 -04:00
Matilde Park
de8e7b5937 landscape: fix 'my channels' sidebar logic 2021-04-02 15:08:42 -04:00
Matilde Park
c4903fa1fd landscape: restore profile overlays on mention clicks 2021-04-02 14:51:16 -04:00
James Acklin
c889fd5638 chat: rectify sigil corners
fixes urbit/landscape#725
2021-04-02 14:49:35 -04:00
janeway-bot
621bcc8be4
Merge 4bc7952d56 into release/next-js 2021-04-02 18:57:25 +04:00
Liam Fitzgerald
4bc7952d56
omnibox: update for new metadata 2021-04-03 00:56:48 +10:00
Liam Fitzgerald
7e1a6ae541
embeds: address review 2021-04-03 00:23:16 +10:00
Liam Fitzgerald
e52f8ab9e3
GroupSettings: show feed settings correctly 2021-04-02 21:51:28 +10:00
Liam Fitzgerald
72fc0f02c3
interface: do not wait for deletion before navigation
Fixes urbit/landscape#706
2021-04-02 21:50:45 +10:00
Liam Fitzgerald
0ef5c5b562
chat: focus at end of input
Fixes urbit/landscape#715
2021-04-02 21:46:20 +10:00
Liam Fitzgerald
bbf07c4139
interface: fix subscription reconnect
Fixes urbit/landscape#713
2021-04-02 21:46:19 +10:00
Liam Fitzgerald
f50bea444a
embeds: adjust scroll on load 2021-04-02 21:46:06 +10:00
Liam Fitzgerald
b552460a5e
RemoteContent: rescale replaced elements correctly
Fixes urbit/landscape#708
2021-04-02 20:40:23 +10:00
janeway-bot
80c68ab57e
Merge f322360dca into release/next-js 2021-04-02 09:58:30 +04:00
Liam Fitzgerald
510524e3da
notifications: include custom avatar
Fixes urbit/landscape#710
2021-04-02 15:30:04 +10:00
Liam Fitzgerald
315804e698
PostInput: fix replying with a link 2021-04-02 15:19:39 +10:00
Liam Fitzgerald
63ba664c03
interface: fix link underline on ff 2021-04-02 15:14:09 +10:00
Liam Fitzgerald
726f0c1d58
chat-editor: focus on reply 2021-04-02 14:56:54 +10:00
Liam Fitzgerald
2bbff45c38
notifications: correct background for action 2021-04-02 14:54:57 +10:00
Liam Fitzgerald
47c59de82f
notifications: fix post url 2021-04-02 14:39:17 +10:00
Liam Fitzgerald
5c47bf5bc0
Launch: remove dev cruft 2021-04-02 14:37:32 +10:00
Liam Fitzgerald
75baa3f97d
Embed: prevent 404 on graph links 2021-04-02 14:25:59 +10:00
Liam Fitzgerald
8325f232f3
GroupLink: cap at 500px 2021-04-02 14:24:31 +10:00
Liam Fitzgerald
511f48d35b
Merge branch 'master' into release/next-js 2021-04-02 13:39:51 +10:00
Liam Fitzgerald
c470e73b34
VirtualScroller: repaint on loaded 2021-04-02 13:04:32 +10:00
Logan Allen
f06dbe1ada interface: back button works again in group feed 2021-04-01 21:56:41 -05:00
Liam Fitzgerald
65405f1f1a
interface: prevent crash in non-group workspace 2021-04-02 12:44:27 +10:00
Logan Allen
03b5946089 interface: replace baseurl + feed 2021-04-01 21:36:25 -05:00
Liam Fitzgerald
c41320bea7
interface: remove duplicate import 2021-04-02 12:22:44 +10:00
Liam Fitzgerald
3c2d7a0291
interface: tweak permissions copy 2021-04-02 12:13:24 +10:00
Liam Fitzgerald
f2a7617376
Post: tweak permissions to match designs 2021-04-02 12:11:24 +10:00
Liam Fitzgerald
578924049d
Merge branch 'release/next-userspace' into lf/post-parent 2021-04-02 12:06:16 +10:00
Liam Fitzgerald
16be3b97c4
Post: update permissions to support admins properly 2021-04-02 11:48:38 +10:00
Logan Allen
c7dc6c46ac interface: fix back button not showing up on mobile 2021-04-01 20:33:07 -05:00
Liam Fitzgerald
e246d4f6ec
GroupSettings: hide feed settings to non-owners 2021-04-02 10:48:01 +10:00
Liam Fitzgerald
7381e491dd
AddFeedBanner: show only to owner 2021-04-02 10:40:34 +10:00
Logan Allen
7bf2691fca interface: group feed history goBack works 2021-04-01 19:39:27 -05:00
Liam Fitzgerald
d14b4ea471
Post: show reply if main post 2021-04-02 10:34:14 +10:00
Logan Allen
96a87d6f18 interface: api, fix disable group feed 2021-04-01 19:21:51 -05:00
Logan Allen
95cae3e36b interface: fix group feed settings render 2021-04-01 19:14:38 -05:00
Matilde Park
86fd281bd0 Merge branch 'release/next-userspace' of github.com:urbit/urbit into release/next-userspace 2021-04-01 19:02:10 -04:00
Matilde Park
c745bba77d api/graph: adding fallback vip 2021-04-01 19:02:04 -04:00
Matilde Park
87b6d35c42 groupFeed: flex width of parent row of 'add feed' 2021-04-01 18:38:35 -04:00
Logan Allen
96a57a9c4b interface: redirect properly upon create and dismiss of group feed 2021-04-01 17:31:19 -05:00
Logan Allen
d494ef1c15 interface: remove log 2021-04-01 17:03:11 -05:00
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
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