Conversation
… in ConsoleEntryItem
…TrustManager constructor
Add developerMode boolean to SettingsRepository, SettingsState, and SettingsManager. Wire through FeatureCallbacks, BrowserCallbacksImpl, BrowserViewModel, SettingsScreen, and DialogOrchestrator. The Logcat tab in the console is gated behind this setting.
…d auto-scroll ModalBottomSheet composable with tab-based filtering (All, Network, Errors, Security, Logcat), search bar, clear button, auto-scroll to latest entries, and logcat lifecycle management.
…wModel Add ConsoleCallbacks interface, implement in BrowserCallbacksImpl, instantiate ConsoleManager and LogcatReader in ViewModel before GeminiClient, add Console item to toolbar dropdown menu.
…ycle callbacks Wire console entries and error count through BrowserScaffold, add ConsoleSheet between tab switcher and dialog orchestrator, expand ConsoleCallbacks with dismiss/logcat lifecycle methods.
…composition Move ConsoleSheet out of BrowserScaffold into a separate ConsoleOverlay composable that reads consoleEntries/consoleErrorCount in its own recomposition scope, preventing the entire screen from recomposing on every new log entry.
Replace ModalBottomSheet with a docked ConsolePanel that sits at the bottom of the content area, pushing gemtext content up like Chrome DevTools. Panel has a drag handle for resizing between 100-500dp. Console state reads remain isolated in ConsoleContent to avoid unnecessary recomposition.
Skip ViewRootImpl, Choreographer, OpenGLRenderer and other framework tags that spam thousands of per-frame logs.
Tags like ViewRootImpl[MainActivity] weren't caught by exact match. Switch to startsWith prefix matching. Also add InputMethodManager and ImeTracker to the filter list.
📝 WalkthroughWalkthroughAdds an in-app console and developer mode: new console data models and logger interface, console logging wired into network/trust manager, console UI and filtering, Logcat reader and ConsoleManager, developer-mode persistence and settings UI, plus callbacks and tests. Changes
Suggested labels
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
…active LOGCAT tab
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.
Just look at this - I'm copying even more features from web browsers. I wonder if I will copy even more. Anyway, built this mostly for logcat messages since they show when my app misbehaves and/or my code is bad.