Commit Graph

1711 Commits

Author SHA1 Message Date
Matilde Park
5b62417e49 groups: pass new contacts obj, fix pending
Also uncovers why pending array wasn't matching.

Fixes urbit/landscape#422
Fixes urbit/landscape#312
2021-02-12 16:24:46 -05:00
Matilde Park
6c2d935913 NewChannel: redirect DM creation from DM routes
We were redirecting based on our parent path, so if we were in a DM
while making a DM, we used that DM as our parent path.

Fixes urbit/landscape#421
2021-02-12 14:39:23 -05:00
Matilde Park
5db4c1307b invites: redirect multiple member DMs to messages 2021-02-12 14:30:24 -05:00
Logan Allen
144178165c interface: simplify edit reducer 2021-02-12 12:02:52 -06:00
Logan Allen
1c4baea62f interface: profiles would intermittently show contact information when they should not, fixes this 2021-02-12 11:48:50 -06:00
Matilde Park
63cfde673b SetStatusBarModal: prevent flexShrink on mobile 2021-02-11 21:02:40 -05:00
Matilde Park
e868ea2db2 StatusBar: prevent sigil flexing offscreen 2021-02-11 20:34:34 -05:00
Liam Fitzgerald
850d78af56
Merge remote-tracking branch 'origin/la/work' 2021-02-12 11:01:52 +10:00
Liam Fitzgerald
cefa80cee5
Omnibox: Add Messages to results 2021-02-12 11:00:24 +10:00
Liam Fitzgerald
eb082decf3
ImageInput: mark explicitly as type="button" 2021-02-12 10:55:17 +10:00
Logan Allen
1ddf9f5b84 contact-store: set last-updated appropriately and send last-updated in JS 2021-02-11 18:47:36 -06:00
Matilde Park
34a9d9660f profile: safely access status 2021-02-11 18:58:39 -05:00
Matilde Park
d197a0e766 chat: wrap chatWindow in position='relative'
Fixes the banner overlapping the share banner.
2021-02-11 18:38:40 -05:00
ixv
a4f14119e2
Merge pull request #4418 from urbit/lf/disable-tutorila
Tutorial: disable
2021-02-11 14:19:00 -08:00
Liam Fitzgerald
a8f560f952
Tutorial: disable 2021-02-12 08:04:22 +10:00
Matilde Park
ab114980ec Profile: amend design 2021-02-11 17:02:30 -05:00
Matilde Park
62ce2cf3d4 profile: change 'pinned groups' header style 2021-02-11 16:36:55 -05:00
Matilde Park
9c3327e387 Profile: remove mb from pinned groups 2021-02-11 16:35:21 -05:00
Matilde Park
2e941f1c7a GroupLink: amend group previews 2021-02-11 16:33:48 -05:00
Matilde Park
f4b378cd2e profile: use current indigo spec on buttons 2021-02-11 16:18:17 -05:00
Matilde Park
4d2bad7856 StatusBar: make 'users' icon a square 2021-02-11 16:15:56 -05:00
Matilde Park
bcb9ebcc99 StatusBar: make sigil icon square 2021-02-11 16:15:21 -05:00
Matilde Park
cc26384fae ProfileOverlay: remove dropdown 2021-02-11 16:14:19 -05:00
Matilde Park
8253f385e8 GroupSettings: add copy for pinned groups 2021-02-11 16:09:18 -05:00
L
70cde7e4fb
Merge pull request #4416 from urbit/la/mini-prof
interface: mini profile does not dismiss improperly on click, and shows success indicator when status is set
2021-02-11 14:47:25 -06:00
L
a6369d5bf1
Merge branch 'release/next-userspace' into la/fix-385 2021-02-11 13:52:40 -06:00
Logan Allen
8e78e6fe1d interface: redirect to rootUrl upon removing graph 2021-02-11 13:48:00 -06:00
Matilde Park
8030f0e369 ProfileStatus: hide 'success!' until needed 2021-02-11 14:35:17 -05:00
Matilde Park
d4d20c004d ViewProfile: restore nickname calmengine 2021-02-11 14:29:46 -05:00
Logan Allen
cd370224d5 interface: mini profile does not dismiss on click, and shows success indicator when status is set 2021-02-11 13:23:50 -06:00
Matilde Park
27be5dd254 interface: render URLs in mentiontext 2021-02-11 13:39:29 -05:00
Matilde Park
ba839646c8 interface: increase size of embeds 2021-02-11 13:39:10 -05:00
Matilde Park
1961b606f3 Merge branch 'release/next-userspace' into lf/tutorial-fixes 2021-02-11 12:17:22 -05:00
matildepark
b526533630
Merge pull request #4414 from urbit/lf/interface-stuff
interface: QA fixes
2021-02-11 12:02:08 -05:00
matildepark
ff7913f1ca
Merge pull request #4326 from ryjm/jm/hark-read-all
hark-store: add %read-all support
2021-02-11 12:00:29 -05:00
ryjm
f5e4dc2423 hark-fe: add read all button 2021-02-11 08:48:13 -05:00
Liam Fitzgerald
8c3a9a2546
ViewProfile: left align pinned groups
Fixes urbit/landscape#394
Fixes urbit/landscape#388
2021-02-11 18:08:13 +10:00
Liam Fitzgerald
a3a8bf5f2c
Profile: collapse header padding on mobile
Fixes urbit/landscape#392
2021-02-11 17:42:39 +10:00
Liam Fitzgerald
2995d5a070
ChannelSettings: hide sidebar on mobile 2021-02-11 17:38:50 +10:00
Liam Fitzgerald
0ef854a563
Chat: add sig to mention, to correctly index contacts
Fixes urbit/landscape#395
2021-02-11 16:22:12 +10:00
Liam Fitzgerald
1f251667cb
Omnibox: conditionally show channel create on permissions
Fixes urbit/landscape#386
2021-02-11 16:22:02 +10:00
Liam Fitzgerald
419a60753a
GroupSearch: correctly set field touched 2021-02-11 16:14:55 +10:00
Liam Fitzgerald
15ac328c1f
StatusBar: float leap above on mobile tutorial 2021-02-11 16:14:17 +10:00
Liam Fitzgerald
fe22d33696
Tutorial: bring into line with designs 2021-02-11 16:13:59 +10:00
Liam Fitzgerald
1f1747cb67
launch: bring tutorial prompt to spec 2021-02-11 16:12:04 +10:00
Liam Fitzgerald
76de225b4a
interface: untangle event propagation in modals 2021-02-11 16:08:40 +10:00
Liam Fitzgerald
7568ecc2b4
tutorial: launch from omnibox 2021-02-11 10:42:11 +10:00
Liam Fitzgerald
4c4667c0d9
tutorial: fix desktop positioning 2021-02-11 10:41:16 +10:00
Logan Allen
c0ed4169fd interface: redirect to base url when unsubscribing, removing, or archiving 2021-02-10 16:24:24 -06:00
L
22da150305
Merge pull request #4411 from urbit/la/link-perm
interface: don't show link submit when empty collection and we don't have permission
2021-02-10 16:20:37 -06:00
Logan Allen
2cd05661eb interface: put message explaining permissions in links 2021-02-10 16:19:58 -06:00
Logan Allen
207880c430 interface: don't show link submit when empty collection and we don't have permission 2021-02-10 16:15:48 -06:00
matildepark
4587d741ad
Merge pull request #4410 from urbit/la/chat-avatar-show
interface: fixed conditional to only show avatar in chat when we have…
2021-02-10 17:03:52 -05:00
Logan Allen
c48dd5f9ea interface: fixed conditional to only show avatar in chat when we have shared it 2021-02-10 15:26:26 -06:00
matildepark
f75d65ce72
Merge pull request #4405 from urbit/lf/smoother-invites
interface: smoother invites
2021-02-10 15:27:18 -05:00
Matilde Park
9334740fb7 profile: remove embeds from bio 2021-02-10 15:10:39 -05:00
Matilde Park
0d53e0791b GroupSearch: add "publicOnly" boolean 2021-02-10 15:05:03 -05:00
Liam Fitzgerald
eaa900e9b4
Note: fix update permissioning logic 2021-02-10 19:04:17 +10:00
Liam Fitzgerald
c9f77566b5
NewChannel: fix sig mismatch 2021-02-10 19:02:18 +10:00
Liam Fitzgerald
6edea561ce
NewChannel: update links icon 2021-02-10 18:58:44 +10:00
Liam Fitzgerald
0995019ef9
interface: correct modal stacking behaviour 2021-02-10 17:17:14 +10:00
Liam Fitzgerald
2f4de07435
profile: use GroupLink for pinned groups 2021-02-10 16:59:18 +10:00
Liam Fitzgerald
303dc6b3bd
chat-fe: pretty group joining link 2021-02-10 16:27:49 +10:00
Liam Fitzgerald
afb0424efd
Invites, JoinStatus: refactor for smoothness 2021-02-10 15:12:16 +10:00
Liam Fitzgerald
41c08b435d
Merge pull request #4395 from urbit/la/more-fix
interface: more visual fixes, QA
2021-02-09 13:52:31 +10:00
Liam Fitzgerald
ac026ea370
Merge pull request #4400 from urbit/lf/con-hook-loop
contact-hooks: prevent infinite hook loop
2021-02-09 13:40:12 +10:00
matildepark
1a039e5f71
Merge pull request #4401 from urbit/lf/permission-fixes
ChannelPermissions: fix sig/nosig mismatch
2021-02-08 22:35:25 -05:00
Matilde Park
5530274b78 Merge branch 'release/next-userspace' into la/more-fix 2021-02-08 22:33:39 -05:00
Liam Fitzgerald
0350311882
Merge pull request #4391 from urbit/lf/loading-fix
ViewProfile: fix incorrect loading conditional
2021-02-09 13:31:27 +10:00
Liam Fitzgerald
548f2143f8
Merge pull request #4388 from urbit/lf/tutorial
interface: add overlay tutorial
2021-02-09 13:31:06 +10:00
Liam Fitzgerald
bc5e32491c
ShareProfile: only share if we arent recipient 2021-02-09 13:21:49 +10:00
Matilde Park
182eb5c7fe GroupsPane: show channel length 2021-02-08 22:05:59 -05:00
Liam Fitzgerald
350fb3a07d
launch: remove Welcome component 2021-02-09 12:53:19 +10:00
Liam Fitzgerald
9e9fd84ee8
tutorial: automatically join graphs before start 2021-02-09 12:48:17 +10:00
matildepark
05c1f286a3
Merge pull request #4399 from urbit/lf/profile-tweaks
Profile: tweak sigil size
2021-02-08 21:43:56 -05:00
Liam Fitzgerald
456d7f29af
ChannelPermissions: fix sig/nosig mismatch 2021-02-09 12:40:11 +10:00
Liam Fitzgerald
2ea1dd8dac
Profile: tweak sigil size
Fixes urbit/landscape#370
2021-02-09 12:24:45 +10:00
Liam Fitzgerald
a2cd566dd2
sigil: turn padded into padding and take number 2021-02-09 12:24:28 +10:00
matildepark
29a1e33505
Merge pull request #4393 from urbit/lf/hark-loading
Inbox: make useLazyScroll account for archived notifications
2021-02-08 21:12:44 -05:00
Liam Fitzgerald
ab470960eb
tutorial: adjust for mobile 2021-02-09 12:10:06 +10:00
Liam Fitzgerald
8bb210e69a
launch: add missing lodash import 2021-02-09 11:51:20 +10:00
Liam Fitzgerald
9bf7bf8094
ViewProfile: cleanup previews on contact change 2021-02-09 11:39:24 +10:00
Liam Fitzgerald
a07b8cc0b5
Merge remote-tracking branch 'origin/release/next-userspace' into lf/hark-loading 2021-02-09 11:25:51 +10:00
Matilde Park
c0952a2603 Merge branch 'release/next-userspace' into lf/collections-padding 2021-02-08 20:14:46 -05:00
Matilde Park
4c6329bb24 NewChannel: add background for DMs in dark mode 2021-02-08 20:09:42 -05:00
matildepark
2be1ee807b
Merge pull request #4390 from urbit/lf/search-fixes
ShipSearch: fix incomplete ship entry case
2021-02-08 20:05:21 -05:00
Logan Allen
0f62a951dc interface: show channels, since channel-count doesn't work 2021-02-08 18:29:56 -06:00
Liam Fitzgerald
2c01d6dc6d
TextContent: handle linebreaks before feeding parsing
Handling linebreaks outside of the parser allows us to preserve
linebreaks, which goes against the markdown spec and is poorly
supported by the parser library.
2021-02-09 10:02:48 +10:00
Liam Fitzgerald
26847c40cb
links-fe: correct padding
Fixes urbit/landscape#364
2021-02-09 08:07:23 +10:00
Logan Allen
9380a46fc3 interface: allow channel list to scroll and set a max-height 2021-02-08 16:02:32 -06:00
Logan Allen
5112937f59 interface: fix long group names 2021-02-08 14:10:09 -06:00
matildepark
6bb4062150
Merge pull request #4387 from urbit/james/sigil-overlays
chat: fix OverlaySigil positioning
2021-02-08 13:41:19 -05:00
James Acklin
3a99a79867 chat: address PR comments
Fixes urbit/landscape#303
2021-02-08 10:48:29 -05:00
Liam Fitzgerald
003738f95a
Inbox: make useLazyScroll account for archived notifications
useLazyScroll was not accounting for the case where a notification would
be archived. This would mean that archiving a lot of notifications
without scrolling would erroneously not load more. Accounts for this
case by passing a count argument to useLazyScroll, which is then
compared against its previous value. If the previous value is greater
than the new value, (i.e. a notification was archived) then check if we
should load more.
2021-02-08 14:04:55 +10:00
Liam Fitzgerald
71ae452132
interface: add usePreviousValue hook 2021-02-08 14:04:43 +10:00
Liam Fitzgerald
29a8ed77da
JoinGroup: skip preview if unmanaged group 2021-02-08 13:27:51 +10:00
Liam Fitzgerald
505abfbcc7
ViewProfile: fix incorrect loading conditional 2021-02-08 13:08:53 +10:00
Liam Fitzgerald
45c83239b7
ShipSearch: fix incomplete ship entry case 2021-02-08 12:59:11 +10:00
Liam Fitzgerald
07518e5cff
interface: inject location of tutorial group at compile tim 2021-02-08 11:02:52 +10:00
Liam Fitzgerald
1e7a09714b
interface: inject hooks to track position of tutorial elements 2021-02-08 10:36:06 +10:00
Liam Fitzgerald
44debd2936
interface: launch tutorial prompt, if we haven't done the tuorial before 2021-02-08 10:33:15 +10:00
Liam Fitzgerald
2a7ee29dc5
interface: display tutorial interface 2021-02-08 10:32:45 +10:00
Liam Fitzgerald
cca47cc3e7
interface: sketch out tutorial state 2021-02-08 10:29:47 +10:00
Matilde Park
6eb61f725f Merge branch 'release/next-userspace' into james/sigil-overlays 2021-02-07 12:48:56 -05:00
Matilde Park
340b74b478 Merge branch 'release/next-js' into release/next-userspace 2021-02-07 12:41:19 -05:00
James Acklin
ff6b6b8619 chat: default value for OverlaySigil visbility 2021-02-07 12:18:02 -05:00
James Acklin
aa8e623dd4 chat: type OverlaySigil, cleanup
Fixes urbit/landscape#303
2021-02-07 12:10:16 -05:00
James Acklin
6125b850a8 chat: cleanup (WIP)
Fixes urbit/landscape#303
2021-02-07 11:13:10 -05:00
James Acklin
d0bd1e6ca3 chat: consistent sigil overlays everywhere (WIP)
Fixes urbit/landscape#303
2021-02-06 20:47:33 -05:00
James Acklin
1d25e7ee34 chat: consistent profile overlay in chat messages (WIP)
Fixes urbit/landscape#303
2021-02-06 17:44:33 -05:00
James Acklin
cf0189019f chat: sigil overlay exclusive of mini-sig (WIP)
Fixes urbit/landscape#303
2021-02-06 17:19:34 -05:00
Matilde Park
ee47a51bd1 shareProfile: add missing lodash import 2021-02-05 17:33:10 -05:00
Matilde Park
59861b8ecc profileOverlay: sigils link to profile 2021-02-04 19:57:02 -05:00
Matilde Park
76f8cb866a landscape: prevent flexShrink on group header 2021-02-04 19:54:15 -05:00
Matilde Park
105916d93e hark: check for hidden group, not !hidden group 2021-02-04 19:49:03 -05:00
matildepark
45cadff09f
Merge pull request #4382 from urbit/lf/fe-fixes
interface: all assigned QA bugs
2021-02-04 19:28:36 -05:00
Liam Fitzgerald
aa42dd31f2
interface: add lodash import to prevent crash in NewChannel 2021-02-05 09:43:46 +10:00
Liam Fitzgerald
6eb234b8a7
interface: normalize joinGroup modal 2021-02-05 09:27:37 +10:00
Liam Fitzgerald
d9ab3c9fba
interface: stop propagation reshowing modal 2021-02-05 09:23:18 +10:00
Liam Fitzgerald
f508cd923e
interface: truncate group title 2021-02-05 09:07:28 +10:00
Logan Allen
414498b666 interface: fix fetch to decide when to show share banner 2021-02-04 16:02:59 -06:00
Logan Allen
c29608018b interface: increase font size to match base font 2021-02-04 15:14:29 -06:00
Logan Allen
fb7db5244b interface: fix Profile and Settings link in omnibox 2021-02-04 15:12:41 -06:00
Logan Allen
d12801f375 interface: fix text overflow and cutoff in profile overlay 2021-02-04 15:10:26 -06:00
Liam Fitzgerald
e06311b3d1
RemoteContent: add crossOrigin attribute to images to enable cache 2021-02-04 15:23:28 +10:00
Liam Fitzgerald
54dcb31414
LinkItem: hack in onclick unread support for iframes 2021-02-04 15:01:21 +10:00
Liam Fitzgerald
33eaccc589
LinkWindow: fix duplicate keys 2021-02-04 15:01:12 +10:00
Logan Allen
899d26f592 interface: allow setting of status from ProfileOverlay 2021-02-03 18:55:20 -06:00
L
1bc5e6d103
Merge pull request #4372 from urbit/la/vis-fix
interface: popover settings style fixes
2021-02-03 18:20:12 -06:00
Logan Allen
6d3e6e9815 interface: popover settings style fixes 2021-02-03 18:13:09 -06:00
Matilde Park
1dd08d8504 Merge branch 'release/next-js' into release/next-userspace 2021-02-03 19:08:08 -05:00
Matilde Park
67f7ebbf8a links, publish: use tokenizeMessage for comments
Fixes urbit/landscape#271.
2021-02-03 18:13:03 -05:00
Logan Allen
ea2d740d1c interface: fix group joining and display of share profile view 2021-02-03 13:09:39 -06:00
Liam Fitzgerald
ea10415812
contacts-fe: show group preview 2021-02-03 17:55:51 +10:00
Liam Fitzgerald
95fdcd6361
contacts-fe: retrieve contact on navigation 2021-02-03 17:27:15 +10:00
Liam Fitzgerald
60b53ccbd5
Omnibox: rewrite in hooks, add direct ship jump 2021-02-03 16:30:28 +10:00
James Acklin
94a44462da chat: preserve 0 and auto values in space calculations
Fixes urbit/landscape#303
2021-02-03 00:29:24 -05:00
James Acklin
e3a7995084 chat: calculate from client boxes, not scrollOffset
Fixes urbit/landscape#303
2021-02-03 00:25:45 -05:00
Liam Fitzgerald
a0538981b6
omnibox: convert to TS 2021-02-03 15:16:37 +10:00
Liam Fitzgerald
97a278ef05
contacts-fe: finish sharing interface 2021-02-03 14:55:17 +10:00
Liam Fitzgerald
7d69b23440
Merge remote-tracking branch 'origin/la/push-hook-list-resource' into lf/handoff 2021-02-03 12:50:26 +10:00
Logan Allen
8a0a007261 interface: partially working share banner 2021-02-02 19:13:59 -06:00
Matilde Park
57f0cb1308 Merge branch 'release/next-userspace' into mp/chat/dms 2021-02-02 20:08:30 -05:00
Matilde Park
e0b1019cd9 hark: correct groupPath construction for dms 2021-02-02 20:05:29 -05:00
L
ac759b7d96
Merge pull request #4365 from urbit/lf/revive-invites
Invites: update for new group-view
2021-02-02 18:58:58 -06:00
Liam Fitzgerald
1eda71f783
JoinGroup: check correct associations key 2021-02-03 10:01:06 +10:00
Liam Fitzgerald
8bb8f0b206
invites: update interface for new thread 2021-02-03 10:00:42 +10:00
Matilde Park
f0033ab02f landscape: add "messages" workspace and logic 2021-02-02 18:45:40 -05:00
Matilde Park
a48c372a0e landscape: remove leftover chat-store FE logic 2021-02-02 16:13:14 -05:00
Matilde Park
378ad0690f landscape: "DMs + Drafts" -> "My Channels" 2021-02-02 15:38:12 -05:00