fmt(js): npm run fix on merge (#86820)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
hermes-seaeye[bot]
2026-08-15 08:27:29 +00:00
committed by GitHub
parent eb4f72f914
commit f0c222c73d
2 changed files with 53 additions and 54 deletions
+53 -53
View File
@@ -1686,62 +1686,62 @@ export function ChatSidebar({
</Tip>
)}
{inProject && enteredProject ? (
<div className="group/workspace flex shrink-0 items-center gap-0.5">
{enteredProject.path && <StartWorkButton repoPath={enteredProject.path} />}
{/* Home has no folder and no record to rename, theme, or delete. */}
{!enteredProject.isNoProject && (
<ProjectMenu
isActive={enteredProject.id === activeProjectId}
onExitScope={exitProjectScope}
project={enteredProject}
scoped
/>
)}
<div className="grid size-6 place-items-center">
<Tip label={s.showProjects}>
<Button
aria-label={s.showProjects}
className={HEADER_NAV_BTN}
onClick={event => {
event.stopPropagation()
exitProjectScope()
}}
size="icon-xs"
variant="ghost"
>
<Codicon name="list-unordered" size="0.75rem" />
</Button>
</Tip>
<div className="group/workspace flex shrink-0 items-center gap-0.5">
{enteredProject.path && <StartWorkButton repoPath={enteredProject.path} />}
{/* Home has no folder and no record to rename, theme, or delete. */}
{!enteredProject.isNoProject && (
<ProjectMenu
isActive={enteredProject.id === activeProjectId}
onExitScope={exitProjectScope}
project={enteredProject}
scoped
/>
)}
<div className="grid size-6 place-items-center">
<Tip label={s.showProjects}>
<Button
aria-label={s.showProjects}
className={HEADER_NAV_BTN}
onClick={event => {
event.stopPropagation()
exitProjectScope()
}}
size="icon-xs"
variant="ghost"
>
<Codicon name="list-unordered" size="0.75rem" />
</Button>
</Tip>
</div>
</div>
</div>
) : (
<div className="flex shrink-0 items-center gap-0.5">
{!showAllProfiles ? (
<Tip label={agentsGrouped ? s.projects.newButton : s.nav['new-session']}>
<Button
aria-label={agentsGrouped ? s.projects.newButton : s.nav['new-session']}
className={HEADER_ACTION_BTN}
onClick={event => {
event.stopPropagation()
) : (
<div className="flex shrink-0 items-center gap-0.5">
{!showAllProfiles ? (
<Tip label={agentsGrouped ? s.projects.newButton : s.nav['new-session']}>
<Button
aria-label={agentsGrouped ? s.projects.newButton : s.nav['new-session']}
className={HEADER_ACTION_BTN}
onClick={event => {
event.stopPropagation()
if (agentsGrouped) {
openProjectCreate()
} else {
onNewSessionInWorkspace(null)
}
}}
size="icon-xs"
variant="ghost"
>
<Codicon name="add" size="0.75rem" />
</Button>
</Tip>
) : null}
<div className="grid size-6 place-items-center">
<SidebarFilterMenu className={HEADER_NAV_BTN} />
if (agentsGrouped) {
openProjectCreate()
} else {
onNewSessionInWorkspace(null)
}
}}
size="icon-xs"
variant="ghost"
>
<Codicon name="add" size="0.75rem" />
</Button>
</Tip>
) : null}
<div className="grid size-6 place-items-center">
<SidebarFilterMenu className={HEADER_NAV_BTN} />
</div>
</div>
</div>
)}
)}
</>
}
label={sessionsLabel}
-1
View File
@@ -224,7 +224,6 @@ export function markSessionUnreadFinished(storedSessionId: string): void {
/** ACK — the user opened (or is looking at) this session: watermark := its
* current message_count, and any explicit marker is retired. */
function ackSessionRow(row: SessionInfo): void {
const profile = profileKeyForRow(row)
const durableId = sessionPinId(row)