From 4502e2406d4dbb4c6d354673c789679c65e19bd0 Mon Sep 17 00:00:00 2001 From: Ein Anderssono Date: Wed, 14 Oct 2026 22:49:18 +0200 Subject: [PATCH] Add multisensory accessible place details --- README.md | 2 ++ index.html | 26 +++++++++++++++++++++++++- scripts/check-frontend.sh | 5 +++++ 3 files changed, 32 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index bad475e..24fbb16 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,8 @@ This repository contains the static Swedish web client for the AI-driven life si Players provide a character biography, not a world description. The client asks the backend to create a biography-based starting place. It does not preview a person the player may meet; encounters belong to later world exploration. +Place descriptions are available as text with separate visual, sound, smell, air/temperature, touch/surface, and spatial-orientation cues so important scene information does not depend on sight. The current product has no image input or image interpretation flow; these cues are generated as part of the place proposal. + The browser and API stay on the same public origin, `https://ai-spel.k3s.k0.nu`. The ingress routes `/` to this frontend service and routes `/api`, `/version`, and `/health` to the Rust service. That keeps the current server-side session cookie same-origin and avoids browser CORS configuration. ## Release flow diff --git a/index.html b/index.html index 0bcf42f..9a90ceb 100644 --- a/index.html +++ b/index.html @@ -16,6 +16,9 @@ button { justify-self: start; cursor: pointer; } #status { min-height: 1.5em; } .card { border: 1px solid; border-radius: .5rem; padding: 1rem; margin-block: 1rem; } + dl { display: grid; grid-template-columns: minmax(8rem, 12rem) 1fr; gap: .35rem 1rem; } + dt { font-weight: 700; } + dd { margin: 0; } .row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; } .row button { margin-block: .4rem; } #transcript { min-height: 5rem; max-height: 28rem; overflow: auto; } @@ -52,9 +55,18 @@