Introduce lib/utils/log.dart (logError / logWarning over dart:developer) and
route all 53 previously-bare `catch (_)` blocks through it. Behaviour is
unchanged: every fallback still fails soft (a broken sidecar, unreadable file
or unsupported platform must never crash a presentation) but the cause is now
observable. logError is used for unexpected parse/IO failures, logWarning for
expected best-effort fallbacks; no deck or file contents are ever logged.
Note: file_service, markdown_service, marp_html_service, fullscreen_presenter,
image_carousel_picker and url_launcher_util also carried pre-existing local
changes, bundled here.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Presentation fixes:
- Mirror the in-progress pen/highlighter stroke to the audience window
live (new 'inkLive' channel) so highlights appear as they are drawn,
not only after the pen lifts.
- Cover the macOS menu bar on the beamer: raise the audience window
above .mainMenu level so the Apple/Wi-Fi strip no longer shows during
a presentation.
Styling no longer lives in the file:
- generateDeck no longer embeds the ThemeProfile; a saved .md holds only
content. The profile is inlined only for the transient audience-window
payload (inlineStyleProfile: true), never to disk.
- On open, the app applies the active style profile (FileService.openDeck
/ activeProfileFor, DeckNotifier.loadDeck); applyMarkdown preserves the
current profile.
Quality pass / tests green:
- Complete the consent-screen translations (English plus 7 missing
strings per other language).
- Pass the consent gate in widget/ui-scale tests by seeding the consent
key, so the app shell renders.
- Update markdown round-trip tests for the new default and add coverage
for live stroke streaming and styling-free saves.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Image library:
- "Clean up duplicates" finds byte-identical images by md5, keeps one
file per group (preferring the most-used, then the oldest), merges
the tags/descriptions and captions of the copies, repoints slides in
open decks and in .md presentations on disk, and deletes the copies
after a confirmation that lists every group.
- A header toggle filters to images without tags/description, so it is
easy to see which ones still need attention.
- The delete warning now also lists presentations on disk that still
reference the image (marked "not open"), next to the open decks.
Editor and accessibility (already in tree):
- Interface text scaling up to 200%, keyboard-operable panel divider,
keyboard-first add-slide dialog, and screen-reader improvements.
- Paste a spreadsheet/CSV/markdown selection into a table cell to fill
the whole grid.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Charts:
- Shrink axis label fonts and thin/space x-axis labels by actual pixel
spacing so dense or long labels no longer overlap.
- Line tooltip shows only the point nearest the cursor instead of every
series stacked vertically.
- Hovering a legend entry highlights its element: bar/line series fade the
others (pie expands the matching slice), in app and presentation mode.
- Add optional min/max threshold lines per bar/line chart (ignored for pie),
editable in the chart editor and drawn in both the live preview and the
exported SVG.
Theme:
- Resolve relative logo paths in a ThemeProfile against the project path and
home directory so deck logos load regardless of working directory.
Tests cover bound round-trip, editor fields, SVG bounds, legend-hover fading,
and bound-line rendering.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Documentation & licensing:
- Add the EUPL-1.2 licence (LICENSE.md) and set the project licence; refresh
the README (name origin wink, updated feature list, documentation index).
- Add CONTRIBUTING, SECURITY, CODE_OF_CONDUCT, CHANGELOG, AUTHORS, and
THIRD_PARTY_NOTICES, plus docs/ (ARCHITECTURE, BUILD, USER_GUIDE, SHORTCUTS,
LICENSE_COMPLIANCE) and .github/ (CI workflow, issue/PR templates).
- Bring docs/FILE_FORMAT.md in line with current behaviour (code & chart
slides, per-slide TLP comment, annotation .ink.json sidecar, chart data/ CSVs).
Open-source compliance:
- Add tool/check_licenses.dart and a `make licenses` target (wired into
check-full and CI) that verifies every resolved dependency uses a recognised
open-source licence. A scan of all 151 packages and bundled assets found only
OSI-approved licences.
Charts (Fase 1.1):
- Replace the chart CSV textarea with an in-app editable data grid (editable
series/labels/values, add/remove row & column, read-only when linked).
- Centralize the linked-CSV directory name (`data/`) in a shared constant.
Also normalize formatting repo-wide with `dart format` and fix one
curly-braces lint, so `make check` and CI are green.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Draw on slides while presenting, kept as a layer fully separate from the
Marp content so the deck stays pure, portable Marp.
Presenter tools (D pen, T highlighter, E eraser, X laser, C clear, Esc
puts the tool away) with a small floating colour/tool bar shown only when
a tool is active. Strokes use coordinates normalized to the 16:9 slide so
they render identically on the laptop and the beamer; in dual-screen mode
the ink and the laser are mirrored live to the audience window.
Persistence (decoupled from the .md):
- In memory the layer is keyed by Slide.id (stable within a session).
- On disk it lives in a sidecar <name>.ink.json next to the deck and as a
separate entry inside the .ocideck package; the markdown is untouched.
- Because slide ids are regenerated on load, the sidecar anchors strokes
by order + a content fingerprint, re-attaching them after reordering and
dropping them when a slide's content changed.
- Deck.annotations carries the layer in memory but is never serialized to
markdown; deckProvider.setAnnotations keeps it out of undo/redo.
flutter analyze is clean, all tests pass (incl. new stroke/codec tests),
and the macOS debug build compiles. Drawing and live beamer sync still
need verification on real hardware.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Bring the second-window (beamer) presenter mode to all desktop platforms,
not just macOS:
- Implement the native window_coverScreen / window_close methods for the
vendored desktop_multi_window plugin on Windows (borderless popup over
the presentation monitor) and Linux.
- Register the app's plugins for sub-windows in the Windows and Linux
runners, so video/image rendering works in the audience window there too.
- Gate dual-screen mode through a testable shouldUseDualScreen() helper
(any desktop platform with >= 2 displays) and cover it with tests.
flutter analyze is clean and all presenter tests pass. Runtime two-screen
behaviour still needs verification on real hardware.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
When a second display is connected (macOS), presenting now opens a
borderless audience window on the beamer showing the slide, while the
main window shows the presenter view (current/next slide, speaker notes,
clock, controls) on the laptop. The two windows stay in sync over method
channels: navigation, blank screen, audio-complete and beamer clicks are
forwarded between them, and media plays only on the beamer to avoid
double audio. Falls back to the existing single-window presenter when
there is one display or the second window can't be created.
- Vendors a fork of desktop_multi_window in third_party/ that re-adds the
native macOS window geometry/fullscreen calls (coverScreen, setFrame,
close) the published 0.3.0 dropped; wired via a path dependency.
- Registers the app's plugins for sub-windows in MainFlutterWindow so
video/image rendering works on the beamer.
- Routes the multi_window dart entrypoint to a minimal AudienceWindowApp.
Compiles (flutter analyze + macOS debug build) and all tests pass;
runtime two-screen behaviour still needs verification on real hardware.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Bundles several in-progress changes from the working tree:
- App appearance / look-and-feel: customizable app theme profiles
(colors, dark interface) with a settings UI and persistence.
- New "Broncode" (source code) slide type: dark code sheet with
syntax highlighting, a dedicated editor with a language picker,
and Marp markdown round-trip via a fenced code block.
- Presenter: eliminate the brief black frame between slides by
precaching neighbouring slide images and enabling gaplessPlayback,
so recordings stay clean.
Adds round-trip tests for the code slide and translations for the
new strings across all supported languages.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Flutter desktop app for building Marp presentations via structured
slide editors, with live preview, fullscreen presenter, and PDF/PPTX
export. Includes Makefile quality gate, CI workflow, and full test suite.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>