Skip to content

Private AI meeting notes that stay on your computer. No meeting bot. Free and open source for Mac, Windows and Linux. An alternative to Granola, Otter and Fireflies.

attendee rows show their rename and remove buttons on hover or keyboard focus, not on the focus the card takes when it opens

Eric Brownrout27ef978a4b7c
diff --git a/app/e2e/peopleCalendar.spec.ts b/app/e2e/peopleCalendar.spec.ts
index 68f70da7..15b07050 100644
--- a/app/e2e/peopleCalendar.spec.ts
+++ b/app/e2e/peopleCalendar.spec.ts
@@ -74,7 +74,11 @@ for (const theme of ['light', 'dark'] as const) test(`split metadata popovers st
const people = page.getByTestId('people-card')
await expect(people.getByTestId('people-email')).toHaveText('[email protected]')
await expect(people).not.toContainText('Planning with Jamie')
+ // a mouse-opened card shows no row actions until hovered or reached by keyboard
+ await expect(people.getByTestId('people-edit')).toHaveCSS('opacity', '0')
await people.getByTestId('people-name').focus()
+ await page.keyboard.press('Tab')
+ await expect(people.getByTestId('people-edit')).toBeFocused()
await expect(people.getByTestId('people-edit')).toHaveCSS('opacity', '1')
const bounds = await people.boundingBox(), note = await page.getByTestId('note').boundingBox()
expect(bounds!.y + bounds!.height).toBeLessThanOrEqual(note!.y + note!.height)
diff --git a/app/src/renderer/src/styles.css b/app/src/renderer/src/styles.css
index b2fabee8..570f3340 100644
--- a/app/src/renderer/src/styles.css
+++ b/app/src/renderer/src/styles.css
@@ -228,7 +228,8 @@ html.widget { --pill:#232326;--pill-ink:#F7F7FA;--accent:#B780FF;--pill-accent:v
.share-btn:hover { background:var(--control-hover); }
.person-remove { opacity: 0; }
.person-row:hover { background: color-mix(in srgb, var(--line) 45%, transparent); }
-.person-row:hover .person-remove, .person-row:focus-within .person-remove { opacity: 1; }
+/* keyboard focus shows a row's actions; the focus the card takes when it opens doesn't, so only the hovered row shows them */
+.person-row:hover .person-remove, .person-row:has(:focus-visible) .person-remove { opacity: 1; }
.menu-entry { transform-origin: top right; }
/* Menus share the floating surface in each theme. */
.menu-entry[role="menu"] { color:var(--ink);border-color:var(--line);border-radius:9px;padding:5px;background:var(--float);box-shadow:var(--shadow); }