Skip to content

Use consistent panel-order storage key and consolidate into constant#32

Merged
koala73 merged 1 commit into
mainfrom
codex/update-variant-change-reset-logic
Jan 26, 2026
Merged

Use consistent panel-order storage key and consolidate into constant#32
koala73 merged 1 commit into
mainfrom
codex/update-variant-change-reset-logic

Conversation

@koala73

@koala73 koala73 commented Jan 26, 2026

Copy link
Copy Markdown
Owner

Motivation

  • Ensure the variant-change reset removes the same panel-order key used across the app and centralize the key to avoid future mismatches.

Description

  • Added a PANEL_ORDER_KEY constant ('panel-order') to src/App.ts and used this.PANEL_ORDER_KEY for reads/writes instead of the scattered literals; replaced the mistaken 'worldmonitor-panel-order' removal with the unified key and updated migration code and getSavedPanelOrder/savePanelOrder.

Testing

  • No automated tests were run for this change.

Codex Task

@vercel

vercel Bot commented Jan 26, 2026

Copy link
Copy Markdown

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

Project Deployment Review Updated (UTC)
worldmonitor Ready Ready Preview, Comment Jan 26, 2026 7:08pm
worldmonitor-startup Ready Ready Preview, Comment Jan 26, 2026 7:08pm
worldmonitor-test Ready Ready Preview, Comment Jan 26, 2026 7:08pm

Request Review

@koala73
koala73 merged commit 079c8d9 into main Jan 26, 2026
4 checks passed
@koala73
koala73 deleted the codex/update-variant-change-reset-logic branch January 26, 2026 19:14
@SebastienMelki SebastienMelki added the area: panels Panel system, layout, drag-and-drop label Feb 17, 2026
facusturla pushed a commit to facusturla/worldmonitor that referenced this pull request Feb 27, 2026
…oala73#32)

### Motivation
- Ensure the variant-change reset removes the same panel-order key used
across the app and centralize the key to avoid future mismatches.

### Description
- Added a `PANEL_ORDER_KEY` constant (`'panel-order'`) to `src/App.ts`
and used `this.PANEL_ORDER_KEY` for reads/writes instead of the
scattered literals; replaced the mistaken `'worldmonitor-panel-order'`
removal with the unified key and updated migration code and
`getSavedPanelOrder`/`savePanelOrder`.

### Testing
- No automated tests were run for this change.

------
[Codex
Task](https://chatgpt.com/codex/tasks/task_b_6977b8c537cc832eb4ef5d877cb282d6)
EleCor79 added a commit to EleCor79/BehavioralHealthPulse that referenced this pull request Mar 2, 2026
Distribute all 32 feeds from feeds-health-italy-eu.csv into the FEEDS
config consumed by loadNews() / fetchCategoryFeeds():

- ministero-salute: +MinSalute News Specifiche (CSV koala73#18)
- iss-epicentro:    +ISS Notizie (CSV koala73#3), +Epicentro Coronavirus (CSV koala73#17)
- aifa-tracker:     +AIFA Feed (CSV koala73#5), +EMA News (CSV koala73#8), +FDA (CSV koala73#12)
- agenas-ospedali:  +AGENAS RSS (CSV koala73#4), +PNRR (CSV koala73#6/koala73#19),
                    +Lombardia (CSV koala73#20), +Lazio (CSV koala73#21)
- ema-europa:       +EMA Clinical Trials (CSV koala73#22)
- ecdc-sorveglianza:+ECDC Weekly Threats (CSV koala73#23), +WHO DON (CSV koala73#9),
                    +ProMED (CSV koala73#10)
- live-news:        +Sanitainformazione (CSV koala73#24), +Humanitas (CSV koala73#26)
- europe:           +EU Core Health Indicators (CSV koala73#31),
                    +GLOBSEC HRI (CSV koala73#32), +ISTAT (CSV koala73#13),
                    +EIN Health Europe (CSV koala73#29)
- rare-diseases:    NEW category — EURORDIS (CSV koala73#14), Orphanet IT (CSV koala73#15),
                    Telethon (CSV koala73#16), CDC FluView (CSV koala73#11)
                    Panel disabled by default, available in settings

Co-Authored-By: Claude Opus 4.6 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: panels Panel system, layout, drag-and-drop codex

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants