Skip to content

armgit / mimik

Public Imported from GitHub
0

🎬 A browser extension and desktop app that turns your clicks into step-by-step guides with annotated screenshots πŸ“–

Merge remote-tracking branch 'origin/dev' into fix/single-line-guide-title

davbiod9a351968a04
diff --cc AGENTS.md
index 58b562b,27b622f..f770ca9
--- a/AGENTS.md
+++ b/AGENTS.md
@@@ -49,7 -51,7 +51,7 @@@ src
β”‚ β”‚ β”œβ”€β”€ scrub.ts # scrubValues (removes typed values from prose)
β”‚ β”‚ β”œβ”€β”€ bundle.ts # exportGuideAsBundle (zip via fflate)
β”‚ β”‚ └── parse.ts # readBundle (unzip + validate)
- β”‚ └── guides/ # Data layer: types, Dexie DB, CRUD service, title rules
-β”‚ └── guides/ # Data layer: types, Dexie DB, CRUD service, transcript timeline
++β”‚ └── guides/ # Data layer: types, Dexie DB, CRUD service, title rules, transcript timeline
β”œβ”€β”€ entrypoints/ # Chrome extension entry points (WXT)
β”‚ β”œβ”€β”€ background/ # Service worker: state machine, message handlers, tab management
β”‚ β”œβ”€β”€ content.ts # Content script: CaptureSession, event listeners
diff --cc src/core/guides/service.ts
index 7920b4a,9f76555..ecd033e
--- a/src/core/guides/service.ts
+++ b/src/core/guides/service.ts
@@@ -4,8 -6,16 +6,17 @@@ import type { ScreenshotEdits } from '@
import type { ParsedBundle } from '@/core/transfer/parse';
import { db } from './db';
import { hashPayload } from './snapshot-hash';
+import { sanitizeGuideTitle } from './title';
- import type { BlockType, CalloutVariant, DescriptionSource, Guide, Screenshot, Snapshot, Step } from './types';
+ import type {
+ BlockType,
+ CalloutVariant,
+ DescriptionSource,
+ Guide,
+ GuideTranscript,
+ Screenshot,
+ Snapshot,
+ Step,
+ } from './types';
export type GuideChangeEvent = { type: 'starred'; id: string; starred: boolean } | { type: 'mutated' };