Commit Graph
78 Commits
Author SHA1 Message Date
iamdoubz 3dec299c4c feat(export): add printpdf/docx-rs/pulldown-cmark deps (T8.4, FR-NOTE-4)
Pure-Rust PDF/Word generation and Markdown parsing — no external
binary or cloud conversion service, consistent with the fully-local
invariant.
2026-07-02 11:02:29 -05:00
iamdoubz 8f08b17be6 feat(ui): editable tags section in the meeting detail panel (T8.3, FR-SEARCH-2) 2026-07-02 10:38:59 -05:00
iamdoubz bf74a3cc92 feat(ui): tag/date filters and tag chips in the meetings list (T8.3, FR-SEARCH-2) 2026-07-02 10:38:54 -05:00
iamdoubz eb17cc68e0 feat(ui): add filter/tag state and setTags/loadTags to the meetings store (T8.3, FR-SEARCH-2) 2026-07-02 10:38:50 -05:00
iamdoubz 15f72aaca6 feat(ui): add MeetingFilter type + setTags/listTags wrappers (T8.3, FR-SEARCH-2) 2026-07-02 10:38:45 -05:00
iamdoubz d41ecc5106 docs: update list_meetings signature; add list_tags contract (T8.3, FR-SEARCH-2)
Drops limit/offset (never implemented, no pagination need yet at local
meeting counts) in favor of from/to date filters, matching FR-SEARCH-2's
"filter by date, tag, or participant" and what was actually built.
2026-07-02 10:38:41 -05:00
iamdoubz e6e209e1c4 feat(tags): register set_tags/list_tags commands (T8.3, FR-SEARCH-2) 2026-07-02 10:38:36 -05:00
iamdoubz d1ca2f63dd feat(tags): add set_tags/list_tags commands; extend list_meetings (T8.3, FR-SEARCH-2) 2026-07-02 10:38:31 -05:00
iamdoubz fc6a2fa0aa feat(tags): wire tags + list filters (T8.3, FR-SEARCH-2)
tags/meeting_tags existed since migration 0001, completely unused.
Adds upsert_tag/tags_for_meeting (mirroring upsert_participant's
find-or-create pattern) and real set_tags/list_tags implementations.

Extends list_meetings with tag/participant/date filters via a new
MeetingFilter struct, replacing the old query-only signature — the
participant filter matches either a speaker mapped to that participant
or an attendee of the meeting's linked calendar event, since neither
signal alone covers "who was in this meeting." Tags are populated on
Meeting/MeetingListItem/SearchHit via a per-row lookup (N+1, but
meeting counts are small enough that this is simpler than GROUP_CONCAT
string-splitting).
2026-07-02 10:38:26 -05:00
iamdoubz c2d282e5ba feat(tags): add tags fields to MeetingListItem/SearchHit (T8.3, FR-SEARCH-2) 2026-07-02 10:38:19 -05:00
iamdoubz 66d4c614bb feat(ui): replace title-only filter with full-text search (T8.2, FR-SEARCH-1)
The search box now searches transcripts + notes (not just titles) and
shows a matched snippet per result. FTS5 is word-based rather than
substring-based, a deliberate tradeoff for gaining full-content search.
2026-07-02 10:08:12 -05:00
iamdoubz 3d1129ff1e feat(ui): add search state + method to the meetings store (T8.2, FR-SEARCH-1) 2026-07-02 10:08:02 -05:00
iamdoubz 354588e1ab feat(ui): add SearchHit type + search() client wrapper (T8.2, FR-SEARCH-1) 2026-07-02 10:07:55 -05:00
iamdoubz f2992508e0 docs: define SearchHit's shape for the search command (T8.2, FR-SEARCH-1)
Was referenced in the contract but never actually specified.
2026-07-02 10:07:48 -05:00
iamdoubz c9c049ce2a feat(search): register the search command (T8.2, FR-SEARCH-1) 2026-07-02 10:07:40 -05:00
iamdoubz d928dfd51d feat(search): add search command; route notes.md writes through the store (T8.2, FR-SEARCH-1)
The initial notes.md render after finalize/resume/recovery bypassed
the Store abstraction entirely (raw std::fs::write) — routing it
through update_notes means that first render also gets FTS-indexed and
bumps updated_at, instead of only later manual edits doing either.
2026-07-02 10:07:29 -05:00
iamdoubz 68379f8f56 feat(search): wire meeting_fts population + real search (T8.2, FR-SEARCH-1)
meeting_fts existed since migration 0001 but nothing ever wrote to it.
Adds reindex_fts (called from finalize_meeting/update_notes so the
index can't drift from what's on disk), a one-time startup backfill
for meetings finalized before this feature existed, delete_meeting
cleanup (meeting_fts is a virtual table with no FK/CASCADE support),
and a real Store::search() replacing the hardcoded stub. Query input
is phrase-quoted per token so stray FTS5 operators in free-text search
input can't throw a MATCH syntax error.
2026-07-02 10:07:20 -05:00
iamdoubz b5aa1714ad feat(search): add SearchHit type (T8.2, FR-SEARCH-1)
Same fields as MeetingListItem plus a highlighted snippet of what matched.
2026-07-02 10:07:03 -05:00
iamdoubz 90bc053ad3 Merge pull request 'Hermes 007' (#7) from hermes-007 into main
Reviewed-on: #7
2026-07-02 07:58:38 -05:00
iamdoubz 4d59e7f646 fix(ui): show a loading state for the meetings list (T7.1, FR-UX-1)
meetings.loading existed in the store but nothing read it — the list
briefly showed "No meetings yet" on first load before data arrived.
2026-07-02 07:45:18 -05:00
iamdoubz a0a4cf12b5 feat(ui): wire real summary + action-item rendering into SummaryPanel (T7.1, FR-UX-1)
Replaces the static "Summary"/"Action items" placeholder text with:
generate button (hidden behind a "configure an LLM provider" message
when none is set), live token streaming while generating, rendered
summary + decisions once done, and an editable action-item checklist
with a save step before anything gets confirmed as a task.
2026-07-02 07:45:11 -05:00
iamdoubz 6dc68ac92c feat(ui): summary generation + action-item confirmation in the meetings store (T7.1)
Streams tokens for whichever meeting is generating (gated by
summarizingId so a stale stream can't clobber a summary if the user
switches selection mid-generation), and refreshes the selected meeting
once llm://done or confirm_action_items lands.
2026-07-02 07:45:03 -05:00
iamdoubz 075eec6a95 feat(ui): add summary/action-item types + errorMessage() helper (T7.1, FR-LLM-2/3/4)
Types for SummaryFile/ActionItem/LlmStatus and a confirmActionItems
wrapper + onLlmDone listener, so the frontend can consume what
generate_summary/confirm_action_items already produce on the backend.

Also adds errorMessage(): every backend command rejects with
{ kind, message } (see src-tauri/src/error.rs), not a native Error, so
`e instanceof Error` is always false for it and `String(e)` renders as
the literal text "[object Object]" — found by actually clicking
"Generate summary" against an unreachable Ollama endpoint.
2026-07-02 07:44:56 -05:00
iamdoubz b2d423e3ec refactor(ui): use the shared renderMarkdown() in TranscriptNotes (T7.1) 2026-07-02 07:44:47 -05:00
iamdoubz 4609d93faf refactor(ui): extract shared sanitized-Markdown renderer (T7.1)
Notes and LLM-generated summaries both render untrusted Markdown via
{@html} into a webview with an IPC bridge to the Rust backend, so the
DOMPurify sanitization step is a real security boundary, not cosmetic —
worth one shared implementation instead of a second inline copy that
could drift out of sync.
2026-07-02 07:44:41 -05:00
iamdoubz 5f8ba8253e feat(ui): focus trap for consent dialog + recording-state live region (T7.5, FR-UX-4)
Traps focus in the recording-consent overlay the same way as Settings.
Adds a visually-hidden aria-live region announcing "Recording
started/paused/stopped" — previously nothing in the header was a live
region, so a non-visual user had no way to learn recording had begun.
2026-07-02 07:31:13 -05:00
iamdoubz d94472f476 fix(ui): label the symbol-only notes-toolbar buttons (T7.5, FR-UX-4)
Bold/Italic/Bullet-list/Checkbox buttons rendered a bare glyph with
only a title tooltip; add matching aria-label so a screen reader
announces the action rather than the raw Unicode character name.
2026-07-02 07:31:07 -05:00
iamdoubz 6629b692ca fix(ui): add accessible name to the meetings search input (T7.5, FR-UX-4)
A placeholder isn't a reliable accessible name (it disappears on input
and isn't consistently exposed) — add an explicit aria-label.
2026-07-02 07:31:00 -05:00
iamdoubz 8d1a0047ee feat(ui): trap focus in the Settings dialog (T7.5, FR-UX-4) 2026-07-02 07:30:54 -05:00
iamdoubz 90e59ee186 feat(ui): add trapFocus action for modal dialogs (T7.5, FR-UX-4)
Moves focus into the dialog on mount, cycles Tab/Shift+Tab within its
focusable elements, and restores focus to whatever had it before the
dialog opened once it closes.
2026-07-02 07:30:48 -05:00
iamdoubz b95ffa5bc1 feat(ui): global keyboard shortcuts for record toggle + Settings (T7.4, FR-UX-3)
Ctrl+Shift+R toggles recording, Ctrl+, toggles Settings, Escape closes
whichever overlay (consent notice, then Settings) is open. Shortcuts
never hijack typing in an input/textarea/select/contenteditable target;
Escape is exempt from that guard so it always closes an open modal.

"Template apply" from the roadmap item isn't included — there's no
template-selection UI yet (that lands with T8.1 in Phase 8).
2026-07-01 22:38:09 -05:00
iamdoubz bbe8a28144 feat(ui): wire LevelMeter and device notice into the header (T7.3) 2026-07-01 21:09:59 -05:00
iamdoubz ff5144e9f0 feat(ui): add LevelMeter component + device notice in the header (T7.3, FR-CAP-5/6)
A simple rms-fill + peak-marker bar rather than a scrolling waveform —
either satisfies the requirement with far less state. Shows a warning
banner while a capture device reconnect is in progress.
2026-07-01 21:09:54 -05:00
iamdoubz 9df6331ecb feat(ui): track live level + device notice in the recording store (T7.3) 2026-07-01 21:09:48 -05:00
iamdoubz 4419f7bd5f feat(ui): type recording://level/device events (T7.3) 2026-07-01 21:09:43 -05:00
iamdoubz fb512889b1 docs: add recording://device event contract (T7.3, FR-CAP-6) 2026-07-01 21:09:38 -05:00
iamdoubz fc9c1d9fc2 feat(audio): forward capture-event sink to recording://level/device (T7.3)
start_recording now creates the EventSink alongside the existing frame
channel and forwards Level/DeviceChanged onto a small fire-and-forget
thread that emits "recording://level" and "recording://device".
2026-07-01 21:09:34 -05:00
iamdoubz 098331d6f5 feat(audio): compute level meter + device-change recovery (T7.3, FR-CAP-5/6)
Adds AudioLevel (rms/peak per chunk, throttled to ~20Hz) and
CaptureEvent::DeviceChanged emitted through a new EventSink alongside
the existing FrameSink. On a capture read failure, reopens against
whatever is now the default render device and continues the same WAV
file if the new format is compatible; otherwise fails loudly rather
than silently corrupting the recording.
2026-07-01 21:09:28 -05:00
iamdoubz 5a1b5ee0d1 fix(ui): use themed status-color tokens in Settings (T7.2, FR-UX-2)
Same dark-theme contrast fix as MeetingsList — danger/success text and
the third-party banner now use --danger/--success instead of fixed hex.
2026-07-01 17:20:43 -05:00
iamdoubz c0e7280853 fix(ui): use themed status-color tokens in MeetingsList (T7.2, FR-UX-2)
Fixed hex colors for live/recovering/error badges failed contrast
against the dark palette; switch to --danger/--warning/--muted.
2026-07-01 17:20:38 -05:00
iamdoubz aa7db39f80 feat(ui): wire theme to system/light/dark with live OS tracking (T7.2, FR-UX-2)
Resolves settings.theme against prefers-color-scheme for "system" and
updates live if the OS preference changes. Adds a theme selector next
to the settings gear. Also adds --danger/--warning/--success tokens
tuned per-theme for WCAG AA contrast (the prior fixed hex values failed
4.5:1 against the dark palette).
2026-07-01 17:20:32 -05:00
iamdoubz a2c2516d9d feat(privacy): add Privacy tab to Settings (T7.6, FR-SEC-2)
Shows the LLM endpoint's local/remote status, sync enabled state, the
derived egress allowlist, and enabled sync targets with third-party/TLS
labeling, so the UI can prove local-only handling to the user.
2026-07-01 17:12:53 -05:00
iamdoubz bf863d7bb1 feat(privacy): load and refresh privacy_self_check in the settings store (T7.6)
Fetches the privacy snapshot on load and after any mutation that could
change it (LLM/settings patch, sync enable/target changes).
2026-07-01 17:12:47 -05:00
iamdoubz 899f15fac6 feat(privacy): add PrivacySelfCheck type to the typed Tauri client (T7.6) 2026-07-01 17:12:40 -05:00
iamdoubz 70c8c61af5 feat(privacy): implement privacy_self_check command (T7.6, FR-SEC-2)
Reports LLM endpoint/local-only status and enabled sync targets so the
UI can prove local-only handling, per the shape fixed in
docs/04-api-contracts.md. Sync targets stay empty until Phase 9 lands
SyncManager; list_sync_targets' not_implemented error is swallowed
rather than failing the whole self-check.
2026-07-01 17:01:40 -05:00
iamdoubz 3229476c02 Merge pull request 'Hermes 006' (#6) from hermes-006 into main
Reviewed-on: #6
2026-07-01 15:12:27 -05:00
iamdoubz 38c14bc267 Verify event linking and participant-aware speaker naming round-trip (T6.6) 2026-07-01 15:08:15 -05:00
iamdoubz b419eb4cc5 Verify PST import dedups events and participants by source and raw_uid 2026-07-01 15:08:11 -05:00
iamdoubz b2425fa5e6 Add calendar_event_participants table and dedup index for PST re-imports 2026-07-01 15:08:07 -05:00
iamdoubz 8ac92aae2f Build pre-meeting context panel and attendee-aware speaker naming (T6.4/T6.5) 2026-07-01 15:08:02 -05:00