Skip to content

feat(i18n): add EN/FR translations, article pagination, and favicon#7

Merged
thlaure merged 4 commits intomasterfrom
feat/i18n-pagination-ui
Mar 14, 2026
Merged

feat(i18n): add EN/FR translations, article pagination, and favicon#7
thlaure merged 4 commits intomasterfrom
feat/i18n-pagination-ui

Conversation

@thlaure
Copy link
Copy Markdown
Owner

@thlaure thlaure commented Mar 14, 2026

Summary

  • Add react-i18next with EN/FR locale files and localStorage language persistence
  • Add language switcher in sidebar user row (expanded: EN|FR toggle; collapsed: vertical stack avatar → lang → logout)
  • Replace "Signalist" text with signal-wave SVG favicon logo when sidebar is collapsed
  • Add signal-wave SVG favicon and update browser tab title to "Signalist"
  • Add article pagination (20 articles/page) with numbered MUI Pagination component
  • Add paginated response envelope {items, total, page, limit, pages} on GET /api/v1/articles
  • Fix Behat ApiContext to handle the new paginated response shape

Test plan

  • Tab title shows "Signalist", favicon shows signal-wave icon
  • Sidebar collapsed: logo SVG visible, language toggle and logout stacked vertically
  • Sidebar expanded: EN|FR toggle in user row, clicking switches language and persists on reload
  • Article list paginates at 20/page, numbered pagination component visible when > 1 page
  • GET /api/v1/articles returns {items, total, page, limit, pages} envelope
  • All 57 Behat scenarios pass, all 92 unit tests pass

🤖 Generated with Claude Code

Thomas Laure and others added 4 commits March 14, 2026 16:06
- Add react-i18next with EN/FR locale files and localStorage persistence
- Add sidebar language switcher in user row (collapsed: vertical stack)
- Replace Signalist text with favicon logo when sidebar is collapsed
- Add signal-wave SVG favicon and update browser tab title
- Add article pagination (20/page) with numbered MUI Pagination
- Add paginated article response envelope (items, total, page, pages)
- Fix Behat ApiContext to handle paginated response shape

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Import i18n setup in vitest setupFiles so t() resolves real strings
- Fix all 9 failing frontend tests caused by i18n migration

feat(rector): add SymfonySetList::CONFIGS for service config rules
feat(frontend): show bookmark indicator on article card without hover

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- actions/checkout@v4 -> @v5 (Node.js 24 runtime)
- node-version 20 -> 24 in frontend job

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@thlaure thlaure merged commit aa941f9 into master Mar 14, 2026
4 checks passed
@thlaure thlaure deleted the feat/i18n-pagination-ui branch March 14, 2026 18:40
thlaure added a commit that referenced this pull request Mar 14, 2026
feat(i18n): add EN/FR translations, article pagination, and favicon
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