From 4061d4c0df1c2ca07f034148250a89a57a095ea7 Mon Sep 17 00:00:00 2001 From: Riyadh Date: Sun, 10 May 2026 15:03:22 +0000 Subject: [PATCH] notes(shared): show Send button on notes inside shared folders User report (AR, RH on iPad): no Send button visible inside a shared "desk" folder. The shared-folder view was passing `hideSend` to every NoteCard for editors and rendered no card actions at all for read-only viewers, so nobody could send a note from a shared folder. Changes (artifacts/tx-os/src/pages/notes.tsx, SharedFolderView): - Editors: removed `hideSend` from the NoteCard so the existing Send affordance (and color/labels/archive/delete) appears as it does on the user's own notes. - Read-only viewers: added a small Send icon button to the static card (testid `shared-folder-note-send-`) so they can also send the note via the existing send dialog. The send endpoint authorizes off the authenticated caller, so the note is sent under RH's identity (no server change needed). --- artifacts/tx-os/src/pages/notes.tsx | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/artifacts/tx-os/src/pages/notes.tsx b/artifacts/tx-os/src/pages/notes.tsx index 163bc96a..a28b2269 100644 --- a/artifacts/tx-os/src/pages/notes.tsx +++ b/artifacts/tx-os/src/pages/notes.tsx @@ -3500,7 +3500,6 @@ function SharedFolderView({ labels={labels} onEdit={onEdit} onSend={onSend} - hideSend /> ))} @@ -3515,12 +3514,12 @@ function SharedFolderView({
{n.title && ( -
+
{n.title}
)} @@ -3538,6 +3537,18 @@ function SharedFolderView({
) )} +
))}