Repository navigation
Feature/dashboard UI refactor - #46
Merged
Merged
Conversation
The Network detail head had grown three stacked strips above the tabs — a facts row, an actions row, and the tabs themselves — pushing the request and response panes well down the viewport. Each strip also duplicated something already on screen: the facts repeated what the compare panes' "General" groups showed, and the actions row spent a full row on buttons that are used occasionally, not per-capture. Consolidate onto the Summary tab and a kebab menu: - Move the facts strip (time, duration, content type, correlation, mock rule, vs-original) out of the head and into Summary, where the mock rule keeps its link into Mocks via a new `mockRuleLink` kv-grid row type. - Drop the "General" group from both compare panes. Everything it held now lives in Summary, so the tab is just headers and body. - Give the failure branch's error string its own `response.error` Summary row instead of parenthesising it into `response.status`; it was previously only reachable through the General group that just went away. - Replace the actions row with a kebab (⋮) menu beside the expand button. Opt-in per pane via `actionsMenu`, so WebSockets/Push/Crashes — two or three actions each — keep their flat rows. Items carry the same `data-detail-action` ids, so the existing delegated handlers are unchanged. Closes on pick, outside click, and Escape. - Order Summary first among the tabs. Default selection is still Request & response. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
The spec's Network entry still described a "detail action row (Clone to composer, cURL, fetch, JSON, Related events)" that predates the current actions/tabs split, and nothing documented the detail pane's anatomy at all — so the previous commit's rearrangement had no spec to disagree with. Add §4a covering the shared head (badge/title/status/expand), the two variants of its middle band (Network's kebab menu vs. the other panes' flat actions row), Network's tab order and why Summary leads while Request & response stays the default selection, the absent "General" group, group collapse defaults, and Simple-mode hiding. Also correct three stale claims while in here: §5 named `.list`/`.detail-pane` (now `.list-pane`/`.detail-pane-v2` inside `.split-shell`), §6's Network toolbar list omitted the service dropdown and More-filters disclosure, and the new §4a records that Timeline hand-rolls its own head instead of using `detailHeadHtml` — logged as an open item rather than left as a silent drift. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
- Split the packaged scan per format: verify<Variant>DevConsolePackagedArtifact (APK/AAR, assemble path) and verify<Variant>DevConsolePackagedBundle (AAB, bundle path). One task naming both built an AAB during every release APK build, which broke Studio's signing wizard: -Pandroid.injected.apk.location puts the final AAB inside package<Variant>'s output dir, so Gradle rejects produce<Variant>BundleIdeListingFile for an undeclared dependency. - Treat scan-limit-exceeded as a warning, not a violation. R8's mapping file overran the 64 MiB read cap and failed real release builds. - Skip BUNDLE-METADATA/ entries: Play strips them, and proguard.map names every class the build ever saw. - Warn instead of throwing FileNotFoundException on a missing or unreadable package. - Match forbidden paths at any segment, so assets/devconsole-web/ is also found at base/assets/devconsole-web/ inside an AAB. - Add devConsole.verificationEnabled / -Pdevconsole.verification.enabled=false to take verification off assemble/bundle, warning loudly and leaving verifyDevConsoleProtectedArtifacts runnable by name. Tests: 11 new functional tests, 42/42 pass. Verified against a real app on both assembleLiveRelease and bundleLiveRelease with the wizard's injected location.
The box borders didn't line up: the 🔍 and 🔒 emoji are double-width, so the lines carrying them ran two columns past the frame while every other row sat short of it. Dropped both emoji and repadded every line to a uniform 62-column interior, verified by measuring East Asian width rather than counting characters. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
… default
- Add fallback using document.execCommand('copy') when navigator.clipboard or window.isSecureContext is unavailable (e.g. over plain HTTP on LAN)
- Route copyStateJson and copyTableCsv through copyToClipboard with user toast feedback
- Remove authorization headers and Bearer regex pattern from default redaction policy to allow inspecting and copying authorization tokens by default during debugging
- Update documentation in SECURITY_AND_REDACTION.md and THREAT_MODEL.md
- Update unit tests across SDK modules and add regression tests for clipboard copy fallback
Fixes #40
Both list surfaces rendered only the captured path, so two calls to the same endpoint -- /orders?status=open and /orders?status=all -- were two identical rows and had to be opened one by one to be told apart. The query was captured and redacted all along; it just never reached the row. - Add NetworkUrl.queryString (the redacted `a=1&b=2` form display already built inline) and emit it as "query" beside "path" in the network list summary JSON, mirrored byte-for-byte in the evidence snapshot - Web: rowHtml gains an optional mainSub, and Network rows pass the query into it -- dimmed after the path, with a title carrying both in full, so the endpoint stays the part that survives the row's ellipsis - Device: pathWithQuery() reads the query back off the transaction url and titles the traffic row with it; traffic search matches the query, and the two url.ifBlank fallbacks no longer drop it path itself stays bare everywhere: mock-rule prefill escapes it into a regex, and the path= filter and path facets group on the endpoint alone. InspectorTransactionUi deliberately gains no field for the same reason -- widening that data class would break its constructor and copy signatures for every compiled caller, and url already carries the query. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NPxRnPJNgsb3y455VCrDGU
…uth-token-access fix: support console clipboard copy fallback and unredacted auth tokens by default
…r-blocks-release fix: never let verification block a release build
Add separate create and post request at sample screen
nur-shuvo
added a commit
that referenced
this pull request
Sep 29, 2026
Feature/dashboard UI refactor (#46)
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.
What
Reworks the web dashboard's Network detail pane, then fixes what surfaced while driving both
inspectors on a device. One commit per point:
78509fe, docs in743b13d/12b9c2c) — the head'sfacts strip folds into a Summary tab that now leads the tab row, and seven actions move from a
flat row into a kebab (⋮) menu. The compare panes drop their duplicated "General" group.
DESIGN_SPEC.mdgains §4a for the resulting anatomy.12d678c) — the JSON tree flattens arrays into[key, value]pairs for diff addressing, and was printing that index as"0":. An index is aposition, not a field name; Compose never had this.
8e7fd0a) — Network rows wrap paths over four linesthen ellipsise, on web and Android. On web, status now sits above duration in one auto-width
column, handing ~70px back to the path. Required teaching the list virtualizer measured row
heights.
ba15c2a) — "share as JSON" quoted a JSON body intothe document, so it arrived as a wall of
\". Now inlined as real JSON on the network,WebSocket-frame and log detail screens. Same commit splits the sample's request card into GET and
POST so captures carry a request body.
d52947b) — the activity declaresadjustResize, sothe keyboard stops panning the window while
imePadding()added a second keyboard's worth ofpadding underneath; the editor header stops applying the status-bar inset twice; single-line
fields get
ImeAction.Done; the Save bar stands down while typing. Adds full-screen body editingthat shares one editing session with the inline field.
0bbd556) — expanding a body forced Raw, losing thecollapsible tree at the size where structure matters most. The overlay now carries the same
Pretty/Raw toggle and opens in whichever mode the pane was showing.
Verification
./gradlew testDebugUnitTest— passing./gradlew ktlintCheck detekt— clean, nothing baselined away./gradlew apiCheck— clean; no public API changed:samples:compose-app:assembleRelease :verifyDevConsoleProtectedArtifacts— run because thisedits the sample; release artifact clean
New tests cover the two pure helpers (share-as-JSON embedding, URL line breaking). Everything else
was checked on a physical device and in a browser by asserting state, not by eye: a 4000-row scroll
sweep at nine positions,
dumpsysconfirmingadjust=resize,uiautomatorfor footer/pillvisibility, and Pretty → collapse → Raw → close leaving the pane underneath intact.
Checklist
URL avoids every name on
RedactionPolicy.default()DESIGN_SPEC.md§4aown commit. Happy to split if you'd rather review them separately.
Anything reviewers should look at closely
The virtualizer rewrite (
createVirtualList). It assumed uniform--d-row-hrows and builtspacers as
count * rowH; it now measures per-row heights with lazily-rebuilt prefix sums, binarysearch, and a bounded corrective repaint that holds the anchor row's scroll position. It backs all
five list views and the web side has no test infrastructure, so the scroll sweep is the only guard.
An early version painted a blank frame on fast scrolls (34px estimate vs 46px real), which is why
the estimate self-calibrates to the shortest measured row.
Two smaller calls: the full-screen overlay caches its tree under a separate
'fs:'key, because acached tree is a live DOM node and reusing the inline one would move it out of the pane behind it;
and
breakingAnywhere()inserts U+2060 WORD JOINER into the Android row's displayed path so linesfill instead of breaking early — display-only, but it does put invisible characters in rendered
text, and Compose has no
break-allequivalent.Not verified on device: the plain code-block path in the expanded view (mock preview, remote config
value) where the toggle should stay hidden, and XML bodies.
🤖 Generated with Claude Code