feat(APP-1004): iterate the support assistant on design feedback - #1303
Open
tyhonchik wants to merge 1 commit into
Open
feat(APP-1004): iterate the support assistant on design feedback#1303tyhonchik wants to merge 1 commit into
tyhonchik wants to merge 1 commit into
Conversation
The panel header carries the Aragon mark and a live subline naming the request being drafted or created; the ticket card leads with the ticket title instead of a "Review your request" label; spent drafts collapse into a quiet line; past requests move out of the greeting into a view of their own, reached from a link under the composer, where the mail escape hatch now lives as a footnote. The transcript opens with a time divider, and the navigation trigger withdraws while the panel is open — the panel collapses through its own chevron.
|
🚀 Preview Deployment: View Here |
|
E2E results (preview) Smoke
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This reworks the support assistant panel along Evan's design review. The widget shipped as a straight port of the assistant-ui registry thread: a generic header, a ticket card that led with a "Review your request" label, the request history parked on the greeting screen, and a mail button competing for space in the header. Now the header carries the Aragon mark and a live subline naming what the conversation is working on, the card leads with the ticket itself, and past requests get a view of their own. The spec is the Claude Design project
Aragon Support Assistant.dc.htmlplus the divergence list in itsgithub.md.Changes
Aragon Assistant, with a subline underneath:New conversationon a fresh chat,Draft: Clicking any button in the app causes a crashwhile the model assembles a draft,SUP-123: …once it is filed. It reads the lastcreateLinearTicketpart in the thread, so it follows the ticket with no extra state.Review your requestheading and the intent tag are gone, the drafted title is the card's heading, the description renders plain with noDetailsmicro-label,Steps to reproduceis body weight over a numbered list, and the contact reads as a sentence:We'll reply to evan@aragon.org. Actions sit behind a divider asCreate ticket/Dismiss.Past requests (2)link under the composer opens a list view with a back chevron in the header. The composer is hidden there because it lives inside the thread that the view replaces. Link and list read through oneuseRequestHistoryhook.Prefer a human? Email support. The header mail button is dropped, so that escape hatch has a single home.Today 14:26,Monday 09:41), fired when the pause between two messages passes 30 minutes.SupportChatTriggerwithdraws from the navigation bar while the panel is open instead of doubling as the close control.Describe the issue…andReply…, the greeting is nowWhat do you need help with?, the user bubble grew a tail, the composer sits on white with aneutral-200border, the tool name comes fromcreateTicketToolNamerather than a literal, and the unusedtrigger.closelocale key is gone.Note
The design shows a transcript spanning days (
Monday 09:41next toToday 14:26), which cannot happen yet: the session is in-memory, so a reload starts an empty chat. Dividers are therefore gap-based and session-only, and in practice you see exactly one, above the first message. I left transcript persistence out of this PR.The Aragon mark lives in the widget as its own component, because the package must not import from
apps/appand gov-ui-kit ships no logo at^2.9.0. It is a copy ofaragonLogoIcon.tsx, worth collapsing if the kit ever gains one.The collapse chevron is the same at every breakpoint, including the fullscreen drawer below
lg, where an X would read a little better.