Skip to content

01a02915 - Live RealUnit geo-filter table in the handbook - #930

Merged
TaprootFreak merged 3 commits into
stagingfrom
feat/handbook-live-geo-table
Aug 22, 2026
Merged

01a02915 - Live RealUnit geo-filter table in the handbook#930
TaprootFreak merged 3 commits into
stagingfrom
feat/handbook-live-geo-table

Conversation

@TaprootFreak

Copy link
Copy Markdown
Contributor

EN:
Adds a live RealUnit share-token geo-filter table to the handbook.
handbook.realunit.app loads GET /v1/country at runtime and does not copy country rows into the repo.
Until DFXswiss/backend is deployed, the realunit columns stay empty and the page says so.

DE:
Ergänzt die Live-Tabelle des RealUnit-Aktientoken-Geo-Filters im Handbook.
handbook.realunit.app lädt GET /v1/country zur Laufzeit und kopiert keine Länderzeilen ins Repo.
Solange DFXswiss/backend nicht deployed ist, bleiben die realunit-Spalten leer; die Seite weist darauf hin.

Details

Section #spec-geo in docs/handbook/de/index.html. Client docs/handbook/de/geo-filter.js tries same-origin /v1/country (nginx proxy in handbook.nginx.conf) then https://api.dfx.swiss/v1/country. Screenshot count is unchanged. No Dart/UI change, no goldens.

The geo-filter columns only appear after the merged backend CountryDto.realunit is live on that API.

The Aktientoken geo-filter section loads GET /v1/country at runtime so
handbook.realunit.app displays the live country table without copying rows
into this repo. nginx proxies /v1/country to the public API.
GET /v1/country is public. Stripping Authorization on the nginx proxy
keeps handbook credentials out of upstream logs.
Document realunit.residence/nationality as the GET /v1/country shape and
place the live table section immediately after spec-79, matching the TOC.
@TaprootFreak

Copy link
Copy Markdown
Contributor Author

EN:
Ready after 3 review passes.
Adds a live RealUnit share-token geo-filter table to the handbook that loads GET /v1/country at runtime.

DE:
Bereit nach 3 Review-Durchläufen.
Ergänzt die Live-Tabelle des RealUnit-Aktientoken-Geo-Filters im Handbook, geladen aus GET /v1/country.

Details

Pass 1: strip handbook Basic Auth on the nginx /v1/country proxy.
Pass 2: document nested realunit.residence / realunit.nationality JSON and place #spec-geo after spec-79 to match the TOC.
Pass 3: both review dimensions reported 0 defects.

No copied country rows. Screenshot count unchanged. Open comments: none. mergeable=MERGEABLE.

Until the backend CountryDto is deployed, the API has no realunit object and the table shows empty geo columns with a warning.

@TaprootFreak
TaprootFreak marked this pull request as ready for review August 22, 2026 17:37
@TaprootFreak
TaprootFreak merged commit 568f6a4 into staging Aug 22, 2026
12 checks passed
@TaprootFreak
TaprootFreak deleted the feat/handbook-live-geo-table branch August 22, 2026 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant