Skip to content

feat: add surgical history view to translations modal#972

Merged
stevenle merged 4 commits intomainfrom
feature/string-history
Mar 23, 2026
Merged

feat: add surgical history view to translations modal#972
stevenle merged 4 commits intomainfrom
feature/string-history

Conversation

@jeremydw
Copy link
Member

This PR adds a string field history viewer to the translations modal.

  • The main use case is tracking down changes to translation keys for governance and auditing workflows (i.e. "who changed my translation, and why?")
  • Eventually, we can expand the history viewer to other field types (non-strings, etc.)
  • Eventually, we can also add compare and restore functionality.
image

- this is meant to be a surgical addition to the translations modal only (for translatable strings only)
- eventually, we can add a history view to all field types, along with other features such as "restore" or "compare", but the main use case now is auditing changes to translation keys
@jeremydw jeremydw requested a review from stevenle March 23, 2026 16:44
@stevenle
Copy link
Member

this lgtm, but i wonder if there's a small ux or copy change to indicate this is a history of the "field value" (not the translations itself). i'm fine leaving it as is if you don't have any ideas.

while you're on this component, would you mind decreasing the button sizes to match whatever size we're using in the localization modal? i noticed it looked a little big while working on a different component, figure we might as well change it here.

@jeremydw
Copy link
Member Author

done!

@stevenle stevenle merged commit 1e53094 into main Mar 23, 2026
1 check passed
@stevenle stevenle deleted the feature/string-history branch March 23, 2026 17:03
@github-actions github-actions bot mentioned this pull request Mar 23, 2026
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