M4.5: branch status-bar item and branches popup
The status bar shows the current branch (short hash when detached). Its popup lists local, then remote branches with a filter and New branch; checkout runs flushDirty first and toasts git's refusal. Commands vcs.branches, vcs.newBranch and vcs.checkout. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
b3642e53ea
commit
149a6c7049
18 changed files with 1585 additions and 17 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
**Stage: pre-alpha (M3 done: MVP feature-complete)** · next: hardening and Git (M4); alpha when the six core workflows work end to end (see [docs/roadmap.md › Alpha gate](docs/roadmap.md#alpha-gate))
|
||||
|
||||
> **Last reviewed:** 2026-10-22 · **Last updated:** 2026-10-26 · **Change:** minor (M4.3: diff viewer, Git 8%) · **Target:** JetBrains PhpStorm 2026.x, described from public documentation only
|
||||
> **Last reviewed:** 2026-10-22 · **Last updated:** 2026-10-26 · **Change:** minor (M4.5: branch widget and popup, Git 9%) · **Target:** JetBrains PhpStorm 2026.x, described from public documentation only
|
||||
|
||||
Lutra is a clean-room, open-source PHP IDE with a Rust core and a Tauri + Vue interface, targeting the PhpStorm workflow. Agents can drive all of it over MCP, the `lutra` CLI and a JSON control channel. This page is the summary; the evidence is in [`docs/target-app-parity.md`](docs/target-app-parity.md) and the work list in [`docs/gaps.md`](docs/gaps.md).
|
||||
|
||||
|
|
@ -13,7 +13,7 @@ Lutra is a clean-room, open-source PHP IDE with a Rust core and a Tauri + Vue in
|
|||
| | Value | Kind |
|
||||
|---|---|---|
|
||||
| **Feature breadth** (PhpStorm's actions, tool windows, languages, integrations exist) | **~21%** (32 of 155 feature units of the public PhpStorm help have at least partial support) | estimated |
|
||||
| **Feature depth** (weighted by use, scored by behaviour) | **~5.8%** (Editor core 11% × weight 12, Navigation 13% × weight 10, Code completion 5% × weight 10, Inspections 5% × weight 8, Refactoring 3% × weight 7, Project view 8% × weight 6, Search and replace 8% × weight 6, Terminal 15% × weight 3, Git 8% × weight 8, Settings 8% × weight 1, of 101 = 586/101) | estimated |
|
||||
| **Feature depth** (weighted by use, scored by behaviour) | **~5.9%** (Editor core 11% × weight 12, Navigation 13% × weight 10, Code completion 5% × weight 10, Inspections 5% × weight 8, Refactoring 3% × weight 7, Project view 8% × weight 6, Search and replace 8% × weight 6, Terminal 15% × weight 3, Git 9% × weight 8, Settings 8% × weight 1, of 101 = 586/101) | estimated |
|
||||
| **MVP (M1–M3)** | **done** in ~26 h of agent time (M1 ~5.6 h, M2 ~6.1 h, M3 ~14 h, measured); was ~190 h before calibration | measured (factor per cycle: C1 0.07, C2 0.10, C3 0.14, C4 0.17) |
|
||||
| **To full parity** | **~520 h** at the current factor of ~0.18 (range 300–3,300 h; the factor has risen each cycle, and deep areas such as type inference and inspections have no data yet) | estimated |
|
||||
|
||||
|
|
@ -49,7 +49,7 @@ Stability 8%: no-panic lints, the engine guard, a fuzzed control protocol and a
|
|||
| Inspections and quick-fixes | 4% (est.) | ~290 |
|
||||
| Refactoring | 3% (est.) | ~244 |
|
||||
| Code style and formatting | 0% | ~120 |
|
||||
| Version control (Git) | 8% (est.) | ~128 |
|
||||
| Version control (Git) | 9% (est.) | ~122 |
|
||||
| Terminal | 15% (est.) | ~26 |
|
||||
| Run configurations | 0% | ~50 |
|
||||
| Debugger (Xdebug) | 0% | ~120 |
|
||||
|
|
@ -75,6 +75,7 @@ All hours estimated. Weights, evidence and the missing items per area: [target-a
|
|||
|
||||
| Date | What landed |
|
||||
|---|---|
|
||||
| 2026-10-26 | M4.5: the status bar shows the current Git branch (or the commit when HEAD is detached). Click it, or choose Git › Branches…, to see local and remote branches with a filter field; pick one to switch to it. Lutra saves your open files first, and if Git refuses (your changes would be overwritten) the message says so. "New branch…" creates a branch from where you are and switches to it. |
|
||||
| 2026-10-26 | M4.3: see what you changed side by side. Double-click a file in the Changes tab, right-click it in the project tree, or press `Mod+Alt+Shift+D`, and a "Diff: <name>" tab shows the staged version (or the last commit) on the left and your file on the right, where you can keep editing. `Alt+Shift+]` and `Alt+Shift+[` jump between changes; binary and very large files get a short notice instead. |
|
||||
| 2026-10-25 | M4.4: Lutra shows what you changed. A coloured bar in the gutter marks lines you added or edited since the staged version, and a small notch marks deleted lines; it follows your typing. File names in the project tree and the tabs are coloured by their Git status: new, modified, deleted, untracked, conflicted and ignored. |
|
||||
| 2026-10-25 | M4.2: a Changes tab for Git (`Mod+Alt+Shift+G`, menu Git › Changes) lists staged, changed and untracked files. Tick a file or a whole group to stage it, untick to unstage, write a message and press Commit (or Ctrl+Enter); Amend rewrites the last commit. Lutra saves your open files first, and the toast shows the new commit's short hash. Double-click opens the file (the diff viewer follows). |
|
||||
|
|
@ -104,6 +105,7 @@ All hours estimated. Weights, evidence and the missing items per area: [target-a
|
|||
|
||||
| Date | Change | Summary |
|
||||
|---|---|---|
|
||||
| 2026-10-26 | minor | M4.5: branch widget and popup; Git 8% → 9% (est.), hours ~128 → ~122, feature depth ~5.8% → ~5.9% (586 → 594 of 101), progress log |
|
||||
| 2026-10-26 | minor | M4.3: diff viewer; Git 6% → 8% (est.), hours ~136 → ~128, feature depth ~5.6% → ~5.8%, progress log |
|
||||
| 2026-10-25 | minor | M4.4: gutter change markers and status colours; Git 4% → 6% (est.), hours ~138 → ~136, feature depth ~5.4% → ~5.6%, progress log |
|
||||
| 2026-10-25 | minor | M4.2: Changes tool window; Git 0% → 4% (est.), feature depth ~5.1% → ~5.4%, progress log |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue