feat: add breadcrumb support for crash reporting#19
Draft
Conversation
- Add Breadcrumb data class with message, category, level, data, timestamp - Add recordBreadcrumb and getBreadcrumbs to TrackRepository interface - Implement breadcrumb buffering (max 50 entries) in TrackRepositoryImpl - Include breadcrumbs when sending Flutter crash reports - Add recordBreadcrumb to Container interface and ContainerImpl - Expose recordBreadcrumb via @FlutterBridgeApi in NubrickExperiment 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
…patibility - Add @serializable enums BreadcrumbCategory (navigation, ui, http, console, custom) and BreadcrumbLevel (debug, info, warning, error, fatal) - Update Breadcrumb data class to use typed enums instead of strings - Add Flutter Bridge overload recordBreadcrumb(Map) to convert string-based data - Include fromString companion methods for enum parsing 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Explain expected data structure from Flutter's method channel with inline comments for each type cast. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Breadcrumbdata class with message, category, level, data, timestamprecordBreadcrumb()andgetBreadcrumbs()toTrackRepositoryinterfaceTrackRepositoryImplsendFlutterCrash()recordBreadcrumb()via@FlutterBridgeApiinNubrickExperimentUsage (from Flutter Bridge)
Related PRs
Test plan
recordBreadcrumb()stores breadcrumbs correctly🤖 Generated with Claude Code