mirror of
https://github.com/niels-emmer/wall-cast.git
synced 2026-09-13 23:53:36 +02:00
[PR #1] [MERGED] feat(warnings): KNMI weather warnings widget #2
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
github-mirrors/wall-cast#2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/niels-emmer/wall-cast/pull/1
Author: @niels-emmer
Created: 3/21/2026
Status: ✅ Merged
Merged: 3/21/2026
Merged by: @niels-emmer
Base:
main← Head:weather-warnings📝 Commits (1)
30eeb59feat(warnings): add KNMI weather warnings widget📊 Changes
13 files changed (+736 additions, -10 deletions)
View changed files
📝
backend/app/main.py(+2 -1)➕
backend/app/routers/warnings.py(+157 -0)📝
config/wall-cast.yaml(+2 -0)📝
docs/memory/INDEX.md(+21 -3)📝
docs/memory/records/decision-log.md(+12 -0)➕
docs/memory/records/future-ideas.md(+226 -0)➕
frontend/src/hooks/use-warnings.ts(+13 -0)📝
frontend/src/i18n/translations.ts(+19 -0)📝
frontend/src/types/api.ts(+13 -0)📝
frontend/src/widgets/base-registry.ts(+4 -0)📝
frontend/src/widgets/rotate/RotatorWidget.tsx(+46 -5)➕
frontend/src/widgets/warnings/WarningsWidget.tsx(+220 -0)📝
frontend/vite.config.ts(+1 -1)📄 Description
Summary
onSkip()mechanism (WidgetProps) so any future widget can opt out of rotation when it has no contentvite.config.tsproxy updated to192.168.101.184sonpm run devworks against the live VPS backend without DockerTest plan
docker compose up --build -don the VPSGET /api/warningsreturns{"warnings": []}during calm weathernpm run dev(frontend only) connects to VPS backend via proxy🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.