From 5519b81af9b57f24fefe62bd94b4ec06eaf03e65 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Tue, 6 Aug 2024 15:55:48 +0100 Subject: [PATCH] Disable jump to read receipt button instead of hiding when nothing to jump to (#12863) * Disable User Info jump to read receipt button instead of hiding it when no RR Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update tests Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update snapshot Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Remove non-functional code Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * delint Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --------- Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- .../user-view.spec.ts/user-info-linux.png | Bin 17196 -> 18977 bytes src/components/views/right_panel/UserInfo.tsx | 55 ++++++------- .../views/right_panel/UserInfo-test.tsx | 8 +- .../__snapshots__/UserInfo-test.tsx.snap | 76 ++++++++++++++++++ 4 files changed, 108 insertions(+), 31 deletions(-) diff --git a/playwright/snapshots/user-view/user-view.spec.ts/user-info-linux.png b/playwright/snapshots/user-view/user-view.spec.ts/user-info-linux.png index 45af5ac44be079417d5f7e22765d5fc11aee63b3..b6883c218e6dea5fc0e4f41c089300c8f9f03838 100644 GIT binary patch literal 18977 zcmch<1yEewwl3O)Ac3F>kf7%Cj|-{+irt5y~C>e4Pl65L?b3MZ_gD?@|LB!tu@0_Vz%Mx% z$c(2ezi}|-O9+4!efjc=HJYF75xw_28P;eUT}kw}pP7qv*`FKZlRZxVF*K!rA<9dz zJNSmN-aV2|SIb)jId^5Jd;Z(C<+TT*5wRE=SzYwYOk-JHs$in&Zij<*@@`?K)&DkvmSZHsKZ3@GL@ z3CHB(8h&ewh_x^?%iarGz#@=RdL&v|d0p@MRS`S(#kJE)x&Yrqw;r+B(i2ve+utYt z$mPa9I>}d>`qR!4{S}x7GfT?FyeFEOY9dsJVvGjlzbWKg$=gbw zyZbc!0j&!K`Zd-opK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KPZ|078;8@Ezi#h@28K6kylK@IF*P@Z~g3GUW{l9;E zR*{35G5qxoDBvg)EVlRYUAwl3kJ#;?xCPd`*9I~dKbLXBowY8s_Ah2w%EMy=3t4zM z(3@SXp&l2mh8=qYR2~gPd(fMME^g}5Z(U+93sVyjjVXwWxf^3Vy5clMzacHnrk{8+c->q-yo7pL%`o( zGigO1<+9$z%EtttVqTOf9{A1uh5}2*FH+C$w_KjnZC4&x*YD7mgb{&Te`;tzI`c+0 z*61o1ciVtEN4Fno6=@nymYPn-zf)Fvw}nlA-uBh;xHqo1kn%yQ&&kJiVzh1sOPvdw z@h_IV4)wLZy)r-fL%@EWwel zX$^0;X&L+bq7Wt^werrMt{G7XIlA9#ce9$1nUovs}0Us!yqM+l^RMYlbx zSS;7@dXpzdFjBB0%e9n1rBR{?dXNS9r`v>bxZq}f^K!<>=FDi+lZ$gY3;xqw;AmAZ z;ixdTN-fTqQzciOy|fm)z6k-BUg2VZmYnccn+3`Zua72TDGidiLuU?oaB`+R3y<2J zN~<4$py&D(vvBwo=A0VKexj0e8%kf>dV~8+z%e4>mY>pQVdBhs*!4Vs%h8ua*>1~1 z)93qx(ZwVK#{CMF%r`#556_pZgJN>Zh}nGaO-+;(|Nd~P(~lG2BLSHGf4&RAb<-4nZ8*{~pvY~r=yZJV z)VBPy%)IIG`)|f0T!|OF7bYKCYDZT0NYXhKmyO?Y$c;Q(Fzt^&ciCfrbT%zWM@JBR zHsyMmi-GDuBg@YyBZxox(u}o8j$m6Wguu{YnQ#) zR!B?@doI13(UcztEoP zC}j1*9KFka!*YGw?Ytj{lE+o5e$M@Mw-C9LgWSqBnH6Uxe~^qgF=*jiU&o9pSb3k> z!3r?7-wn2uI5#+r<&%1ZxTtQwjgSp=C7aB}9I9{fm7h@c9eSJ1Kd|5{Uli{{iB= B7%%_; diff --git a/src/components/views/right_panel/UserInfo.tsx b/src/components/views/right_panel/UserInfo.tsx index 159bc9dbf1..9cc50fa928 100644 --- a/src/components/views/right_panel/UserInfo.tsx +++ b/src/components/views/right_panel/UserInfo.tsx @@ -442,19 +442,35 @@ export const UserOptionsSection: React.FC<{ // Only allow the user to ignore the user if its not ourselves // same goes for jumping to read receipt if (!isMe) { - if (member instanceof RoomMember && member.roomId && !isSpace) { - const onReadReceiptButton = function (): void { - const room = cli.getRoom(member.roomId); - dis.dispatch({ - action: Action.ViewRoom, - highlighted: true, - // this could return null, the default prevents a type error - event_id: room?.getEventReadUpTo(member.userId) || undefined, - room_id: member.roomId, - metricsTrigger: undefined, // room doesn't change - }); - }; + const onReadReceiptButton = function (room: Room): void { + dis.dispatch({ + action: Action.ViewRoom, + highlighted: true, + // this could return null, the default prevents a type error + event_id: room.getEventReadUpTo(member.userId) || undefined, + room_id: room.roomId, + metricsTrigger: undefined, // room doesn't change + }); + }; + const room = member instanceof RoomMember ? cli.getRoom(member.roomId) : null; + const readReceiptButtonDisabled = isSpace || !room?.getEventReadUpTo(member.userId); + readReceiptButton = ( + { + ev.preventDefault(); + if (room && !readReceiptButtonDisabled) { + onReadReceiptButton(room); + } + }} + label={_t("user_info|jump_to_rr_button")} + disabled={readReceiptButtonDisabled} + Icon={CheckIcon} + /> + ); + + if (member instanceof RoomMember && member.roomId && !isSpace) { const onInsertPillButton = function (): void { dis.dispatch({ action: Action.ComposerInsert, @@ -463,21 +479,6 @@ export const UserOptionsSection: React.FC<{ }); }; - const room = member instanceof RoomMember ? cli.getRoom(member.roomId) : undefined; - if (room?.getEventReadUpTo(member.userId)) { - readReceiptButton = ( - { - ev.preventDefault(); - onReadReceiptButton(); - }} - label={_t("user_info|jump_to_rr_button")} - Icon={CheckIcon} - /> - ); - } - insertPillButton = ( ", () => { }); }); - it("when call to client.getRoom is null, does not show read receipt button", () => { + it("when call to client.getRoom is null, shows disabled read receipt button", () => { mockClient.getRoom.mockReturnValueOnce(null); renderComponent(); - expect(screen.queryByRole("button", { name: "Jump to read receipt" })).not.toBeInTheDocument(); + expect(screen.queryByRole("button", { name: "Jump to read receipt" })).toBeDisabled(); }); - it("when call to client.getRoom is non-null and room.getEventReadUpTo is null, does not show read receipt button", () => { + it("when call to client.getRoom is non-null and room.getEventReadUpTo is null, shows disabled read receipt button", () => { mockRoom.getEventReadUpTo.mockReturnValueOnce(null); mockClient.getRoom.mockReturnValueOnce(mockRoom); renderComponent(); - expect(screen.queryByRole("button", { name: "Jump to read receipt" })).not.toBeInTheDocument(); + expect(screen.queryByRole("button", { name: "Jump to read receipt" })).toBeDisabled(); }); it("when calls to client.getRoom and room.getEventReadUpTo are non-null, shows read receipt button", () => { diff --git a/test/components/views/right_panel/__snapshots__/UserInfo-test.tsx.snap b/test/components/views/right_panel/__snapshots__/UserInfo-test.tsx.snap index e7bd262ab0..22794e9d8b 100644 --- a/test/components/views/right_panel/__snapshots__/UserInfo-test.tsx.snap +++ b/test/components/views/right_panel/__snapshots__/UserInfo-test.tsx.snap @@ -255,6 +255,44 @@ exports[` with crypto enabled renders 1`] = ` /> + +