nandi/oripublic Fork 0
main
Commits
Clone
git clone https://git.rickub.com/nandi/ori.git
git clone ssh://git@rickub.com/nandi/ori.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

forked from bots-garden/ori

0015-the-files-explorer-panel-needs-a-resizable-panel.yaml · 25 lines · 1.2 KBYAML Blame HistoryRaw
✨ Workspace panel, selectors, previews, desktop app, sandbox template, resizable file tree, light/dark theme 76d62ac k33g yesterday1# Managed by IssueSpec. Hand edits are welcome; keep the schema valid.
2id: 15
3title: The files explorer panel needs a resizable panel
4state: closed
5author:
6 name: k33g
7 email: ph.charriere@gmail.com
8createdAt: 2026-09-17T22:35:25.296Z
9updatedAt: 2026-09-17T23:15:00.000Z
10labels: []
11body: |
12 The file tree column of the workspace panel had a fixed width (14rem). It is now resizable.
13
14 Implemented (2026-09-17):
15 - Store: `fileTreeWidth` (px) in `ui/src/workspace.ts` with `setFileTreeWidth` /
16 `resetFileTreeWidth` / `clampFileTreeWidth`, bounded 120–800 px (default 224), remembered
17 in localStorage under `ori.fileTreeWidth` (guarded reads/writes, default on any failure).
18 - UI: `ui/src/components/ResizeHandle.tsx` — ARIA separator between the tree and the tabs;
19 pointer drag with capture, ←/→ (16 px), Home/End (bounds), double-click resets.
20 `Workspace.tsx` applies the width through the `--filetree-width` CSS custom property;
21 `FileTree` is unchanged.
22 - Tests: +7 store, +7 ResizeHandle, +2 Workspace (118 vitest total). Quality gate PASS.
23 - Docs: how-to `use-the-workspace` and architecture explanation (EN + FR).
24tasks: []
25comments: []