[PR #14] [MERGED] Add Federal Reserve monitoring panel #18

Closed
opened 2026-03-16 12:12:05 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hipcityreg/situation-monitor/pull/14
Author: @hipcityreg
Created: 1/12/2026
Status: Merged
Merged: 1/12/2026
Merged by: @hipcityreg

Base: mainHead: feature/fed-panel


📝 Commits (1)

  • 7052c24 Add Federal Reserve monitoring panel

📊 Changes

9 files changed (+958 additions, -6 deletions)

View changed files

src/lib/api/fred.ts (+367 -0)
📝 src/lib/api/index.ts (+2 -0)
src/lib/components/panels/FedPanel.svelte (+396 -0)
📝 src/lib/components/panels/index.ts (+1 -0)
📝 src/lib/config/api.ts (+11 -0)
📝 src/lib/config/panels.ts (+4 -2)
src/lib/stores/fed.ts (+123 -0)
📝 src/lib/stores/index.ts (+10 -0)
📝 src/routes/+page.svelte (+44 -4)

📄 Description

Summary

  • Add dedicated Federal Reserve panel with real-time economic indicators and news
  • Fetch from 5 official Fed RSS feeds (monetary policy, Powell speeches, testimony, announcements)
  • Integrate FRED API for economic data (Fed Funds Rate, CPI Inflation, 10Y Treasury)
  • Highlight Powell-related content with gold badges and priority sorting
  • Add video/speeches section with live broadcast link

Features

  • Economic Indicators: Fed Funds Rate, CPI (YoY), 10-Year Treasury yield with change indicators
  • Rich News Feed: Content from multiple Fed RSS sources with type badges (Monetary Policy, Speech, Testimony, etc.)
  • Powell Highlighting: Items mentioning Powell get gold borders and POWELL badges
  • Video Section: Items with video/webcast content highlighted with play icons
  • Live Broadcast Link: Pulsing indicator linking to Fed's live video page

Configuration

Requires VITE_FRED_API_KEY environment variable for economic indicators (free at https://fred.stlouisfed.org/docs/api/api_key.html). Panel works without it but only shows news.

Test plan

  • Verify panel appears in dashboard
  • Test with FRED API key - economic indicators should display
  • Test without API key - should show "Add VITE_FRED_API_KEY" message
  • Verify news items load from Fed RSS feeds
  • Verify Powell items are highlighted and sorted first
  • Run npm run check - no TypeScript errors
  • Run npm run test:unit - all tests pass

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hipcityreg/situation-monitor/pull/14 **Author:** [@hipcityreg](https://github.com/hipcityreg) **Created:** 1/12/2026 **Status:** ✅ Merged **Merged:** 1/12/2026 **Merged by:** [@hipcityreg](https://github.com/hipcityreg) **Base:** `main` ← **Head:** `feature/fed-panel` --- ### 📝 Commits (1) - [`7052c24`](https://github.com/hipcityreg/situation-monitor/commit/7052c245f8f8a53160b3a8d1c3c7f01606f51e11) Add Federal Reserve monitoring panel ### 📊 Changes **9 files changed** (+958 additions, -6 deletions) <details> <summary>View changed files</summary> ➕ `src/lib/api/fred.ts` (+367 -0) 📝 `src/lib/api/index.ts` (+2 -0) ➕ `src/lib/components/panels/FedPanel.svelte` (+396 -0) 📝 `src/lib/components/panels/index.ts` (+1 -0) 📝 `src/lib/config/api.ts` (+11 -0) 📝 `src/lib/config/panels.ts` (+4 -2) ➕ `src/lib/stores/fed.ts` (+123 -0) 📝 `src/lib/stores/index.ts` (+10 -0) 📝 `src/routes/+page.svelte` (+44 -4) </details> ### 📄 Description ## Summary - Add dedicated Federal Reserve panel with real-time economic indicators and news - Fetch from 5 official Fed RSS feeds (monetary policy, Powell speeches, testimony, announcements) - Integrate FRED API for economic data (Fed Funds Rate, CPI Inflation, 10Y Treasury) - Highlight Powell-related content with gold badges and priority sorting - Add video/speeches section with live broadcast link ## Features - **Economic Indicators**: Fed Funds Rate, CPI (YoY), 10-Year Treasury yield with change indicators - **Rich News Feed**: Content from multiple Fed RSS sources with type badges (Monetary Policy, Speech, Testimony, etc.) - **Powell Highlighting**: Items mentioning Powell get gold borders and POWELL badges - **Video Section**: Items with video/webcast content highlighted with play icons - **Live Broadcast Link**: Pulsing indicator linking to Fed's live video page ## Configuration Requires `VITE_FRED_API_KEY` environment variable for economic indicators (free at https://fred.stlouisfed.org/docs/api/api_key.html). Panel works without it but only shows news. ## Test plan - [ ] Verify panel appears in dashboard - [ ] Test with FRED API key - economic indicators should display - [ ] Test without API key - should show "Add VITE_FRED_API_KEY" message - [ ] Verify news items load from Fed RSS feeds - [ ] Verify Powell items are highlighted and sorted first - [ ] Run `npm run check` - no TypeScript errors - [ ] Run `npm run test:unit` - all tests pass 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem closed this issue 2026-03-16 12:12:16 +03:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/situation-monitor#18
No description provided.