chore(web): enable Flutter web target
Adds the platform scaffolding flutter create produces for web
(web/index.html, manifest.json, favicon, icons). flutter build
web --release compiles the existing codebase to JS in ~16 s.
.metadata records the platform now lists web.
What works on web today:
- Mock-mode UI (the same five fixture norms, sorted,
inline-text-card, browser-open via launchUrl which becomes
'open in new tab' in the browser).
- All static screens (Heatmap, Normen, Methodik, Recht).
What does NOT yet work on web:
- Hub-mode gRPC. chain_client_sdk_dart uses package:grpc,
which in a browser needs the gRPC-Web wire format
(text/grpc-web+proto over fetch). The Ch∆In Hub speaks
gRPC-Web on the same port per docs/architecture/
protocol-surfaces.md, but the client SDK needs a small
web-channel branch to actually use it. Phase 1 task.
Why this matters: a single URL the AG can click is a different
political artefact than a downloaded .app. Web + macOS share
the same Recl∆Im codebase; nobody has to choose.
Signed-off-by: flemming-it <sf@flemming.it>
This commit is contained in:
parent
116310b65b
commit
b06e686001
8 changed files with 82 additions and 1 deletions
BIN
app/web/favicon.png
Normal file
BIN
app/web/favicon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 917 B |
Loading…
Add table
Add a link
Reference in a new issue