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:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user