Skip to content

feat(oref): show history waves timeline in sirens panel#618

Merged
koala73 merged 1 commit into
mainfrom
feat/oref-history-waves
Mar 1, 2026
Merged

feat(oref): show history waves timeline in sirens panel#618
koala73 merged 1 commit into
mainfrom
feat/oref-history-waves

Conversation

@koala73

@koala73 koala73 commented Mar 1, 2026

Copy link
Copy Markdown
Owner

Summary

  • Display alert history waves in the Israel Sirens panel (most recent 50 waves)
  • Last-hour waves get amber highlight + RECENT badge; older waves get muted styling
  • Hebrew history alerts translated via existing LLM translation pipeline
  • Fix NaN time display ("NaNd") from unparseable OREF date formats
  • Cap relay history bootstrap to 500 records; 3-minute fetch TTL prevents over-polling

Test plan

  • Deploy to Vercel preview and confirm history waves appear below the status banner
  • Verify recent waves (< 1h) show amber border and RECENT badge
  • Confirm alert titles/types are translated to English (not Hebrew)
  • Verify no "NaNd" appears in time fields
  • Check scrollability when many waves are present (max-height 320px)

- Fetch and display alert history waves in OrefSirensPanel (cap 50 most recent)
- Last-hour waves highlighted with amber border and RECENT badge
- Translate Hebrew history alerts via existing translateAlerts pipeline
- Guard formatAlertTime/formatWaveTime against NaN from unparseable OREF dates
- Cap relay history bootstrap to 500 records
- Add 3-minute TTL to prevent re-fetching history on every 10s poll
- Remove dead .oref-footer/.oref-history CSS; add i18n key for history summary
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@vercel

vercel Bot commented Mar 1, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
worldmonitor Building Building Preview, Comment Mar 1, 2026 0:22am
worldmonitor-finance Building Building Preview, Comment Mar 1, 2026 0:22am
worldmonitor-happy Building Building Preview, Comment Mar 1, 2026 0:22am
worldmonitor-startup Building Building Preview, Comment Mar 1, 2026 0:22am

Request Review

@koala73
koala73 merged commit d24e094 into main Mar 1, 2026
6 checks passed
koala73 added a commit that referenced this pull request Mar 1, 2026
…618)

- Fetch and display alert history waves in OrefSirensPanel (cap 50 most recent)
- Last-hour waves highlighted with amber border and RECENT badge
- Translate Hebrew history alerts via existing translateAlerts pipeline
- Guard formatAlertTime/formatWaveTime against NaN from unparseable OREF dates
- Cap relay history bootstrap to 500 records
- Add 3-minute TTL to prevent re-fetching history on every 10s poll
- Remove dead .oref-footer/.oref-history CSS; add i18n key for history summary
matthewvecchione1-ops pushed a commit to matthewvecchione1-ops/worldmonitor that referenced this pull request Mar 4, 2026
…oala73#618)

- Fetch and display alert history waves in OrefSirensPanel (cap 50 most recent)
- Last-hour waves highlighted with amber border and RECENT badge
- Translate Hebrew history alerts via existing translateAlerts pipeline
- Guard formatAlertTime/formatWaveTime against NaN from unparseable OREF dates
- Cap relay history bootstrap to 500 records
- Add 3-minute TTL to prevent re-fetching history on every 10s poll
- Remove dead .oref-footer/.oref-history CSS; add i18n key for history summary
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