Commit Graph

3276 Commits

Author SHA1 Message Date
Patrick O'Sullivan
0e0b271cf3 groups: Fix circ. dep issue in safari, remove await in bootstrap 2022-04-13 15:40:18 -05:00
David Farrell
e7c42670e4 groups: fix no-case-declarations lint error 2022-04-12 20:27:07 -04:00
Hunter Miller
dcfcafb049 Merge branch 'next/groups' 2022-04-12 13:39:33 -05:00
David Farrell
fa8e800082 groups: set the right title for messages
Replaces the title "Groups" with "Messages" for Messages pane. When the
user selects a DM pane, displays the contact ship's name/nick along with
unread notifications in the title.

Fixes [urbit/landscape#1250](https://github.com/urbit/landscape/issues/1250)
2022-04-12 11:43:19 -04:00
yung calibri
b0fe7ff4eb fix the long link layout issue 2022-04-11 21:06:47 -04:00
Hunter Miller
0828ae6296
Merge pull request #5704 from urbit/james/group-notifications
groups: fix join/leave notification toggle
2022-04-08 12:04:20 -05:00
Hunter Miller
a3a1b596f2
Merge pull request #5705 from urbit/james/p3-omnibus
groups: various copy and design fixes
2022-04-08 12:04:06 -05:00
James Acklin
70dcd7ab09 groups: various copy and design fixes
fixes urbit/landscape#1377
fixes urbit/landsacpe#1328
fixes urbit/landscape#1161
fixes urbit/landscape#1045
2022-04-08 11:47:55 -04:00
James Acklin
2c08d2477e groups: fix join/leave notification toggle
fixes urbit/landscape#1012
2022-04-08 10:49:10 -04:00
Patrick O'Sullivan
69062f1700 groups: use path variable for mobile toggling in groupswitcher 2022-04-07 19:39:59 -05:00
Patrick O'Sullivan
9f25f74d93 groups: show group settings menu when pressing settings cog on mobile 2022-04-07 14:25:10 -05:00
James Acklin
bb8d0c6f58 duplicate component, sorry for the messy commit 2022-04-07 10:38:10 -04:00
James Acklin
c623bc6c36 links: image thumbnail fills entire grid item
fixes urbit/landscape#1313
2022-04-07 10:35:45 -04:00
David Farrell
4f1ebe8416 interface: remove share profile chat button
Removes the "Share private profile?" text and button that appear
at the top of the chat window when the ship has not opted in to sharing
their profile.

fixes urbit/landscape#1195
2022-04-06 09:51:50 -04:00
Liam Fitzgerald
0eb1295f7b interface: use object-fit:cover
This aligns image embeds with the wishes of the design team, by zooming
and cropping the image to fill the entire container
2022-04-04 12:24:23 -05:00
Patrick O'Sullivan
a6e196a0fd groups: fix sort order in notifications 2022-04-01 17:18:32 -05:00
Patrick O'Sullivan
c650d1d477 groups: fix issue with wrapping urls in notes 2022-04-01 14:23:23 -05:00
Hunter Miller
c3b491ddb0 groups-pane: refining loading strategy to be more efficient 2022-04-01 12:18:43 -05:00
Hunter Miller
65e05fbf25 api: turn off verbose 2022-03-31 17:26:06 -05:00
Liam Fitzgerald
185ee5f661 interface: fix reconnect logic 2022-03-31 14:55:03 -06:00
Hunter Miller
1d1b9ae863
Merge branch 'next/groups' into lf/landscape-floor 2022-03-31 12:28:29 -05:00
Liam Fitzgerald
58cd0bd4f3 interface: address hunter review 2022-03-31 10:56:45 -06:00
Patrick O'Sullivan
7108bfa7c7 groups: remove debug statement from chatinput 2022-03-31 11:39:54 -05:00
Hunter Miller
1949174f63
Merge pull request #5682 from urbit/po/fix-silent-s3-failures
groups: fix silent s3 failures
2022-03-31 11:26:40 -05:00
Patrick O'Sullivan
0d3f4ec554 groups: clear s3 error state on succesful upload 2022-03-31 11:23:52 -05:00
Hunter Miller
9b59f26c6c bootstrap: moving data calls to relevant component so it always loads 2022-03-31 11:07:08 -05:00
Hunter Miller
687b23e519 useFileUpload: fixing stale closure 2022-03-31 11:06:38 -05:00
Patrick O'Sullivan
846fe48e7a groups: lift uploadError state to ChatPane, refactor nested ternary 2022-03-31 11:04:24 -05:00
Patrick O'Sullivan
cc1048dd21 groups: add padding to error box in collections 2022-03-31 10:52:31 -05:00
Patrick O'Sullivan
ff65c17376 groups: remove fixed height from s3 error portal 2022-03-31 10:50:10 -05:00
Hunter Miller
6dc763a7d1 s3client: adding missing promise call to trigger 2022-03-31 09:42:10 -05:00
Hunter Miller
b1aab5bc36 Merge branch 'next/groups' into hm/fix-missing-channel-state 2022-03-30 15:29:32 -05:00
Patrick O'Sullivan
9db2024676 groups: handle s3 upload failures in chat 2022-03-30 15:04:01 -05:00
Patrick O'Sullivan
836cdb2478 groups: handle s3 upload failures in collections 2022-03-30 14:12:13 -05:00
Patrick O'Sullivan
2b784caffc groups: remove TODO about harkbody def, fix in separate PR 2022-03-29 09:18:57 -05:00
Liam Fitzgerald
75a2c2b979 interface: static height for embedded images 2022-03-28 14:44:02 -06:00
Liam Fitzgerald
41d42da34c interface: fix group feed unread count
Fixes urbit/landscape#1258
2022-03-28 13:54:37 -06:00
Patrick O'Sullivan
952a05a901 groups: fix notification order 2022-03-28 14:52:28 -05:00
Liam Fitzgerald
e31c194a20 interface: fix group chat join overflow
fixes urbit/landscape#1105
2022-03-28 12:49:43 -06:00
Liam Fitzgerald
a7906641a7 interface: cap maxHeight of ShipSearch
Fixes urbit/landscape#1393
2022-03-28 12:30:19 -06:00
Liam Fitzgerald
7a6cb8ae6d interface: do not show recently joined if already left
Fixes urbit/landscape#1407
2022-03-28 12:19:19 -06:00
Patrick O'Sullivan
de493a6482 groups:Remove useEffect for setting prot. handler from Content 2022-03-28 09:24:51 -05:00
Patrick O'Sullivan
c896349246 groups:Remove button for registering prot. handler in settings 2022-03-28 09:23:44 -05:00
Patrick O'Sullivan
ef77aaf802 groups: Use garden's prot. hand. prefs to determine app link 2022-03-25 14:30:26 -05:00
Patrick O'Sullivan
1399ef9fa5 groups: Add useGardenSettings store to groups 2022-03-25 14:28:07 -05:00
Patrick O'Sullivan
df280daee3 groups: Set browserId in local state on mount of app 2022-03-25 14:27:30 -05:00
Patrick O'Sullivan
0a5cd0041d groups: Add browserId to local state 2022-03-25 14:26:18 -05:00
Hunter Miller
60d5d4ffcf bootstrap: optimizing order a little more 2022-03-25 12:55:54 -05:00
Hunter Miller
78a0796a74 bootstrap: removing unnecessary clear and moving hark a little higher 2022-03-25 11:42:42 -05:00
Hunter Miller
a93c3975d7 any-ascii: lazy load for code-splitting 2022-03-24 19:22:47 -05:00
Hunter Miller
6a5b0e3a83 s3: lazy load aws sdk for code splitting 2022-03-24 19:21:56 -05:00
Hunter Miller
e3b2e166d7 bootstrap: moving and reordering, adding scries
This undoes some of the code-splitting done previously as it didn't
affect performance enough, and was actively hurting it in some ways.
Instead this moves the subscription initiation higher and adds scries
for critical data. This also shuffles the calls in App's useEffect so
that they are more colocated with relevant concerns.
2022-03-24 19:18:45 -05:00
Hunter Miller
1e29177b2a interface: improving channel load time/ordering 2022-03-22 19:05:24 -05:00
Patrick O'Sullivan
dfcc0bf7c3 groups: remove debug statement 2022-03-22 15:20:16 -05:00
Patrick O'Sullivan
abd7e7f853 groups: Handle notifs received without links (like group updates) 2022-03-22 15:16:16 -05:00
Hunter Miller
143c41540c interface: fixing type issues and ci 2022-03-15 10:17:30 -05:00
Hunter Miller
a6d7ddd164 Merge branch 'next/groups' into hm/landscape-perf-optimization 2022-03-11 15:45:00 -06:00
Patrick O'Sullivan
8926179f75 groups: trim ship string on preSig 2022-03-10 12:23:42 -06:00
Patrick O'Sullivan
0f85623f25 groups: Use presig on group join links 2022-03-10 12:20:12 -06:00
Patrick O'Sullivan
97aee0f422 groups: Add preSig func to utils 2022-03-10 12:19:32 -06:00
Patrick O'Sullivan
aa5946aa70 groups/grid: Move security from groups to grid 2022-03-08 13:26:43 -06:00
Patrick O'Sullivan
4bc543a6ec groups: handle italic or bold markdown around @p's in messages 2022-03-04 12:46:16 -06:00
Patrick O'Sullivan
d715c7d7cb landscape: Prevent adding duplicate ships to ShipSearch pills 2022-03-03 05:20:59 -06:00
tomholford
5959b73ecb interface: use single sig in NotificationText
The `ProfileOverlay` component expects a `ship` arg as a patp without the sig. This deSigs the ship value used in `NotificationText`.

This closes urbit/landscape#1376
2022-02-25 15:24:14 -06:00
Liam Fitzgerald
f3da5488ce Merge remote-tracking branch 'origin/next/groups' into lf/no-perms-rejoin 2022-02-03 11:12:43 -06:00
Liam Fitzgerald
b14dc76992 interface: refine joining error cases 2022-01-31 16:21:27 -06:00
Hunter Miller
de747b343f join: don't show modal if no kind 2022-01-28 19:51:35 -06:00
Hunter Miller
0d93cf9cff join: handling kind safer and join links more consistent 2022-01-28 19:33:42 -06:00
Hunter Miller
0abf7eecfe app: refactoring app to TS and removing lots of unused props 2022-01-26 12:21:19 -06:00
Hunter Miller
79f0fd98dd chat-resource: fixing admin detection 2022-01-26 10:29:04 -06:00
Hunter Miller
049a85bc60 Merge branch 'next/groups' into hm/landscape-perf-optimization 2022-01-25 17:05:32 -06:00
Hunter Miller
09f71e504b dms: don't load if pending 2022-01-18 14:38:45 -06:00
Hunter Miller
3bbaf6de80 join: making sure group is in state and retaining join request state 2022-01-13 16:15:38 -06:00
Hunter Miller
ed3b19cd0f sidebarlistheader: fixing potential undefined ref 2022-01-13 16:14:22 -06:00
Hunter Miller
c13ec5a698 notification-redirect: send to already joined chat instead of showing join modal 2022-01-11 19:36:06 -06:00
Hunter Miller
1ddd38e82c join: removing unused props, fixing invite 'kind' for proper linking 2022-01-11 19:32:51 -06:00
Hunter Miller
5fba433415 hark-update: fixing desk check 2022-01-11 19:30:53 -06:00
Hunter Miller
846502ef51 Merge branch 'next/groups' into hm/remove-dm-delete 2022-01-11 18:16:29 -06:00
Hunter Miller
4ee680807f Merge branch 'master' into next/groups 2022-01-11 18:15:25 -06:00
Hunter Miller
8efc0a9006 dms: hiding delete for dms and hiding dropdown if only reply 2022-01-11 16:43:57 -06:00
Hunter Miller
158dfc0dec interface: fixing type errors 2022-01-11 16:42:38 -06:00
Liam Fitzgerald
f1f57abec0
Merge pull request #5485 from urbit/lf/recency-improvements
landscape: better leap searching
2022-01-10 11:10:51 -06:00
Liam Fitzgerald
b4512bf1a0
Merge pull request #5490 from urbit/lf/groups-grabbag
groups: misc frontend fixes
2022-01-10 11:08:14 -06:00
Hunter Miller
1ddc7fee83 types: fixing type issues from merge 2022-01-07 11:08:59 -06:00
Hunter Miller
9c5f90fe3b Merge branch 'next/groups' into hm/landscape-perf-optimization 2022-01-06 16:52:55 -06:00
Liam Fitzgerald
a42b344559 DmResource: reload DM if cleared by kick 2022-01-06 13:55:22 -06:00
Hunter Miller
318cb9f00e Merge branch 'master' into next/landscape 2022-01-05 16:59:32 -06:00
Liam Fitzgerald
bfaec1daab interface: address hunter review 2021-12-13 10:23:37 -05:00
Liam Fitzgerald
7252c7c1da interface: fix unreads not clearing chats
Fixes urbit/landscape#761
2021-12-13 08:44:29 -05:00
Liam Fitzgerald
740d9b796e interface: inset by safe-area on iOS
Fixes urbit/landscape#242
2021-12-13 08:25:59 -05:00
Liam Fitzgerald
917b53b374 interface: add disable spellcheck setting
Fixes urbit/landscape#79
2021-12-13 08:18:38 -05:00
Liam Fitzgerald
dc305371bc interface: strip apps from landscape omnibox
Fixes urbit/landscape#1295
2021-12-13 08:02:14 -05:00
Liam Fitzgerald
0e847ec53c landscape: do not show cross-desk notifications 2021-12-13 07:52:41 -05:00
Liam Fitzgerald
167718bd8e interface: prevent hook crash in publish notes
Fixes urbit/landscape#1299
Fixes urbit/landscape#1343
2021-12-13 07:45:25 -05:00
Liam Fitzgerald
28ace88bd9 interface: remove My Channels link from GroupSwitcher
Fixes urbit/landscape#1331
2021-12-13 07:39:08 -05:00
Liam Fitzgerald
6de9dbdd3f landscape: better leap searching
Allows categories to reorder. Improves searching algorithm to order by
strength of match
2021-12-09 16:49:43 -05:00
Liam Fitzgerald
0979b8fc39 interface: hide invite if already joined 2021-12-08 15:24:32 -05:00
Liam Fitzgerald
ba9cfd8e92 interface: do not redirect to joined group automatically 2021-12-07 11:04:36 -05:00
Liam Fitzgerald
119805fd04 interface: hide aborted requests 2021-12-07 11:02:23 -05:00
Liam Fitzgerald
641cf79894 interface: fix tsc 2021-12-06 14:16:17 -05:00