Skip to content

docs(wiki): document EventViewer.exportImage in Event Detection guide#373

Draft
HanSur94 wants to merge 1 commit into
mainfrom
claude/upbeat-mayer-cxjayx
Draft

docs(wiki): document EventViewer.exportImage in Event Detection guide#373
HanSur94 wants to merge 1 commit into
mainfrom
claude/upbeat-mayer-cxjayx

Conversation

@HanSur94

@HanSur94 HanSur94 commented Jul 8, 2026

Copy link
Copy Markdown
Owner

Summary

PR #333 (merged) added EventViewer.exportImage(filepath, format) — a public method to save the rendered event-timeline figure as PNG or JPEG. The auto-generated wiki/API-Reference:-Event-Detection.md already picked up the new method signature/docstring via the doc-gen bot, but the hand-written wiki/Event-Detection-Guide.md usage guide didn't mention it.

This PR:

  • Adds viewer.exportImage(...) calls to the EventViewer code sample in the guide.
  • Replaces the stale "Export: Context menu options for data export" bullet (no such context menu exists in EventViewer.m) with an accurate description of exportImage, including its error IDs (EventViewer:notRendered, EventViewer:unknownImageFormat).

Test plan

  • Docs-only change (wiki/Event-Detection-Guide.md) — no code changed, no tests needed.
  • Verified EventViewer.m has no context-menu code (the replaced bullet was inaccurate even before this PR).
  • Cross-checked wording against the already-merged exportImage docstring in libs/EventDetection/EventViewer.m and the auto-generated API reference.

🤖 Generated with Claude Code


Generated by Claude Code

PR #333 added EventViewer.exportImage() for saving the event timeline
as PNG/JPEG. The auto-generated API reference already picked this up;
this updates the hand-written usage guide to show the call and
replaces the stale "context menu" export bullet (no such menu exists
in the source) with an accurate description.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013Fxt1VusK6yVsjMLZYfPz4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants