Skip to content

Speakr is a personal, self-hosted web application designed for transcribing audio recordings

Python

Screenshots: private recordings hidden, blurred personal data, healthy webhook, chat placed in its corner

Murtaza Nasir13366a8bec43
diff --git a/docs/assets/images/screenshots/admin-default-prompt.png b/docs/assets/images/screenshots/admin-default-prompt.png
index c51ff79e..9f79e428 100644
Binary files a/docs/assets/images/screenshots/admin-default-prompt.png and b/docs/assets/images/screenshots/admin-default-prompt.png differ
diff --git a/docs/assets/images/screenshots/admin-group-management.png b/docs/assets/images/screenshots/admin-group-management.png
index 3bca17dc..bf115060 100644
Binary files a/docs/assets/images/screenshots/admin-group-management.png and b/docs/assets/images/screenshots/admin-group-management.png differ
diff --git a/docs/assets/images/screenshots/admin-statistics.png b/docs/assets/images/screenshots/admin-statistics.png
index 8c276b58..da8fa650 100644
Binary files a/docs/assets/images/screenshots/admin-statistics.png and b/docs/assets/images/screenshots/admin-statistics.png differ
diff --git a/docs/assets/images/screenshots/admin-system-settings.png b/docs/assets/images/screenshots/admin-system-settings.png
index e3a9ed20..b8760898 100644
Binary files a/docs/assets/images/screenshots/admin-system-settings.png and b/docs/assets/images/screenshots/admin-system-settings.png differ
diff --git a/docs/assets/images/screenshots/admin-token-budgets.png b/docs/assets/images/screenshots/admin-token-budgets.png
index ad8a81af..b543b866 100644
Binary files a/docs/assets/images/screenshots/admin-token-budgets.png and b/docs/assets/images/screenshots/admin-token-budgets.png differ
diff --git a/docs/assets/images/screenshots/admin-user-management.png b/docs/assets/images/screenshots/admin-user-management.png
index 73c4d2b3..2cacda47 100644
Binary files a/docs/assets/images/screenshots/admin-user-management.png and b/docs/assets/images/screenshots/admin-user-management.png differ
diff --git a/docs/assets/images/screenshots/admin-vector-store.png b/docs/assets/images/screenshots/admin-vector-store.png
index 1873fed2..14199b19 100644
Binary files a/docs/assets/images/screenshots/admin-vector-store.png and b/docs/assets/images/screenshots/admin-vector-store.png differ
diff --git a/docs/assets/images/screenshots/auto-name-recognition.png b/docs/assets/images/screenshots/auto-name-recognition.png
index a9327124..a4b2b692 100644
Binary files a/docs/assets/images/screenshots/auto-name-recognition.png and b/docs/assets/images/screenshots/auto-name-recognition.png differ
diff --git a/docs/assets/images/screenshots/chat-docked.png b/docs/assets/images/screenshots/chat-docked.png
index b4e6bc07..0f7314ab 100644
Binary files a/docs/assets/images/screenshots/chat-docked.png and b/docs/assets/images/screenshots/chat-docked.png differ
diff --git a/docs/assets/images/screenshots/custom-summary-prompt.png b/docs/assets/images/screenshots/custom-summary-prompt.png
index 9b0d597e..ebc9b542 100644
Binary files a/docs/assets/images/screenshots/custom-summary-prompt.png and b/docs/assets/images/screenshots/custom-summary-prompt.png differ
diff --git a/docs/assets/images/screenshots/edit-transcript-modal.png b/docs/assets/images/screenshots/edit-transcript-modal.png
index 00e07c47..c01f7d26 100644
Binary files a/docs/assets/images/screenshots/edit-transcript-modal.png and b/docs/assets/images/screenshots/edit-transcript-modal.png differ
diff --git a/docs/assets/images/screenshots/event-extraction.png b/docs/assets/images/screenshots/event-extraction.png
index 92cef6a4..7e655950 100644
Binary files a/docs/assets/images/screenshots/event-extraction.png and b/docs/assets/images/screenshots/event-extraction.png differ
diff --git a/docs/assets/images/screenshots/inquire-agent-activity.png b/docs/assets/images/screenshots/inquire-agent-activity.png
index 04ed86bb..39680d0f 100644
Binary files a/docs/assets/images/screenshots/inquire-agent-activity.png and b/docs/assets/images/screenshots/inquire-agent-activity.png differ
diff --git a/docs/assets/images/screenshots/inquire-privacy-settings.png b/docs/assets/images/screenshots/inquire-privacy-settings.png
index 02d9391f..328a4557 100644
Binary files a/docs/assets/images/screenshots/inquire-privacy-settings.png and b/docs/assets/images/screenshots/inquire-privacy-settings.png differ
diff --git a/docs/assets/images/screenshots/inquire-semantic-search.png b/docs/assets/images/screenshots/inquire-semantic-search.png
index 1e23dade..0db20ef1 100644
Binary files a/docs/assets/images/screenshots/inquire-semantic-search.png and b/docs/assets/images/screenshots/inquire-semantic-search.png differ
diff --git a/docs/assets/images/screenshots/main-view-chat-notes.png b/docs/assets/images/screenshots/main-view-chat-notes.png
index f63745bd..05e0c097 100644
Binary files a/docs/assets/images/screenshots/main-view-chat-notes.png and b/docs/assets/images/screenshots/main-view-chat-notes.png differ
diff --git a/docs/assets/images/screenshots/main-view-notes-tab.png b/docs/assets/images/screenshots/main-view-notes-tab.png
index d5707cb3..0a04cc05 100644
Binary files a/docs/assets/images/screenshots/main-view-notes-tab.png and b/docs/assets/images/screenshots/main-view-notes-tab.png differ
diff --git a/docs/assets/images/screenshots/main-view-player.png b/docs/assets/images/screenshots/main-view-player.png
index a4125b9f..1f3e69ef 100644
Binary files a/docs/assets/images/screenshots/main-view-player.png and b/docs/assets/images/screenshots/main-view-player.png differ
diff --git a/docs/assets/images/screenshots/main-view-stats.png b/docs/assets/images/screenshots/main-view-stats.png
index 1287955e..60801ea2 100644
Binary files a/docs/assets/images/screenshots/main-view-stats.png and b/docs/assets/images/screenshots/main-view-stats.png differ
diff --git a/docs/assets/images/screenshots/main-view-token-usage.png b/docs/assets/images/screenshots/main-view-token-usage.png
index 73f4bfba..9caea9c1 100644
Binary files a/docs/assets/images/screenshots/main-view-token-usage.png and b/docs/assets/images/screenshots/main-view-token-usage.png differ
diff --git a/docs/assets/images/screenshots/main-view-video.png b/docs/assets/images/screenshots/main-view-video.png
index bde56623..ca0894ab 100644
Binary files a/docs/assets/images/screenshots/main-view-video.png and b/docs/assets/images/screenshots/main-view-video.png differ
diff --git a/docs/assets/images/screenshots/main-view.png b/docs/assets/images/screenshots/main-view.png
index 334c3c65..a214aa6a 100644
Binary files a/docs/assets/images/screenshots/main-view.png and b/docs/assets/images/screenshots/main-view.png differ
diff --git a/docs/assets/images/screenshots/mobile-main.png b/docs/assets/images/screenshots/mobile-main.png
index e89f5e1d..867558b7 100644
Binary files a/docs/assets/images/screenshots/mobile-main.png and b/docs/assets/images/screenshots/mobile-main.png differ
diff --git a/docs/assets/images/screenshots/mobile-recording.png b/docs/assets/images/screenshots/mobile-recording.png
index fdb7899b..fbe9ee9b 100644
Binary files a/docs/assets/images/screenshots/mobile-recording.png and b/docs/assets/images/screenshots/mobile-recording.png differ
diff --git a/docs/assets/images/screenshots/mobile-speaker-id.png b/docs/assets/images/screenshots/mobile-speaker-id.png
index 1eb66be3..5be43b0d 100644
Binary files a/docs/assets/images/screenshots/mobile-speaker-id.png and b/docs/assets/images/screenshots/mobile-speaker-id.png differ
diff --git a/docs/assets/images/screenshots/mobile-summary.png b/docs/assets/images/screenshots/mobile-summary.png
index 350f2000..f49ebd26 100644
Binary files a/docs/assets/images/screenshots/mobile-summary.png and b/docs/assets/images/screenshots/mobile-summary.png differ
diff --git a/docs/assets/images/screenshots/mobile-transcript.png b/docs/assets/images/screenshots/mobile-transcript.png
index 9422264e..9aecadf2 100644
Binary files a/docs/assets/images/screenshots/mobile-transcript.png and b/docs/assets/images/screenshots/mobile-transcript.png differ
diff --git a/docs/assets/images/screenshots/mobile-upload.png b/docs/assets/images/screenshots/mobile-upload.png
index ec8a5a75..1881c869 100644
Binary files a/docs/assets/images/screenshots/mobile-upload.png and b/docs/assets/images/screenshots/mobile-upload.png differ
diff --git a/docs/assets/images/screenshots/recording-dual-source.png b/docs/assets/images/screenshots/recording-dual-source.png
index c63ad93b..0e1fbacf 100644
Binary files a/docs/assets/images/screenshots/recording-dual-source.png and b/docs/assets/images/screenshots/recording-dual-source.png differ
diff --git a/docs/assets/images/screenshots/recording-external-microphone-mobile.png b/docs/assets/images/screenshots/recording-external-microphone-mobile.png
index 159b6ae9..a28d96e6 100644
Binary files a/docs/assets/images/screenshots/recording-external-microphone-mobile.png and b/docs/assets/images/screenshots/recording-external-microphone-mobile.png differ
diff --git a/docs/assets/images/screenshots/recording-input-device-picker.png b/docs/assets/images/screenshots/recording-input-device-picker.png
index 5948117c..d509a50b 100644
Binary files a/docs/assets/images/screenshots/recording-input-device-picker.png and b/docs/assets/images/screenshots/recording-input-device-picker.png differ
diff --git a/docs/assets/images/screenshots/recording-live-notes.png b/docs/assets/images/screenshots/recording-live-notes.png
index e364d0f4..f2c19d74 100644
Binary files a/docs/assets/images/screenshots/recording-live-notes.png and b/docs/assets/images/screenshots/recording-live-notes.png differ
diff --git a/docs/assets/images/screenshots/recording-reprocess.png b/docs/assets/images/screenshots/recording-reprocess.png
index a0e1b497..6edb0fb2 100644
Binary files a/docs/assets/images/screenshots/recording-reprocess.png and b/docs/assets/images/screenshots/recording-reprocess.png differ
diff --git a/docs/assets/images/screenshots/recording-single-source.png b/docs/assets/images/screenshots/recording-single-source.png
index 20f7b936..a96e1ca9 100644
Binary files a/docs/assets/images/screenshots/recording-single-source.png and b/docs/assets/images/screenshots/recording-single-source.png differ
diff --git a/docs/assets/images/screenshots/settings-about.png b/docs/assets/images/screenshots/settings-about.png
index 790a51f8..01ab37ac 100644
Binary files a/docs/assets/images/screenshots/settings-about.png and b/docs/assets/images/screenshots/settings-about.png differ
diff --git a/docs/assets/images/screenshots/settings-account-info.png b/docs/assets/images/screenshots/settings-account-info.png
index 92b1f833..b04958f3 100644
Binary files a/docs/assets/images/screenshots/settings-account-info.png and b/docs/assets/images/screenshots/settings-account-info.png differ
diff --git a/docs/assets/images/screenshots/settings-api-tokens.png b/docs/assets/images/screenshots/settings-api-tokens.png
index 4d44403a..d097ced3 100644
Binary files a/docs/assets/images/screenshots/settings-api-tokens.png and b/docs/assets/images/screenshots/settings-api-tokens.png differ
diff --git a/docs/assets/images/screenshots/settings-shared-transcripts.png b/docs/assets/images/screenshots/settings-shared-transcripts.png
index 848a8f07..b0dde64d 100644
Binary files a/docs/assets/images/screenshots/settings-shared-transcripts.png and b/docs/assets/images/screenshots/settings-shared-transcripts.png differ
diff --git a/docs/assets/images/screenshots/settings-speakers-management.png b/docs/assets/images/screenshots/settings-speakers-management.png
index a438fa61..2002b1bc 100644
Binary files a/docs/assets/images/screenshots/settings-speakers-management.png and b/docs/assets/images/screenshots/settings-speakers-management.png differ
diff --git a/docs/assets/images/screenshots/settings-templates.png b/docs/assets/images/screenshots/settings-templates.png
index e3b70d6a..07a63a6d 100644
Binary files a/docs/assets/images/screenshots/settings-templates.png and b/docs/assets/images/screenshots/settings-templates.png differ
diff --git a/docs/assets/images/screenshots/settings-webhooks.png b/docs/assets/images/screenshots/settings-webhooks.png
index 28d24284..0ba64859 100644
Binary files a/docs/assets/images/screenshots/settings-webhooks.png and b/docs/assets/images/screenshots/settings-webhooks.png differ
diff --git a/docs/assets/images/screenshots/share-modal.png b/docs/assets/images/screenshots/share-modal.png
index fc123f6b..459862c4 100644
Binary files a/docs/assets/images/screenshots/share-modal.png and b/docs/assets/images/screenshots/share-modal.png differ
diff --git a/docs/assets/images/screenshots/sidebar-filtering.png b/docs/assets/images/screenshots/sidebar-filtering.png
index e429f711..7248439a 100644
Binary files a/docs/assets/images/screenshots/sidebar-filtering.png and b/docs/assets/images/screenshots/sidebar-filtering.png differ
diff --git a/docs/assets/images/screenshots/speaker-id-voice-profiles.png b/docs/assets/images/screenshots/speaker-id-voice-profiles.png
index 025563d5..f4ad0a17 100644
Binary files a/docs/assets/images/screenshots/speaker-id-voice-profiles.png and b/docs/assets/images/screenshots/speaker-id-voice-profiles.png differ
diff --git a/docs/assets/images/screenshots/summary-next-steps.png b/docs/assets/images/screenshots/summary-next-steps.png
index 5f9ed041..58dab245 100644
Binary files a/docs/assets/images/screenshots/summary-next-steps.png and b/docs/assets/images/screenshots/summary-next-steps.png differ
diff --git a/docs/assets/images/screenshots/summary-reprocess.png b/docs/assets/images/screenshots/summary-reprocess.png
index 828ead56..9190d2fd 100644
Binary files a/docs/assets/images/screenshots/summary-reprocess.png and b/docs/assets/images/screenshots/summary-reprocess.png differ
diff --git a/docs/assets/images/screenshots/system-audio-help-linux.png b/docs/assets/images/screenshots/system-audio-help-linux.png
index fcb6e6c9..7ca515c2 100644
Binary files a/docs/assets/images/screenshots/system-audio-help-linux.png and b/docs/assets/images/screenshots/system-audio-help-linux.png differ
diff --git a/docs/assets/images/screenshots/system-audio-help-macos.png b/docs/assets/images/screenshots/system-audio-help-macos.png
index 771483d9..11f466cd 100644
Binary files a/docs/assets/images/screenshots/system-audio-help-macos.png and b/docs/assets/images/screenshots/system-audio-help-macos.png differ
diff --git a/docs/assets/images/screenshots/system-audio-help-windows.png b/docs/assets/images/screenshots/system-audio-help-windows.png
index 5a96dad2..f50205ff 100644
Binary files a/docs/assets/images/screenshots/system-audio-help-windows.png and b/docs/assets/images/screenshots/system-audio-help-windows.png differ
diff --git a/docs/assets/images/screenshots/tag-prompt-recipe-example.png b/docs/assets/images/screenshots/tag-prompt-recipe-example.png
index f0e4b7a6..bdf280b4 100644
Binary files a/docs/assets/images/screenshots/tag-prompt-recipe-example.png and b/docs/assets/images/screenshots/tag-prompt-recipe-example.png differ
diff --git a/docs/assets/images/screenshots/tag-sharing-options.png b/docs/assets/images/screenshots/tag-sharing-options.png
index 79444f55..5dcea887 100644
Binary files a/docs/assets/images/screenshots/tag-sharing-options.png and b/docs/assets/images/screenshots/tag-sharing-options.png differ
diff --git a/docs/assets/images/screenshots/tag-summary-template-options.png b/docs/assets/images/screenshots/tag-summary-template-options.png
index 915982ef..eeca2a0c 100644
Binary files a/docs/assets/images/screenshots/tag-summary-template-options.png and b/docs/assets/images/screenshots/tag-summary-template-options.png differ
diff --git a/docs/assets/images/screenshots/tag-transcription-options.png b/docs/assets/images/screenshots/tag-transcription-options.png
index 1d015bb8..2c556c97 100644
Binary files a/docs/assets/images/screenshots/tag-transcription-options.png and b/docs/assets/images/screenshots/tag-transcription-options.png differ
diff --git a/docs/assets/images/screenshots/transcript-auto-follow.png b/docs/assets/images/screenshots/transcript-auto-follow.png
index e546c730..e39e67dd 100644
Binary files a/docs/assets/images/screenshots/transcript-auto-follow.png and b/docs/assets/images/screenshots/transcript-auto-follow.png differ
diff --git a/docs/assets/images/screenshots/ui-chinese.png b/docs/assets/images/screenshots/ui-chinese.png
index 0005f336..af772723 100644
Binary files a/docs/assets/images/screenshots/ui-chinese.png and b/docs/assets/images/screenshots/ui-chinese.png differ
diff --git a/docs/assets/images/screenshots/ui-german.png b/docs/assets/images/screenshots/ui-german.png
index e48c58b2..e8e7c265 100644
Binary files a/docs/assets/images/screenshots/ui-german.png and b/docs/assets/images/screenshots/ui-german.png differ
diff --git a/docs/assets/images/screenshots/upload-asr-options.png b/docs/assets/images/screenshots/upload-asr-options.png
index 4364fce9..dabd4866 100644
Binary files a/docs/assets/images/screenshots/upload-asr-options.png and b/docs/assets/images/screenshots/upload-asr-options.png differ
diff --git a/docs/assets/images/screenshots/upload-duplicate-detection.png b/docs/assets/images/screenshots/upload-duplicate-detection.png
index 98dfcd3b..7534a650 100644
Binary files a/docs/assets/images/screenshots/upload-duplicate-detection.png and b/docs/assets/images/screenshots/upload-duplicate-detection.png differ
diff --git a/docs/assets/images/screenshots/upload-modal.png b/docs/assets/images/screenshots/upload-modal.png
index e4875e95..4dcc2c04 100644
Binary files a/docs/assets/images/screenshots/upload-modal.png and b/docs/assets/images/screenshots/upload-modal.png differ
diff --git a/docs/assets/images/screenshots/upload-multi-file.png b/docs/assets/images/screenshots/upload-multi-file.png
index 9d4c185b..be843f6b 100644
Binary files a/docs/assets/images/screenshots/upload-multi-file.png and b/docs/assets/images/screenshots/upload-multi-file.png differ
diff --git a/docs/assets/images/screenshots/upload-options.png b/docs/assets/images/screenshots/upload-options.png
index 2739446d..19bf4390 100644
Binary files a/docs/assets/images/screenshots/upload-options.png and b/docs/assets/images/screenshots/upload-options.png differ
diff --git a/docs/assets/images/screenshots/upload-tag-stacking.png b/docs/assets/images/screenshots/upload-tag-stacking.png
index 972d53a6..04e747bc 100644
Binary files a/docs/assets/images/screenshots/upload-tag-stacking.png and b/docs/assets/images/screenshots/upload-tag-stacking.png differ
diff --git a/scripts/screenshots/capture.mjs b/scripts/screenshots/capture.mjs
index 9cc4219a..6bc1e7d7 100644
--- a/scripts/screenshots/capture.mjs
+++ b/scripts/screenshots/capture.mjs
@@ -17,7 +17,7 @@ import { readdir } from 'node:fs/promises';
import { mkdirSync } from 'node:fs';
import path from 'node:path';
import { fileURLToPath, pathToFileURL } from 'node:url';
-import { makeContext, login, freezePage } from './helpers.mjs';
+import { makeContext, login, freezePage, hidePrivateRecordings } from './helpers.mjs';
const HERE = path.dirname(fileURLToPath(import.meta.url));
const DOCS_OUT = path.resolve(HERE, '../../docs/assets/images/screenshots');
@@ -72,6 +72,8 @@ async function main() {
const page = await context.newPage();
try {
await shot.run(page);
+ const hidden = await hidePrivateRecordings(page);
+ if (hidden) process.stdout.write(`(hid ${hidden} private row(s)) `);
await freezePage(page);
await page.waitForTimeout(300);
const file = path.join(outDir, `${shot.name}.png`);
diff --git a/scripts/screenshots/helpers.mjs b/scripts/screenshots/helpers.mjs
index 5ccd57a0..78d2c0e8 100644
--- a/scripts/screenshots/helpers.mjs
+++ b/scripts/screenshots/helpers.mjs
@@ -35,6 +35,33 @@ export async function makeContext(browser, { dark = true, scheme = 'blue', mobil
}
/** Kill animations/transitions and hide carets so pixels are stable. */
+/**
+ * Recordings that must never appear in published screenshots (real meetings
+ * with real names). Comma-separated SPEAKR_PRIVATE_TITLES extends the list.
+ */
+export const PRIVATE_TITLES = [
+ 'Unified AI Curriculum and Course Track Planning',
+ 'Road Trip Reflections and Future Research Plans',
+ ...(process.env.SPEAKR_PRIVATE_TITLES || '').split(',').map((t) => t.trim()).filter(Boolean),
+];
+
+/** Remove sidebar and list rows of private recordings. Returns how many were hidden. */
+export async function hidePrivateRecordings(page) {
+ return page.evaluate((titles) => {
+ let hidden = 0;
+ for (const el of document.querySelectorAll('h4, .recording-title, [title]')) {
+ const text = (el.getAttribute('title') || el.textContent || '').trim();
+ if (!titles.some((t) => text.startsWith(t) || (text.endsWith('…') && t.startsWith(text.slice(0, -1))))) continue;
+ const row = el.closest('li, .recording-item, [data-recording-id]') || el.parentElement;
+ if (row && row.style.display !== 'none' && row.getBoundingClientRect().height > 0) {
+ row.style.display = 'none';
+ hidden++;
+ }
+ }
+ return hidden;
+ }, PRIVATE_TITLES);
+}
+
export async function freezePage(page) {
await page.addStyleTag({
content: `
diff --git a/scripts/screenshots/shots/detail.mjs b/scripts/screenshots/shots/detail.mjs
index 2290e42a..5622c9e9 100644
--- a/scripts/screenshots/shots/detail.mjs
+++ b/scripts/screenshots/shots/detail.mjs
@@ -134,6 +134,24 @@ async function frameChat(page) {
}
/** Drag the floating chat panel by its header so its top-left lands at x,y. */
+/**
+ * Fit the floating chat to the right-hand column and put it in the
+ * bottom-right corner of the content area, where the app opens it.
+ */
+async function anchorChatInRightColumn(page, height = 560) {
+ const geo = await page.evaluate(() => {
+ const cols = document.getElementById('mainContentColumns');
+ const right = document.getElementById('rightMainColumn');
+ if (!cols || !right) return null;
+ const c = cols.getBoundingClientRect(), r = right.getBoundingClientRect();
+ return { right: c.right, bottom: c.bottom, width: r.width };
+ });
+ if (!geo) throw new Error('Content columns not found');
+ const w = Math.round(geo.width - 32);
+ await resizeChatPanel(page, w, height);
+ await moveChatPanel(page, Math.round(geo.right - w - 16), Math.round(geo.bottom - height - 16));
+}
+
async function moveChatPanel(page, x, y) {
const header = page.locator('.floating-chat-header').first();
const box = await header.boundingBox();
@@ -241,7 +259,7 @@ const R = {
follow: 'Job Cuts, Internet Regulations, and Apple Subscriptions',
edit: 'Fortnightly Team Meeting at ABC Manufacturing',
chat: 'Job Cuts, Internet Regulations, and Apple Subscriptions',
- tokens: 'Road Trip Reflections and Future Research Plans',
+ tokens: 'SEC Disgorgement Limits and Investor Harm',
nextSteps: 'Fortnightly Team Meeting at ABC Manufacturing',
reprocess: 'SEC Disgorgement Limits and Investor Harm',
};
@@ -346,10 +364,9 @@ export default [
await clickVisible(page, '.tab:has-text("Notes")');
await settle(page, 400);
await openChat(page);
- await resizeChatPanel(page, 600, 540);
- await moveChatPanel(page, 348, 460);
+ await anchorChatInRightColumn(page);
await askChat(page, 'In two or three sentences, what did the hosts say about Apple charging $240 a year for device insurance?');
- await moveChatPanel(page, 348, 460);
+ await anchorChatInRightColumn(page);
await frameChat(page);
},
},
diff --git a/scripts/screenshots/shots/docs-extra.mjs b/scripts/screenshots/shots/docs-extra.mjs
index fb9ac296..ea851f63 100644
--- a/scripts/screenshots/shots/docs-extra.mjs
+++ b/scripts/screenshots/shots/docs-extra.mjs
@@ -3,7 +3,7 @@
// public share page, tag stacking in the upload dialog, and the recorder
// with one or two sources (desktop) and an external microphone (phone).
-import { go, settle, clickVisible, blurEmails } from '../helpers.mjs';
+import { go, settle, clickVisible, blurEmails, blurUrls } from '../helpers.mjs';
import { accountTab, adminTab } from './settings-admin.mjs';
import { openWithSidebar, ANCHOR } from './detail.mjs';
import { openRecording as openMobileRecording, openUploadSheet, tap } from './mobile.mjs';
@@ -148,6 +148,22 @@ export default [
await go(page, '/account');
await accountTab(page, 'account');
await blurEmails(page);
+ // Name, job title, organization, username and the sign-in
+ // provider's subject id identify the account owner.
+ await page.evaluate(() => {
+ const blur = (el) => { if (el) el.style.filter = 'blur(6px)'; };
+ const panel = document.querySelector('#content-account') || document.body;
+ panel.querySelectorAll('input[type="text"], input:not([type])').forEach(blur);
+ const walker = document.createTreeWalker(panel, NodeFilter.SHOW_TEXT);
+ let n;
+ while ((n = walker.nextNode())) {
+ const text = n.nodeValue.trim();
+ const el = n.parentElement;
+ if (!el) continue;
+ if (/^Subject/.test(text)) blur(el.parentElement && el.parentElement.innerText.length < 120 ? el.parentElement : el);
+ if (text === 'Username') blur(el.nextElementSibling);
+ }
+ });
},
},
{
@@ -157,6 +173,7 @@ export default [
run: async (page) => {
await go(page, '/account');
await accountTab(page, 'shares');
+ await blurUrls(page); // live share links / internal endpoints
},
},
{
@@ -175,6 +192,7 @@ export default [
run: async (page) => {
await go(page, '/account');
await accountTab(page, 'about');
+ await blurUrls(page); // live share links / internal endpoints
},
},
{
diff --git a/scripts/screenshots/shots/settings-admin.mjs b/scripts/screenshots/shots/settings-admin.mjs
index 561155c6..e9ed4bd6 100644
--- a/scripts/screenshots/shots/settings-admin.mjs
+++ b/scripts/screenshots/shots/settings-admin.mjs
@@ -4,7 +4,7 @@
// each tab a `#content-*` panel with its own `.tab-scroll` scroller) and
// /admin (a small Vue app whose tabs are driven by `activeTab`).
-import { go, settle, clickVisible, openRecordingByTitle, blurEmails } from '../helpers.mjs';
+import { go, settle, clickVisible, openRecordingByTitle, blurEmails, blurUrls } from '../helpers.mjs';
/** A recording carrying tags, used for the localized interface shots. */
const TAGGED_RECORDING = 'SEC/Data Science Team Updates and Announcements';
@@ -129,6 +129,27 @@ export default [
description: 'Outbound webhooks on recording events',
theme: { dark: true, scheme: 'purple' },
run: async (page) => {
+ // The dev instance's sample endpoint points at a made-up host, so
+ // its real history is all failures. Show the same endpoint as a
+ // healthy one: the responses are fetched for real and only the
+ // health fields are changed; nothing is sent anywhere.
+ await page.route(/\/api\/v1\/webhooks(\?.*)?$/, async (route) => {
+ const res = await route.fetch();
+ const body = await res.json();
+ for (const w of body.webhooks || []) {
+ Object.assign(w, { enabled: true, auto_paused: false, consecutive_failures: 0 });
+ }
+ await route.fulfill({ response: res, json: body });
+ });
+ await page.route(/\/api\/v1\/webhooks\/\d+\/deliveries(\?.*)?$/, async (route) => {
+ const res = await route.fetch();
+ const body = await res.json();
+ for (const d of body.deliveries || []) {
+ Object.assign(d, { status: 'success', attempt_count: 1, response_status: 200,
+ response_body_preview: 'ok', error_message: null, next_retry_at: null });
+ }
+ await route.fulfill({ response: res, json: body });
+ });
await go(page, '/account');
await accountTab(page, 'webhooks');
// Expand the delivery log of the first endpoint so the shot shows
@@ -199,6 +220,7 @@ export default [
run: async (page) => {
await go(page, '/admin', 1500);
await adminTab(page, 'Vector Store');
+ await blurUrls(page); // internal embedding endpoint
},
},
{
diff --git a/static/img/screenshots/main-view.png b/static/img/screenshots/main-view.png
index 334c3c65..a214aa6a 100644
Binary files a/static/img/screenshots/main-view.png and b/static/img/screenshots/main-view.png differ
diff --git a/static/img/screenshots/mobile-view.png b/static/img/screenshots/mobile-view.png
index fdb7899b..fbe9ee9b 100644
Binary files a/static/img/screenshots/mobile-view.png and b/static/img/screenshots/mobile-view.png differ
diff --git a/static/img/screenshots/recording-interface.png b/static/img/screenshots/recording-interface.png
index e364d0f4..f2c19d74 100644
Binary files a/static/img/screenshots/recording-interface.png and b/static/img/screenshots/recording-interface.png differ
diff --git a/static/img/screenshots/transcript-view.png b/static/img/screenshots/transcript-view.png
index e546c730..e39e67dd 100644
Binary files a/static/img/screenshots/transcript-view.png and b/static/img/screenshots/transcript-view.png differ