Rename WORKTREES to WORKSPACES in sidebar (#576)

* chore: rename worktrees to workspaces in sidebar

* test: document max-lines exception for worktree slice tests
This commit is contained in:
Neil
2026-04-12 23:01:41 -07:00
committed by GitHub
parent be5f0c3cee
commit 4a526c0d7d
2 changed files with 5 additions and 2 deletions
@@ -47,7 +47,7 @@ const SidebarHeader = React.memo(function SidebarHeader() {
return (
<div className="flex items-center justify-between px-4 pt-3 pb-1">
<span className="text-[11px] font-semibold uppercase tracking-wider text-muted-foreground select-none">
Worktrees
Workspaces
</span>
<div className="flex items-center gap-1.5 shrink-0">
<DropdownMenu>
@@ -1,4 +1,7 @@
/* eslint-disable max-lines */
/* eslint-disable max-lines --
* Why: this slice test keeps the worktree store scenarios in one file so the
* shared mock store setup stays consistent across closely related behaviors.
*/
import { beforeEach, describe, expect, it, vi } from 'vitest'
import { create } from 'zustand'
import type { AppState } from '../types'