Skip to content

Comments

fix: sync 14 news index files with main — merge opposition-motions + legislative-push articles#499

Merged
pethers merged 2 commits intonews-realtime/2026-02-24-1030-4fb2b8fdc2e10b86from
copilot/sub-pr-485
Feb 24, 2026
Merged

fix: sync 14 news index files with main — merge opposition-motions + legislative-push articles#499
pethers merged 2 commits intonews-realtime/2026-02-24-1030-4fb2b8fdc2e10b86from
copilot/sub-pr-485

Conversation

Copy link
Contributor

Copilot AI commented Feb 24, 2026

Main merged a new 2026-02-24 opposition-motions article while this branch held the legislative-push article, causing conflicts in all 14 language index files plus sitemap.xml and data/news-articles.json.

Changes

14 news index files (news/index*.html)

  • Rebased onto main's version (opposition-motions at JSON-LD position 3)
  • Re-inserted legislative-push at position 4; renumbered all subsequent positions
  • numberOfItems incremented by 1 in each file
  • Both articles now present in the JS articles[] data array in correct order

Resulting JSON-LD order for 2026-02-24:

position 1 → committee-reports
position 2 → government-propositions
position 3 → opposition-motions        ← from main
position 4 → legislative-push          ← this PR
position 5+ → 2026-02-23 articles...

sitemap.xml

  • Based on main's version (updated timestamps, opposition-motions blocks)
  • Injected 14 per-language <url> blocks for legislative-push after the opposition-motions group
  • Both articles now have 14 <loc> entries (224 hreflang refs each); total URL blocks: 751

data/news-articles.json

  • Based on main's version (generatedAt, metadata)
  • Re-inserted 14 legislative-push article entries after government-propositions entries
  • Result: 668 total articles, 57 unique slugs

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI changed the title [WIP] Add five propositions on civilian defence and psychological violence fix: sync 14 news index files with main — merge opposition-motions + legislative-push articles Feb 24, 2026
@pethers pethers marked this pull request as ready for review February 24, 2026 14:39
@pethers pethers merged commit ea3cea0 into news-realtime/2026-02-24-1030-4fb2b8fdc2e10b86 Feb 24, 2026
@pethers pethers deleted the copilot/sub-pr-485 branch February 24, 2026 14:39
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.

2 participants