Run artifact

workspace/targets/ReadingList/blueprint/UI-GENERAL.md

UI-GENERAL: Reading List Interface

FieldValue
Version20261023 V1
DescriptionShared server-rendered interface patterns for the ReadingList application.
Depends OnARCHITECTURE.md
Providesshared reading-list layout and feedback patterns
Consumesapp_server.create_app

Interface Patterns

The page uses a consistent server-rendered layout with a clear page title, an add-book form, accessible labels for title and author, a list region, and action controls.

The list displays books in the order supplied by the reading-list feature. When no books exist, the page presents a clear empty-list state. Validation failures preserve the form workflow and expose field-specific feedback without discarding the submitted values.

Controls use ordinary HTML form submission and remain usable without undocumented client-side behavior.

Programmatic Acceptance

=== AC ui-general-client ===
Intent: The shared interface is available through the application's published testing client.

from app_server.testing import web_client

client = web_client() response = client.get("/") assert response.status_code == 200 assert response.request.path == "/" === END AC ui-general-client ===

=== AC ui-general-form ===
Intent: The primary interface accepts the declared book form fields.

from app_server.testing import web_client

title = "Interface Acceptance Title" author = "Interface Acceptance Author"

client = web_client() response = client.post( "/books", data={"title": title, "author": author}, ) assert response.status_code in (200, 302, 303) === END AC ui-general-form ===

User Acceptance

Guardrails