From 49619f88f0028d0d8190cdfad5c6dceb5ae45f7d Mon Sep 17 00:00:00 2001 From: Justin Parker Date: Sat, 7 Nov 2026 12:23:45 -0800 Subject: [PATCH] Fix the agent setup page's Back button, scrolling and Install page link, and release 3.0.4 AI Assisted --- CHANGELOG.md | 8 +++++ README.md | 2 +- package.json | 2 +- plan2code-app/Cargo.lock | 4 +-- plan2code-app/fake-agent/Cargo.toml | 2 +- plan2code-app/package-lock.json | 4 +-- plan2code-app/package.json | 2 +- plan2code-app/src-tauri/Cargo.toml | 2 +- plan2code-app/src-tauri/tauri.conf.json | 2 +- plan2code-app/ui/index.html | 9 ++---- scripts/test-web-console-page-setup.mjs | 41 ++++++++++++++++++++++++- src/web-console/public/screens/core.js | 8 +++-- src/web-console/public/styles/shell.css | 13 ++++++++ version.json | 4 +-- 14 files changed, 81 insertions(+), 22 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1babd24..6cce8d9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,14 @@ All notable changes to Plan2Code will be documented in this file. +## v3.0.4 + +### ๐Ÿ› Fixed + +- **desktop app**: the agent setup page's **Back** button now sits in the app's top bar instead of floating over the page, where it covered the settings and help icons. +- **web console**: the agent setup page's middle pane now scrolls, so the agent options below the fold (the rest of the list and the templates) can be reached. The list used to be cut off with no scrollbar. +- **web console**: the **Install page** link on the agent setup page now opens in your default browser inside the desktop app. It did nothing there, because the page was not told it was running in the app. + ## v3.0.3 ### ๐Ÿ› Fixed diff --git a/README.md b/README.md index 144a54b..7d90052 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ the next engineer all start from the same specs. One command opens it, every step is a card, and the terminal is always there if you prefer it. -Version 3.0.3 ยท MIT ยท ๐Ÿ“– [plan2code.jparkerweb.com](https://plan2code.jparkerweb.com) +Version 3.0.4 ยท MIT ยท ๐Ÿ“– [plan2code.jparkerweb.com](https://plan2code.jparkerweb.com) --- diff --git a/package.json b/package.json index d16f95f..22afa3d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "plan2code", - "version": "3.0.3", + "version": "3.0.4", "private": true, "bin": { "plan2code-install": "./install.js" diff --git a/plan2code-app/Cargo.lock b/plan2code-app/Cargo.lock index cb7daf7..3c1b864 100644 --- a/plan2code-app/Cargo.lock +++ b/plan2code-app/Cargo.lock @@ -757,7 +757,7 @@ dependencies = [ [[package]] name = "fake-agent" -version = "3.0.3" +version = "3.0.4" dependencies = [ "serde_json", "terminal_size", @@ -2371,7 +2371,7 @@ checksum = "f6b464fbc74e149a392436b17d523f769e057cb6877f6a5c4618bc6f11800548" [[package]] name = "plan2code-app" -version = "3.0.3" +version = "3.0.4" dependencies = [ "chrono", "libc", diff --git a/plan2code-app/fake-agent/Cargo.toml b/plan2code-app/fake-agent/Cargo.toml index 425d8cf..db62051 100644 --- a/plan2code-app/fake-agent/Cargo.toml +++ b/plan2code-app/fake-agent/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "fake-agent" -version = "3.0.3" +version = "3.0.4" description = "A stand-in agent program for the Plan2Code app's tests" edition = "2021" publish = false diff --git a/plan2code-app/package-lock.json b/plan2code-app/package-lock.json index 51c318e..881059e 100644 --- a/plan2code-app/package-lock.json +++ b/plan2code-app/package-lock.json @@ -1,12 +1,12 @@ { "name": "plan2code-app", - "version": "3.0.3", + "version": "3.0.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "plan2code-app", - "version": "3.0.3", + "version": "3.0.4", "dependencies": { "@tauri-apps/api": "2.12.4", "@xterm/addon-fit": "0.11.0", diff --git a/plan2code-app/package.json b/plan2code-app/package.json index cb406cf..5ef7efe 100644 --- a/plan2code-app/package.json +++ b/plan2code-app/package.json @@ -1,6 +1,6 @@ { "name": "plan2code-app", - "version": "3.0.3", + "version": "3.0.4", "private": true, "description": "Plan2Code desktop app (Tauri). Separate from the repo root so the root and the web console stay dependency-free.", "scripts": { diff --git a/plan2code-app/src-tauri/Cargo.toml b/plan2code-app/src-tauri/Cargo.toml index 468525a..fb61c36 100644 --- a/plan2code-app/src-tauri/Cargo.toml +++ b/plan2code-app/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "plan2code-app" -version = "3.0.3" +version = "3.0.4" description = "Plan2Code desktop app" edition = "2021" publish = false diff --git a/plan2code-app/src-tauri/tauri.conf.json b/plan2code-app/src-tauri/tauri.conf.json index 379b676..71ace5a 100644 --- a/plan2code-app/src-tauri/tauri.conf.json +++ b/plan2code-app/src-tauri/tauri.conf.json @@ -1,7 +1,7 @@ { "$schema": "https://schema.tauri.app/config/2", "productName": "Plan2Code", - "version": "3.0.3", + "version": "3.0.4", "identifier": "com.plan2code.desktop", "build": { "frontendDist": "../ui", diff --git a/plan2code-app/ui/index.html b/plan2code-app/ui/index.html index feefb77..995ab72 100644 --- a/plan2code-app/ui/index.html +++ b/plan2code-app/ui/index.html @@ -193,11 +193,7 @@ /* Set up an agent, shown wherever the app says "no agent". */ .setup-agent-btn { font: inherit; font-size: 12px; margin-top: 4px; padding: 3px 10px; cursor: pointer; background: var(--accent); color: var(--accent-ink); border: 1px solid var(--accent); border-radius: 4px; } - /* The way out of the setup page, over its frame. */ - #setup-close { position: absolute; top: 10px; right: 10px; z-index: 2; font: inherit; font-size: 12px; - padding: 4px 10px; border-radius: 6px; cursor: pointer; border: 1px solid var(--rule-2); - background: var(--panel); color: var(--ink); } - #setup-close:hover { background: var(--panel-2); } + /* The way out of the setup page: a bar button, so it never covers the page. */ #setup-close[hidden] { display: none; } #launch-missing code { color: #ddd; } #launch-agents-warning { margin: 0; font-size: 12px; color: #d7ba7d; white-space: pre-line; } @@ -291,6 +287,8 @@ No agent + +