You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Add `DebugTab` class for custom debug panel tabs with composable content
- Custom tabs configured via `OverlayMode.FullMetrics(customTabs = ...)` — type system prevents misconfiguration with `BugReporterOnly`
- Built-in tabs remain unchanged (private enum, same order as v2.1.x)
- Sample app demonstrates custom SharedPrefs tab with M3-styled card UI
Copy file name to clipboardExpand all lines: CHANGELOG.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,15 @@
1
1
# Change Log
2
2
3
+
## Version 2.2.0 *(Unreleased)*
4
+
5
+
### New Features
6
+
7
+
***Custom Tab API** – Add app-specific tabs to the debug panel via `DebugTab` class. Custom tabs are appended after built-in tabs and configured via `OverlayMode.FullMetrics(customTabs = ...)`.
8
+
9
+
### Breaking Changes
10
+
11
+
*`OverlayMode.FullMetrics` changed from `data object` to `data class`. If you reference it explicitly, change `OverlayMode.FullMetrics` to `OverlayMode.FullMetrics()`. Zero-config users are unaffected.
**Auto-registration pattern:** Extensions self-register in their `init` block by calling `DebugOverlay.configure {}`. AndroidX Startup provides zero-config initialization for core and Timber extension (via manifest-declared initializers); OkHttp extension requires manual interceptor registration.
84
84
85
+
### Custom Tabs
86
+
87
+
The debug panel supports custom tabs via the `DebugTab` class. Custom tabs are appended after built-in tabs and configured via `OverlayMode.FullMetrics(customTabs = ...)`. Custom tab content is a `@Composable` lambda provided at construction time.
0 commit comments