You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Desk web: Edit on the owner's message in a session's view does nothing #696
In the desk's web app, a session's view draws the transcript with the app's own rows. The owner's message there shows an Edit button (src/renderer/src/transcript/view/rows/User.tsx, title "Edit here · Send rewinds this session to this message"). Pressing it does nothing: the transcript's action editAndResubmit is registered by the app's composer (src/renderer/src/composer/index.tsx, registerTranscriptActions) and by the side card's thread (side/card/CardThread.tsx), and nothing under apps/desk-web/src registers it, so the context's default (transcript/view/context.tsx, a no-op) answers the press.
Found while the UX wave's U3b document was written (board 588) and confirmed by its review; it is on master today and is not part of that landing.
What done looks like
One of the two, decided when the ticket is taken:
the desk's session view does not draw Edit on the owner's message (a control that cannot act is not drawn); or
the desk registers an edit that works there (the message's text goes to the desk's own composer for that session).
A test in the desk's project pins whichever is chosen: with the desk's mount, the owner's message either has no Edit button or its press reaches the desk's handler.
Notes
The same check is worth one pass over the other transcript actions the context defaults to a no-op (context.tsx's default object): any of them that the desk does not register and whose control the desk draws is the same fault.
U3b's first landing moves the owner's message actions under the bubble in the app; the desk's own chat bubble keeps its old rule, and this ticket's control is the one in the session view.
Activity