1.6 KiB
1.6 KiB
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:
- Load ui/bootstrap, dashboard, profiles, images, jobs, settings, logs.
- Verify signed image preview, refresh, batch selection, retry/cancel, settings save, and log filtering.
- Verify 401, timeout, empty data, partial data, and backend restart recovery.
- 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.