Repository navigation
chore(translations): drop the atlas's retired Share view keys - #1306
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
🚅 Deployed to the SahajCloud-pr-1306 environment in sahajcloud
1 service not affected by this PR
|
railway-app
Bot
temporarily deployed
to
sahajcloud / SahajCloud-pr-1306
November 27, 2026 19:13
Destroyed
|
🤖 no session running Written by the sydevs dispatcher. Sessions never edit this comment. |
This was referenced Nov 27, 2026
Ardnived
added a commit
to sydevs/SahajAtlasWeb
that referenced
this pull request
Nov 27, 2026
- Sync the translation snapshot: Copy number and the share Email label now read `event.actions.copy_number` and `share.email` (sydevs/SahajCloud#1304), and the three keys sydevs/SahajCloud#1306 dropped leave RETIRING_KEYS. Keys published ahead of #538 and #542 join PENDING_KEYS. - tests/browser/skeleton.spec.ts measures the sign-up form, filters and calendar. It caught three header mismatches, now fixed: the sign-up form's reassurance line, the filters' close-button row, and the calendar's own controls in place of a Back-and-title header. Co-authored-by: Claude Opus 5.5 <[email protected]>
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
share.title,share.title_classandcommon.errors.share_unavailable_classfromsy-atlas-translations: the atlas widget no longer reads them.additionalProperties: false.Change outline
Contract —
sy-atlas-translationsschemaThree keys leave the global's schema, so the translators' forms stop asking for them.
Flow — migration
20261127_210000_atlas_drop_retired_share_keysA new data-only sweep that mirrors the earlier key drops (#1284, #1291, #1292). It runs on boot.
Preview
No preview surface
Contract impact
src/payload-types.tsis regenerated (pnpm generate:types): the three keys leave the global's types. SahajAtlasWeb and WeMeditateWeb copy that file withpnpm types:cms, and re-sync it after this merges.The consumer side already shipped. SahajAtlasWeb#540 is merged, and its
RETIRING_KEYSentries leave in that repo's next translation sync (pnpm sync:translations --write, then delete the entries insrc/config/translations.test.ts).Migration
src/migrations/20261127_210000_atlas_drop_retired_share_keys.tsshareandcommon_errorsJSON columns of the live and version locale rows, in every locale. Every other key is untouched.downis a no-op, as in the earlier key drops, because the previous schema declares the keys but requires none, so a rolled-back database is one the old schema accepts.Test results
tests/unit/atlas-translations-schema.spec.tsand the newtests/int/atlas-drop-retired-share-keys.int.spec.tsManual verification
GET /api/globals/sy-atlas-translations?select[share]=true&select[common]=truewith a client key returns none of the three keys.sy-atlas-translationsin the admin: the save succeeds.Notes for reviewer
seeds/sy-atlas-translations/data.en.jsoncarried a retired key (share.title). No other locale had any of the three, so no translation is lost.Closes #1290
🤖 Generated with Claude Code