31 行
1.6 KiB
Markdown
31 行
1.6 KiB
Markdown
# UI Integration Validation
|
|
|
|
Date: 2026-07-21
|
|
Branch: codex/ui-redesign-gallery
|
|
|
|
## Local checks
|
|
|
|
- Plugin bridge source keeps ready/context handshake, GET/POST request routing, timeout handling, JSON-safe payload cloning, and error unwrapping.
|
|
- Direct API base remains /api/v1/plugins/extensions/astrbot_plugin_imagestudio.
|
|
- Plugin-page production build passed.
|
|
- Standalone-web production build passed.
|
|
- No local AstrBot host was available on the checked ports; no real bootstrap or signed-media response was claimed.
|
|
|
|
## Checked failure paths
|
|
|
|
- Direct transport reports network_unreachable when the API is unavailable.
|
|
- HTML/non-JSON responses are converted to invalid_api_response with a bounded preview.
|
|
- 401/HTTP failures remain ApiClientError values and are surfaced through the backend connection banner.
|
|
- Preview mode is explicit and write actions are blocked until a connected backend with write permission is present.
|
|
- Media URLs use the plugin bridge signing path instead of unauthenticated direct img requests.
|
|
|
|
## Required host acceptance
|
|
|
|
Run the following in an AstrBot plugin page with a real session:
|
|
|
|
1. Load ui/bootstrap, dashboard, profiles, images, jobs, settings, logs.
|
|
2. Verify signed image preview, refresh, batch selection, retry/cancel, settings save, and log filtering.
|
|
3. Verify 401, timeout, empty data, partial data, and backend restart recovery.
|
|
4. Record AstrBot version, ImageStudio plugin version, and screenshots.
|
|
|
|
Status: source-level integration is ready; live host acceptance is pending because no AstrBot plugin host is running in this workspace.
|