[Bug] UI lists often start at index 2, why? #4

Closed
opened 2026-07-06 11:26:50 +02:00 by zemion · 1 comment
Owner

Imported from the consolidated GovOPlaN product backlog.

  • Source: /mnt/DATA/Nextcloud/ADD ideas UG/Products/govoplan/backlog.md
  • Line: 56
  • Section: Inbox

Imported backlog item:

- [ ] UI lists often start at index 2, why?
<!-- codex-backlog-fingerprint:e53e6b12e6885fea7edc4792 --> Imported from the consolidated GovOPlaN product backlog. - Source: `/mnt/DATA/Nextcloud/ADD ideas UG/Products/govoplan/backlog.md` - Line: `56` - Section: `Inbox` Imported backlog item: ```markdown - [ ] UI lists often start at index 2, why? ```
zemion added this to the Inbox milestone 2026-07-06 12:56:54 +02:00
Author
Owner

Codex State: done

Summary

  • Fixed the concrete Campaigns > Campaign > JSON slug leak by keeping breadcrumb hrefs as route paths instead of i18n message payloads.
  • Fixed the campaign report row-number display for one-based job entry_index values, which covered the observed list starting at 2 in campaign report/audit-style tables.
  • Added embedded visible-text i18n resolution so mixed labels like 'No i18n:...s available' resolve at the presentation layer without making structural values translatable.

Changed Files

  • webui/src/layout/BreadcrumbBar.tsx
  • webui/src/components/table/DataGrid.tsx
  • webui/src/i18n/LanguageContext.tsx
  • /mnt/DATA/git/govoplan-campaign/webui/src/features/campaigns/CampaignReportPage.tsx

Verification

  • npm run build (govoplan-core/webui)
  • npm run audit:i18n-structural (govoplan-core/webui)
  • npm run test:import-utils (govoplan-campaign/webui)
## Codex State: done ### Summary - Fixed the concrete Campaigns > Campaign > JSON slug leak by keeping breadcrumb hrefs as route paths instead of i18n message payloads. - Fixed the campaign report row-number display for one-based job entry_index values, which covered the observed list starting at 2 in campaign report/audit-style tables. - Added embedded visible-text i18n resolution so mixed labels like 'No i18n:...s available' resolve at the presentation layer without making structural values translatable. ### Changed Files - `webui/src/layout/BreadcrumbBar.tsx` - `webui/src/components/table/DataGrid.tsx` - `webui/src/i18n/LanguageContext.tsx` - `/mnt/DATA/git/govoplan-campaign/webui/src/features/campaigns/CampaignReportPage.tsx` ### Verification - `npm run build (govoplan-core/webui)` - `npm run audit:i18n-structural (govoplan-core/webui)` - `npm run test:import-utils (govoplan-campaign/webui)`
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: add-ideas/govoplan-core#4
No description provided.