Skip to content

Add AccumulatorTranslationsField component for managing multilingual … - #297

Merged
tenkus47 merged 2 commits into
devfrom
fix-accumulation-language-title
Sep 22, 2026
Merged

tenkus47 merged 2 commits into
devfrom
fix-accumulation-language-title

Conversation

@tenkus47

Copy link
Copy Markdown
Member

…titles and descriptions

  • Introduced a new component to handle translations for titles and descriptions in multiple languages.
  • Implemented functionality to add and remove languages, and update corresponding text fields.
  • Integrated a Markdown editor for description input and ensured proper state management for selected languages.

…titles and descriptions

- Introduced a new component to handle translations for titles and descriptions in multiple languages.
- Implemented functionality to add and remove languages, and update corresponding text fields.
- Integrated a Markdown editor for description input and ensured proper state management for selected languages.
…ield

- Removed the AccumulatorAboutField component and replaced it with AccumulatorTranslationsField for managing multilingual titles and descriptions.
- Updated state management to handle titles and descriptions for multiple languages.
- Adjusted form state handling to align with the new translations structure, ensuring proper integration with existing functionality.
@greptile-apps

greptile-apps Bot commented Sep 21, 2026

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

The PR appears safe to merge with no concrete correctness, security, or repository-rule violations identified.

Summary

This PR extends group accumulators with per-language titles alongside their existing translated About text.

  • Replaces the About-only field with a combined title and Markdown description translation editor.
  • Adds conversion helpers for loading legacy titles and serializing translated metadata.
  • Updates accumulator create and edit payloads to use translated metadata.
  • Adds unit coverage for translation conversion and legacy-title fallback behavior.
Diagram
%%{init: {'theme': 'neutral'}}%%
flowchart LR
  A[Accumulator DTO] --> B[translationStateFromAccumulator]
  B --> C[Language tabs]
  C --> D[Per-language title]
  C --> E[Per-language About markdown]
  D --> F[metadataFromTranslationState]
  E --> F
  F --> G[Create or update payload]
Loading

Reviews (1) · Last reviewed commit: "Refactor GroupAccumulatorsPanel to integ..."

@tenkus47
tenkus47 requested a review from Tech-lo September 21, 2026 13:11
@tenkus47
tenkus47 merged commit ac81a62 into dev Sep 22, 2026
4 checks passed
@tenkus47
tenkus47 deleted the fix-accumulation-language-title branch September 22, 2026 03:54
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