Redesign assistant editor and file-connector UX#377
Merged
Conversation
Add references/app-conventions.md documenting the rounded-2xl list and form page design language (border radius, list style, form sections, button variants) so future list/form work in frontend/ai.client matches the redesigned admin pages instead of the older boxed-card style. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Restyle the assistant editor and the file-source browser modal to the rounded-2xl list/form design language used by the redesigned admin pages (manage-models, tools), and rework how documents are added: - Editor form column restyled (rounded-2xl, text-sm/6, blue accent, flat border-t sections); uploaded documents rendered as a divide-y list; form column given a bg-gray-50 surface so inputs read clearly. - File-source connectors are surfaced as buttons directly above the drop zone instead of behind a generic "Import from a connector" button — clicking one opens the browser dialog targeted at that connector, skipping the in-modal source picker. - The drop zone collapses to a compact "Add files" control once a document exists or is uploading; device and connector uploads stay available. - File-source browser modal restyled to the same conventions (rounded-2xl panel, divide-y lists, convention button variants). Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
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.
Summary
Restyles the assistant editor and the file-source browser modal to the
rounded-2xllist/form design language used by the redesigned admin pages (manage-models, tools), and reworks how documents are added to an assistant.Editor restyle
rounded-2xlinputs/buttons,text-sm/6body text, blue accent, flat<section>blocks divided byborder-t(no boxed cards).divide-ybordered list instead of separate cards.bg-gray-50/dark:bg-gray-900surface so the white inputs read as raised.File-connector UX
Modal restyle
rounded-2xlpanel,divide-ybordered lists, convention button variants.Skill doc
tailwind-uiskill referencereferences/app-conventions.mddocumenting the list/form design tokens.Test plan
/assistants/new— connector buttons appear above the drop zone (none if the file-source feature isn't configured).Notes
ng build(development) — compiles clean. The assistants component specs were not run: they fail on unmodifieddevelopwith a pre-existing TestBedcompileTestModuleerror.assistant-form.page.spec.tsgained aFileSourceServicemock so it will pass once that environment issue is resolved.🤖 Generated with Claude Code