Add preview states for RuntimesScreen with various connection statuses#51
Add preview states for RuntimesScreen with various connection statuses#51harshjainnn wants to merge 1 commit into
Conversation
|
@harshjainnn is attempting to deploy a commit to the adam-7512's projects Team on Vercel. A member of the Team first needs to authorize it. |
adamcohenhillel
left a comment
There was a problem hiding this comment.
Reviewed the preview-only RuntimesScreen change and ran local repo validation in an isolated worktree: ./scripts/check.sh and git diff --check both passed.
|
Reviewed against latest Local validation after merging the PR onto current main:
I am intentionally not merging this because the PR is not authored by |
Summary
Replaces the generic
RuntimesScreenPreviewinRuntimesScreen.ktwith 6state-specific Compose previews covering the major runtime manager/adapter
states (connected, connecting, auth failed, disabled manager, no runtime
configured, degraded). Adds a
fakeRuntimesState()helper to builddeterministic mock state for each preview. Closes #37 .
This is a UI-only change — no runtime protocol, adapter behavior,
authentication, or settings persistence logic was touched.
Validation
./scripts/check.shgit diff --checkRisk
personal device data, or proprietary vendor files are included.
audit, model-provider, or device-control changes.
changes.
Contributor Agreement
the contributor assignment/license/no-compensation terms.