Skip to content

Add framework management with full i18n support#39

Merged
neyec merged 1 commit into
mainfrom
feat/remove-frameworks
May 27, 2026
Merged

Add framework management with full i18n support#39
neyec merged 1 commit into
mainfrom
feat/remove-frameworks

Conversation

@neyec

@neyec neyec commented May 27, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add ability to remove optional frameworks (UNDP, Environmental) and re-add them via the frameworks page — EU AI Act is fixed
  • Backend endpoints: DELETE, POST, GET /available for framework CRUD
  • Environmental Impact Framework is no longer seeded by default; it starts blank when added
  • Full i18n: framework names, descriptions, and all reporting checklist items (titles, questions, tab labels) translated across en, es, fr, de
  • Refactored Environmental and UNDP checklists from hardcoded English to the same translation pattern as EU AI Act
  • Sidebar updates reactively when frameworks are added/removed
  • Selected project now persists across page refreshes via localStorage
  • Fixed fwName variable ordering bug in reporting page export

Test plan

  • Delete UNDP framework → disappears from sidebar and reporting
  • Click "Add Framework" → UNDP shows as available → add it → reappears
  • EU AI Act has no delete button
  • Switch language to es/fr/de → framework names, descriptions, and all checklist items are translated
  • Environmental reporting page shows translated tab labels and questions
  • Refresh the page → selected project is preserved
  • Export PDF with translated framework name

🤖 Generated with Claude Code

- Add DELETE, POST, and GET /available endpoints for framework CRUD
- EU AI Act is protected from deletion; Environmental Impact Framework is optional (not seeded by default)
- Sidebar updates reactively via frameworks-changed custom event
- Framework names/descriptions translated across all 4 locales (en, es, fr, de)
- Refactor Environmental and UNDP reporting checklists to use i18n translation pattern
- Full checklist translations (titles, questions, tab labels) for all locales
- Persist selected project across page refreshes via localStorage
- Fix fwName ordering bug in reporting page export

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@neyec neyec merged commit 9f42c5a into main May 27, 2026
6 checks passed
@neyec neyec deleted the feat/remove-frameworks branch May 27, 2026 21:28
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