Skip to content

Fix structured data, OG image dimensions, breadcrumbs, Arabic grammar and footer labels in opposition motions articles#722

Merged
pethers merged 2 commits intomain-a63e2522f5845fd5from
copilot/sub-pr-715-again
Mar 2, 2026
Merged

Fix structured data, OG image dimensions, breadcrumbs, Arabic grammar and footer labels in opposition motions articles#722
pethers merged 2 commits intomain-a63e2522f5845fd5from
copilot/sub-pr-715-again

Conversation

Copy link
Contributor

Copilot AI commented Mar 2, 2026

Review thread #3874605811 flagged 5 categories of defects across the 14 2026-03-02-opposition-motions-*.html files introduced in PR #719.

Changes

All 14 files — OG/JSON-LD image dimensions

  • og:image:width/height: 1200×630140×140
  • JSON-LD ImageObject width/height: same correction
  • Asset is cia-icon-140.webp; declaring 1200×630 caused incorrect social previews

en.html — JSON-LD articleBody removed

  • Field contained HTML-escaped, mid-sentence–truncated content; removed entirely per reviewer suggestion

13 non-EN files — Breadcrumb item URLs localized

// Before (all localized pages pointed to non-localized root)
{ "position": 1, "item": "https://riksdagsmonitor.com/" }
{ "position": 2, "item": "https://riksdagsmonitor.com/news/index.html" }

// After (e.g. nl.html)
{ "position": 1, "item": "https://riksdagsmonitor.com/index_nl.html" }
{ "position": 2, "item": "https://riksdagsmonitor.com/news/index_nl.html" }

ar.html — Arabic numeral agreement

  • قدم نواب المعارضة 20 اقتراحات جديدةقدّم نواب المعارضة 20 اقتراحاً جديداً

13 non-EN files — Footer "Quick Links" labels localized

  • Home/News replaced with language-native equivalents (Accueil/Actualités, Hjem/Nyheder, Startseite/Nachrichten, Inicio/Noticias, Etusivu/Uutiset, דף הבית/חדשות, ホーム/ニュース, /뉴스, Startpagina/Nieuws, Hjem/Nyheter, Hem/Nyheter, 首页/新闻)
  • en.html footer unchanged (English labels are correct)

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

@github-actions github-actions bot added the size-xs Extra small change (< 10 lines) label Mar 2, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Mar 2, 2026

🏷️ Automatic Labeling Summary

This PR has been automatically labeled based on the files changed and PR metadata.

Applied Labels: size-xs

Label Categories

  • 🗳️ Content: news, dashboard, visualization, intelligence
  • 💻 Technology: html-css, javascript, workflow, security
  • 📊 Data: cia-data, riksdag-data, data-pipeline, schema
  • 🌍 I18n: i18n, translation, rtl
  • 🔒 ISMS: isms, iso-27001, nist-csf, cis-controls
  • 🏗️ Infrastructure: ci-cd, deployment, performance, monitoring
  • 🔄 Quality: testing, accessibility, documentation, refactor
  • 🤖 AI: agent, skill, agentic-workflow

For more information, see .github/labeler.yml.

Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
Copilot AI changed the title [WIP] Add opposition motions articles 2026-03-02 Fix structured data, OG image dimensions, breadcrumbs, Arabic grammar and footer labels in opposition motions articles Mar 2, 2026
@pethers pethers marked this pull request as ready for review March 2, 2026 09:18
@pethers pethers merged commit 5a7119e into main-a63e2522f5845fd5 Mar 2, 2026
@pethers pethers deleted the copilot/sub-pr-715-again branch March 2, 2026 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size-xs Extra small change (< 10 lines)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants