Show the news and the market, and set news and calendar from the settings (refs #60)
ci / test (postgres) (pull_request) Successful in 9m38s
ci / test (sqlite) (pull_request) Successful in 5m26s
ci / image (pull_request) Successful in 2m23s
ci / test (postgres) (push) Successful in 9m28s
ci / test (sqlite) (push) Successful in 5m3s
ci / image (push) Successful in 1m56s

The news screen of SPEC 13 lists what the bot read in the last 24 hours and
what it did about each story, with the three filters of the mockup, the mood
of the market, the calendar with the effect of each event, the sources and
the spending of the day. Each note of the bot now keeps its action sentence
and the end of its restriction, so the screen shows the decision as it was.

Settings gain a news section: the rows of SPEC 10.5, the sources (enable and
trust), the key and daily cap of the language model, the Finnhub and FRED
keys and the central bank meetings. The demo seeds the F.9 data and matches
the mockup; the overview tile now shows the real news that matter.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Alby96andClaude Opus 5.5 committed 2026-11-17 15:43:09 +01:00
1 parent b087dd215b
commit 959fe6ccba
22 files changed
+1378 -25

No files matched your search

+51 -1
View File
@@ -634,9 +634,55 @@ legend { display: flex; align-items: center; gap: 10px; font-size: 17px; font-we
.host { display: flex; flex-direction: column; gap: 12px; }
.host > h2 { margin-bottom: 0; }
.host .btn { align-self: flex-start; }
/* ---- Notizie e mercato (mockup 05) ---- */
.page-lead { margin: 0 0 20px; font-size: 15px; line-height: 22px; }
.news-columns { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.news-panel { padding: 24px 26px; }
.news-panel > .panel-head { padding-bottom: 16px; margin-bottom: 0; border-bottom: 1px solid var(--rule); }
.news-rows { list-style: none; margin: 0; padding: 0; }
.news-rows li { display: flex; flex-direction: column; gap: 8px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.news-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin: 0; color: var(--text-3); font-size: 13.5px; }
.tag-strong { color: var(--text); font-weight: 600; }
.tag-outline { background: none; border: 1px solid var(--control); color: var(--text); font-weight: 400; }
.panel h3.news-title { margin: 0; font-size: 16px; line-height: 22px; font-weight: 600; }
.news-facts { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 24px; margin: 0; color: var(--text-2); font-size: 13.5px; }
.tone { display: inline-flex; align-items: center; gap: 8px; }
.tone .tone-text { color: var(--text-2); }
.tone-flat { display: inline-block; width: 10px; height: 2px; background: currentColor; }
.importance { display: inline-flex; align-items: center; gap: 8px; }
.importance-bars { display: inline-flex; gap: 2px; }
.importance-bars span { width: 5px; height: 12px; border-radius: 1.5px; background: var(--track); }
.importance-bars span.on { background: var(--text); }
.news-rows .notice { margin: 4px 0 0; }
.news-action { margin: 0; font-size: 13.5px; color: var(--text-2); }
.news-action strong, .news-rows .notice strong { font-weight: 650; color: inherit; }
.news-action strong { color: var(--text); }
.news-more { display: flex; justify-content: center; padding-top: 16px; }
.news-empty { padding: 16px 0 4px; }
.news-side .panel { padding: 22px 26px; }
.gauges { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.gauge-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 13.5px; color: var(--text-2); }
.gauge-head strong { color: var(--text); font-size: 15px; font-weight: 650; }
.gauge-track { position: relative; height: 4px; margin: 10px 6px 6px; border-radius: 2px; background: var(--track); }
.gauge-track.centered::before { content: ""; position: absolute; left: 50%; top: -5px; width: 1px; height: 14px; background: var(--control); }
.gauge-dot { position: absolute; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--text); }
.gauge-ends { display: flex; justify-content: space-between; gap: 12px; color: var(--text-3); font-size: 12.5px; }
.gauges li .hint { margin: 4px 0 0; }
.gauges-note { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--rule); }
.calendar-list { list-style: none; margin: 12px 0 0; padding: 0; }
.calendar-list li { display: flex; flex-direction: column; gap: 2px; padding: 14px 0; border-top: 1px solid var(--rule); font-size: 13.5px; }
.calendar-list li:last-child { padding-bottom: 2px; }
.calendar-list strong { font-size: 14.5px; font-weight: 600; }
.attention-text { color: var(--attention); }
.source-list { list-style: none; margin: 8px 0 12px; padding: 0; }
.source-list li { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--rule-inner); font-size: 14px; }
.source-list li > span:first-child { display: inline-flex; }
.source-list .muted { text-align: right; }
@media (max-width: 1180px) {
.overview-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.overview-row-wide, .journal-columns { grid-template-columns: minmax(0, 1fr); }
.overview-row-wide, .journal-columns, .news-columns { grid-template-columns: minmax(0, 1fr); }
}
/* ---- Service pages ---- */
@@ -736,4 +782,8 @@ legend { display: flex; align-items: center; gap: 10px; font-size: 17px; font-we
.chip { min-height: 40px; }
.journal-side { gap: 14px; }
.job-list li { grid-template-columns: 84px minmax(0, 1fr); }
.news-panel, .news-side .panel { padding: 18px; }
.news-panel > .panel-head .segmented { display: flex; width: 100%; }
.news-panel > .panel-head .segmented a { flex: 1 1 0; text-align: center; padding: 8px 6px; min-height: 44px; display: flex; align-items: center; justify-content: center; }
.news-columns, .news-side { gap: 14px; }
}