Name the Local area, say what each News section needs, and credit its sources

Local reads the area at the view centre (`/outline?at=`) and asks the feed
for its reports (`at`): the area is outlined faintly on the globe and named
at the top of the section ("News from Kazakhstan"; within 500 km at sea).
A disputed area is named as itself. A read that a newer look replaced, or
one left behind by a switch to Conflicts, is dropped, and a server without
the area route is asked once.

A section read from a key the server lacks says which key it needs
(503 `no_key`), that the key was refused (`key_rejected`) or that its
daily allowance is spent (`key_quota`); the other section keeps reading.
Liveuamap and World News API join the key registry.

Cards name the service a report came through ("via GDELT Project"), and
Liveuamap and Natural Earth are credited once their data shows. Economy is
a category of its own. Disputed-area labels are smaller and show the name
only; outlines keep up to 300 parts.
This commit is contained in:
Denis Groshev committed 2026-11-06 00:45:31 +01:00
1 parent fa736a7cd5
commit edb5837ae5
27 files changed
+1343 -154

No files matched your search

+14
View File
@@ -116,6 +116,10 @@
letter-spacing: 0.12em;
text-transform: uppercase;
}
/* What Local reads, in the primary colour so it reads before the list. */
.news-readout__area {
color: var(--text-primary);
}
.news-readout__sections,
.news-readout__chips {
display: flex;
@@ -169,6 +173,11 @@
color: var(--text-dim);
font: 10px var(--font-mono);
}
/* A missing key's next step, under what it holds back. */
.news-readout__empty .ui-empty__hint {
display: block;
margin-top: 2px;
}
.news-readout__footer {
display: flex;
align-items: center;
@@ -306,6 +315,11 @@
fill: var(--news-color);
stroke: none;
}
/* The service a report came through: credited, and kept quiet. */
.news-card__via {
color: var(--text-dim);
font: 9px var(--font-mono);
}
.news-card__severity {
flex: none;
color: var(--news-color);