Skip to content

Commit 4cb3a4a

Browse files
committed
fix(ultracode): (x) Close fully hides the Ultracode Agents panel
closeUltracodeAgentsPanel() only removed `open`, leaving the drawer in its collapsed peek state (header strip still visible) — so (x) looked like a no-op. Now also adds `hidden` (display:none), mirroring closeSubagentsPanel; does NOT flip showUltracodeAgents (that gates the watcher + floating windows). Verified in a real browser (post-close computed display:none). Bumps 1.1.4 -> 1.1.5. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent b6531cb commit 4cb3a4a

5 files changed

Lines changed: 20 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# aicodeman
22

3+
## 1.1.5
4+
5+
### Patch Changes
6+
7+
- Fix: the Ultracode Agents panel's (×) Close button now fully hides the panel.
8+
9+
`closeUltracodeAgentsPanel()` only removed the `open` class, which drops the bottom-docked drawer to its collapsed _peek_ state (the 36px header strip stays visible) rather than closing it — so clicking (×) looked like it did nothing. It now also adds the `hidden` class (`display:none`), mirroring `closeSubagentsPanel()`. It deliberately does NOT flip the `showUltracodeAgents` setting (that also gates the run watcher and floating windows); the header launcher button reopens the panel. Verified in a real browser: after (×) the panel computes `display:none`.
10+
311
## 1.1.4
412

513
### Patch Changes

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ When user says "COM":
5656
5757
CI runs `npm run check:lockfile` on every push/PR, so lockfile drift fails the build even if the `version-packages` script is bypassed.
5858
59-
**Version**: 1.1.4 (must match `package.json`)
59+
**Version**: 1.1.5 (must match `package.json`)
6060
6161
## Project Overview
6262

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "aicodeman",
3-
"version": "1.1.4",
3+
"version": "1.1.5",
44
"description": "Mission control for AI coding agents - run 20 autonomous agents with real-time monitoring and session persistence",
55
"type": "module",
66
"main": "dist/index.js",

src/web/public/ultracode-panel.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,15 @@ Object.assign(CodemanApp.prototype, {
7878
if (panel.classList.contains('open')) this.renderUltracodeAgentsPanel();
7979
},
8080
closeUltracodeAgentsPanel() {
81+
// The X must FULLY hide the panel. Removing only `open` drops it to the
82+
// collapsed peek state (header strip still visible), so add `hidden`
83+
// (display:none) too — mirrors closeSubagentsPanel. Not the showUltracodeAgents
84+
// setting: that also gates the watcher + floating windows; the launcher reopens.
8185
const panel = document.getElementById('ultracodeAgentsPanel');
82-
if (panel) panel.classList.remove('open');
86+
if (panel) {
87+
panel.classList.remove('open');
88+
panel.classList.add('hidden');
89+
}
8390
},
8491

8592
// ----- Selection -----

0 commit comments

Comments
 (0)