Skip to content

armgit / Orkas

Public Imported from GitHub
0

Orkas is an open-source (MIT), local-first AI team for your desktop: a Commander turns your goal into to-dos and coordinates 16 built-in specialist agents plus Claude Code, Codex, OpenCode, OpenClaw and Hermes, with projects, scheduled automations and connectors. Free app for macOS & Windows; built-in models or your own keys.

Fix saved app card menu visibility

wyt3fe842c2cd7d
diff --git a/src/renderer/style.css b/src/renderer/style.css
index 6d411c62..5ad37e2b 100644
--- a/src/renderer/style.css
+++ b/src/renderer/style.css
@@ -8742,9 +8742,11 @@ body.is-task-side-panel-resizing * { cursor: col-resize !important; }
overflow-wrap: anywhere;
}
.app-card-more {
- flex: 0 0 auto;
- width: 24px;
- height: 24px;
+ position: absolute;
+ top: 12px;
+ right: 12px;
+ width: 22px;
+ height: 22px;
padding: 0;
border: 0;
background: transparent;
@@ -8754,7 +8756,11 @@ body.is-task-side-panel-resizing * { cursor: col-resize !important; }
display: inline-flex;
align-items: center;
justify-content: center;
+ visibility: hidden;
}
+.app-card:hover .app-card-more,
+.app-card:focus-within .app-card-more,
+.app-card.is-menu-open .app-card-more { visibility: visible; }
.app-card-more:hover { background: var(--surface-2); color: var(--text); }
.app-card-more:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.app-card-more-icon { width: 17px; height: 17px; }
diff --git a/test/e2e/saved_apps_e2e_lifecycle.spec.ts b/test/e2e/saved_apps_e2e_lifecycle.spec.ts
index e93245d1..6ebde601 100644
--- a/test/e2e/saved_apps_e2e_lifecycle.spec.ts
+++ b/test/e2e/saved_apps_e2e_lifecycle.spec.ts
@@ -234,6 +234,20 @@ test.describe('My Apps', () => {
await expect(card).toContainText('E2E Saved App');
await expect(page.locator('#apps-page-header-count')).toHaveText('1');
+ const moreButton = card.locator('[data-app-more]');
+ await expect(moreButton).toHaveCSS('position', 'absolute');
+ await expect(moreButton).toHaveCSS('top', '12px');
+ await expect(moreButton).toHaveCSS('right', '12px');
+ await expect(moreButton).toBeHidden();
+ await card.hover();
+ await expect(moreButton).toBeVisible();
+ await page.locator('.apps-page-header-title').hover();
+ await expect(moreButton).toBeHidden();
+ await card.focus();
+ await expect(moreButton).toBeVisible();
+ await page.locator('#apps-create-btn').focus();
+ await expect(moreButton).toBeHidden();
+
const opened = orkas.electronApp!.waitForEvent('window');
await card.click();
const preview = await opened;