Improve chat layout responsiveness and adopt new sidebar primitives

- Refactor chat, header, and composer spacing/overflow for mobile-friendly behavior
- Replace custom sidebar structure with reusable collapsible/sidebar UI components
- Tighten compact controls with responsive labels, triggers, and accessibility tweaks
This commit is contained in:
Julius Marminge authored and Julius Marminge committed 2026-02-26 13:20:36 -08:00
1 parent 76519303b9
commit ad9bc6c1df
11 files changed
+1127 -229

No files matched your search

@@ -266,9 +266,9 @@ export default function ProjectScriptsControl({
title={`Run ${primaryScript.name}`}
>
<ScriptIcon icon={primaryScript.icon} />
<span className="ml-0.5">{primaryScript.name}</span>
<span className="sr-only sm:not-sr-only sm:ml-0.5">{primaryScript.name}</span>
</Button>
<GroupSeparator />
<GroupSeparator className="hidden sm:block" />
<Menu highlightItemOnHover={false}>
<MenuTrigger
render={<Button size="icon-xs" variant="outline" aria-label="Script actions" />}
@@ -327,9 +327,9 @@ export default function ProjectScriptsControl({
</Menu>
</Group>
) : (
<Button size="xs" variant="outline" onClick={openAddDialog}>
<Button size="xs" variant="outline" onClick={openAddDialog} title="Add action">
<PlusIcon className="size-3.5" />
Add action
<span className="sr-only sm:not-sr-only sm:ml-0.5">Add action</span>
</Button>
)}