Skip to content

Improve the inspector and dashboard for QA - #60

Merged
nur-shuvo merged 1 commit into
mainfrom
improve/inspector-dqa
Nov 11, 2026
Merged

nur-shuvo merged 1 commit into
mainfrom
improve/inspector-dqa

Conversation

@Shakibuzzaman3104

Copy link
Copy Markdown
Collaborator

Summary

A design and QA pass over the phone inspector and the web dashboard, ahead of 1.4.0.

New

  • Test conditions on the phone (Control) and the web (Mocks): one tap for Slow network, No connection, Timeouts, Server errors or Signed out. A condition set on one surface shows on the other, and it lasts until it is turned off or the app restarts.
  • Failed request count on the floating button. It ignores mocked responses and clears when the inspector opens.
  • Copy for bug report on the web, with build and device.

Phone

  • Request and response bodies at a glance, an easier mock editor, sockets grouped by connection, and plainer labels.
  • Traffic says when responses aren't real, with a one-tap Turn off. Slow network responses read "slowed", because they are real.
  • Fixes the Failed chip and sharing exports.

Web

  • Network opens on Body with request and response together, and actions are labelled buttons.
  • The mock dialog asks for method, path, action and response, with the rest under Advanced options. A blank path warns that it matches every request.
  • WebSockets lists connections first and says Sent, Received and messages instead of RECV, SENT and frames.
  • The header shows the build and device. Crash rows are readable, and the side menu fits a 900 px high screen.

Behaviour changes to review

  • The UNREDACTED stamp now shows only when redaction is on. Redaction is off by default, so it was on every screenshot. The export manifest still records the field.
  • Composer labels are now Send request and Refresh list, and DashboardAssetsTest is updated to match.

Testing

  • Unit tests pass for ui-compose, full and server-ktor (1,063 tests), along with ktlint, detekt, apiCheck and the sample build, all run locally.
  • ui-compose.api changes are Compose lambda renames only. No public API changed.
  • Tested on an API 37 emulator, and in Chrome at 1440x900 in dark and light against the assets served by the SDK.

Not tested

  • Loading the dashboard from a real phone over Wi-Fi.
  • MQTT connections in the WebSockets strip, because the sample has none.

Add one-tap test conditions on the phone and the web, and a failed
request count on the floating button.

Simplify the phone inspector: request and response bodies at a glance,
an easier mock editor, sockets grouped by connection, and plain labels.
Fix the Failed chip and sharing exports.

Bring the web dashboard in line: Network opens on Body with labelled
actions, a simpler mock dialog, a connection strip for WebSockets, Copy
for bug report, and device details in the header. The UNREDACTED stamp
now shows only when redaction is on.
@nur-shuvo
nur-shuvo merged commit 3a98c93 into main Nov 11, 2026
1 check passed
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