chore: generate

This commit is contained in:
opencode-agent[bot]
2026-05-21 05:49:32 +00:00
parent b207e32249
commit 8c72edb3ff
6 changed files with 15 additions and 11 deletions

View File

@@ -411,7 +411,10 @@ function expectCompleteScroll(
async function selectHomeProject(page: Page, projectName: string) { async function selectHomeProject(page: Page, projectName: string) {
await page.goto("/") await page.goto("/")
await page.locator('[data-component="home-project-row"]').filter({ hasText: new RegExp(projectName, "i") }).click() await page
.locator('[data-component="home-project-row"]')
.filter({ hasText: new RegExp(projectName, "i") })
.click()
await expect(page).toHaveURL(/\/$/) await expect(page).toHaveURL(/\/$/)
} }

View File

@@ -49,7 +49,10 @@ export function WindowsAppMenu(props: {
return ( return (
<DropdownMenu gutter={4} modal={false} placement="bottom-start"> <DropdownMenu gutter={4} modal={false} placement="bottom-start">
{props.variant === "v2" ? ( {props.variant === "v2" ? (
<div data-component="desktop-icon-button" class="flex h-7 w-9 shrink-0 items-center justify-center rounded-[6px] px-1"> <div
data-component="desktop-icon-button"
class="flex h-7 w-9 shrink-0 items-center justify-center rounded-[6px] px-1"
>
<DropdownMenu.Trigger <DropdownMenu.Trigger
as={IconButtonV2} as={IconButtonV2}
variant="ghost-muted" variant="ghost-muted"

View File

@@ -74,8 +74,7 @@ export function projectForSession<T extends { id?: string; worktree: string; san
const directory = pathKey(session.directory) const directory = pathKey(session.directory)
return projects.find( return projects.find(
(project) => (project) =>
pathKey(project.worktree) === directory || pathKey(project.worktree) === directory || project.sandboxes?.some((sandbox) => pathKey(sandbox) === directory),
project.sandboxes?.some((sandbox) => pathKey(sandbox) === directory),
) )
} }

View File

@@ -1255,11 +1255,7 @@ export function MessageTimeline(props: {
}} }}
> >
<Show when={workingStatus() !== "hidden" && settings.general.showSessionProgressBar()}> <Show when={workingStatus() !== "hidden" && settings.general.showSessionProgressBar()}>
<div <div data-component="session-progress" data-state={workingStatus()} aria-hidden="true">
data-component="session-progress"
data-state={workingStatus()}
aria-hidden="true"
>
<div <div
data-component="session-progress-bar" data-component="session-progress-bar"
style={{ style={{

View File

@@ -281,4 +281,4 @@
--color-v2-state-bg-info: var(--v2-state-bg-info); --color-v2-state-bg-info: var(--v2-state-bg-info);
--color-v2-state-fg-info: var(--v2-state-fg-info); --color-v2-state-fg-info: var(--v2-state-fg-info);
--color-v2-state-border-info: var(--v2-state-border-info); --color-v2-state-border-info: var(--v2-state-border-info);
} }

View File

@@ -59,7 +59,10 @@ function ensureSprite() {
svg.style.position = "absolute" svg.style.position = "absolute"
svg.style.overflow = "hidden" svg.style.overflow = "hidden"
svg.innerHTML = Object.entries(icons) svg.innerHTML = Object.entries(icons)
.map(([name, icon]) => `<symbol id="${symbol(name as keyof typeof icons)}" viewBox="${icon.viewBox}">${icon.body}</symbol>`) .map(
([name, icon]) =>
`<symbol id="${symbol(name as keyof typeof icons)}" viewBox="${icon.viewBox}">${icon.body}</symbol>`,
)
.join("") .join("")
document.body.insertBefore(svg, document.body.firstChild) document.body.insertBefore(svg, document.body.firstChild)
spriteInserted = true spriteInserted = true