mirror of
https://github.com/jparkerweb/plan2code.git
synced 2026-11-16 04:45:33 -08:00
Label the collapsed desktop app terminal panel's button View Agent Terminal instead of Expand
AI Assisted
This commit is contained in:
1 parent
d5d8278cfe
commit
528fcaaa8e
5 files changed
+10
-10
No files matched your search
@@ -174,9 +174,9 @@ test("with nothing saved yet, app.js starts the terminal docked right via defaul
|
||||
});
|
||||
|
||||
// Docked right and collapsed, the terminal panel is a 28px-wide strip: the
|
||||
// Expand/Collapse button's text used to run horizontally off the edge of it
|
||||
// collapse button's text used to run horizontally off the edge of it
|
||||
// (visible, unreadable). It now reads top-to-bottom instead.
|
||||
test("docked right and collapsed, the terminal panel's Expand button fits the strip instead of overflowing it", async (t) => {
|
||||
test("docked right and collapsed, the terminal panel's View Agent Terminal button fits the strip instead of overflowing it", async (t) => {
|
||||
if (!findBrowser()) return t.skip("no Chrome or Edge installed");
|
||||
const browser = await launchBrowser();
|
||||
try {
|
||||
@@ -186,7 +186,7 @@ test("docked right and collapsed, the terminal panel's Expand button fits the st
|
||||
await page.evaluate(() => {
|
||||
document.getElementById("workspace").classList.add("dock-right");
|
||||
document.getElementById("term-panel").classList.add("collapsed");
|
||||
document.getElementById("term-collapse").textContent = "Expand";
|
||||
document.getElementById("term-collapse").textContent = "View Agent Terminal";
|
||||
});
|
||||
const fit = await page.evaluate(() => {
|
||||
const el = document.getElementById("term-collapse");
|
||||
|
||||
Reference in new issue
Block a user