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.

Recording: Stop is a neutral button with a purple icon

Eric Brownrout4c4f4f75d53a
diff --git a/app/e2e/callControls.spec.ts b/app/e2e/callControls.spec.ts
index 72e77eba..9c1cff49 100644
--- a/app/e2e/callControls.spec.ts
+++ b/app/e2e/callControls.spec.ts
@@ -34,8 +34,9 @@ test('paused recording controls fit the minimum window and keep focus inside eac
await expect(page.getByTestId('note-pause')).toHaveAccessibleName('Resume recording')
await page.keyboard.press('Tab')
await expect(page.getByTestId('note-stop')).toBeFocused()
- await expect(page.getByTestId('note-stop')).toHaveCSS('background-color', 'rgb(111, 0, 255)')
- await expect(page.getByTestId('note-stop').locator('svg')).toHaveCount(0)
+ await expect(page.getByTestId('note-stop')).toHaveCSS('background-color', 'rgba(0, 0, 0, 0)')
+ await expect(page.getByTestId('note-stop')).toHaveCSS('outline-offset', '-2px')
+ expect(await page.getByTestId('note-stop').evaluate(el => getComputedStyle(el, '::before').width)).toBe('8px')
for (const button of await buttons.all()) {
expect(await button.evaluate(el => el.scrollWidth <= el.clientWidth)).toBe(true)
}
diff --git a/app/e2e/noteFooter.spec.ts b/app/e2e/noteFooter.spec.ts
index da04b0a6..3149f457 100644
--- a/app/e2e/noteFooter.spec.ts
+++ b/app/e2e/noteFooter.spec.ts
@@ -43,14 +43,14 @@ test('recording controls stay in the header and Ask lives in the footer with sta
gap: bar.top - reading.bottom, masked: [el, el.parentElement!].some(node => getComputedStyle(node).maskImage !== 'none') }
})
expect(edges).toEqual({ left: 0, right: 0, bottom: 0, gap: 0, masked: false })
- const finishStyle = await page.getByTestId('note-stop').evaluate(el => ({ background: getComputedStyle(el).backgroundColor, color: getComputedStyle(el).color }))
- expect(finishStyle.background).not.toBe(await page.getByTestId('note-pause').evaluate(el => getComputedStyle(el).backgroundColor))
- expect(finishStyle.color).not.toBe(finishStyle.background)
+ const stopStyle = await page.getByTestId('note-stop').evaluate(el => ({ background: getComputedStyle(el).backgroundColor, color: getComputedStyle(el).color }))
+ expect(stopStyle.background).toBe(await page.getByTestId('note-pause').evaluate(el => getComputedStyle(el).backgroundColor))
+ expect(stopStyle.color).not.toBe(stopStyle.background)
const groupBox = (await controls.boundingBox())!, capBox = (await page.getByTestId('note-stop').boundingBox())!
- expect(capBox.y).toBe(groupBox.y)
- expect(capBox.height).toBe(groupBox.height)
+ expect(capBox.y).toBe(groupBox.y + 1)
+ expect(capBox.height).toBe(groupBox.height - 2)
const rtl = await controls.evaluate(el => getComputedStyle(el).direction === 'rtl')
- expect(rtl ? capBox.x : capBox.x + capBox.width).toBe(rtl ? groupBox.x : groupBox.x + groupBox.width)
+ expect(rtl ? capBox.x : capBox.x + capBox.width).toBe(rtl ? groupBox.x + 1 : groupBox.x + groupBox.width - 1)
for (const dir of ['ltr', 'rtl']) {
await page.evaluate((direction) => document.documentElement.dir = direction, dir)
await page.setViewportSize({ width: 720, height: 520 })
diff --git a/app/src/renderer/src/styles.css b/app/src/renderer/src/styles.css
index d6ba85bc..40de2515 100644
--- a/app/src/renderer/src/styles.css
+++ b/app/src/renderer/src/styles.css
@@ -588,9 +588,8 @@ input::selection, textarea::selection, .note-prose ::selection { background: var
.note-recording-group[data-recording=true] .note-record-action:last-child { border-start-end-radius:6px;border-end-end-radius:6px; }
.note-recording-group[data-recording=true] .note-record-action:hover:not(:disabled) { background:var(--control-hover);color:var(--ink); }
.note-recording-group[data-recording=true] .note-record-action:active:not(:disabled) { background:var(--control-pressed); }
-.note-recording-group[data-recording=true] .note-finish-action { height:30px;margin-block:-1px;margin-inline-end:-1px;min-width:68px;background:var(--primary);color:#FFFFFF; }
-.note-recording-group[data-recording=true] .note-finish-action:hover:not(:disabled),.note-recording-group[data-recording=true] .note-finish-action:active:not(:disabled) { background:var(--primary-hover);color:#FFFFFF; }
-.note-recording-group[data-recording=true] .note-finish-action:focus-visible { outline-color:#FFFFFF;outline-offset:-3px; }
+.note-recording-group[data-recording=true] .note-finish-action { --note-stop-icon:var(--accent);color:var(--ink); }
+.note-finish-action::before { content:"";width:8px;height:8px;border-radius:2px;background:var(--note-stop-icon); }
.note-finishing { display:flex;align-items:center;height:30px;padding-inline:10px;border:1px solid var(--line);border-radius:6px;color:var(--muted);font-size:12px; }
.workspace .note-record-action:focus-visible { outline-offset:-2px; }