ca046a3876a59455c04ffc9941fd7c33355146fd
`WorkspaceLayout` and the `createContext` default each spelled out the same eleven fields — every interaction a panel can start, switched off. Two hand-written copies of one list is a list you fall behind: adding a field to the context type only errors at the call site if it is required, and both copies have to be found. Named it. `inertInteraction` is what "this tree cannot be rearranged" means, and both places spread it. `cwd` and `root` stay out of it deliberately — they say where the workspace is rather than what can be done to it, and the inert renderer has no answer for `root`: its consumers only read it when `cwd` is scoped, which no caller makes it.
Description
No description provided
51 MiB
Languages
TypeScript
84.6%
CSS
6.7%
Shell
5%
JavaScript
3.7%