Repository navigation
chore(translations): drop the eight retired event-worded atlas keys - #1292
Merged
Merged
Conversation
The widget reads their class-worded replacements (#1289) since sydevs/SahajAtlasWeb#517, so translators were still asked to fill common.errors.share_unavailable, no_events and near_city, search.results.no_nearby, filters.chrome.no_results, and event.display.event_ended, event_full and type_oneoff for nothing. Removes them from the schema, the ten seed files and the generated types, and adds a data migration sweeping the stored copy out of each group's column on the main and every version row, since each group declares additionalProperties: false and a leftover would refuse every later save. down restores nothing: the old schema declares the keys but requires none. The replacements' descriptions drop their "Replaces" notes, and the strict budget spec keeps class_full alone. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
🚅 Deployed to the SahajCloud-pr-1292 environment in sahajcloud
1 service not affected by this PR
|
railway-app
Bot
temporarily deployed
to
sahajcloud / SahajCloud-pr-1292
November 26, 2026 23:04
Destroyed
|
🤖 no session running recent dispatchesWritten by the sydevs dispatcher. Sessions never edit this comment. |
Orders the sweep after #1291's two migrations and re-stamps its snapshot from 20261126_224500_atlas_drop_filter_labels.json. Co-Authored-By: Claude Opus 5.5 <[email protected]>
railway-app
Bot
temporarily deployed
to
sahajcloud / SahajCloud-pr-1292
November 26, 2026 23:23
Destroyed
sydevs-dispatcher Bot
pushed a commit
to sydevs/SahajAtlasWeb
that referenced
this pull request
Nov 26, 2026
Ardnived
pushed a commit
to sydevs/SahajAtlasWeb
that referenced
this pull request
Nov 27, 2026
* chore(contracts): re-sync from sydevs/SahajCloud#1291 * chore(contracts): re-sync from sydevs/SahajCloud#1288 * chore(contracts): re-sync from sydevs/SahajCloud#1292 * chore(contracts): re-sync from sydevs/SahajCloud#1293 * chore(contracts): re-sync from sydevs/SahajCloud#1294 * chore(contracts): re-sync from sydevs/SahajCloud#1295 * chore(contracts): re-sync from sydevs/SahajCloud#1298 --------- Co-authored-by: sydevs-bot <[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
sy-atlas-translationskeys that the class-worded keys from feat(translations): the atlas's class-worded lines, under new keys #1289 replaced.Change outline
Contract —
sy-atlas-translationsloses eight keysThe replacements' descriptions drop their "Replaces
…" notes. The ten seed files andsrc/payload-types.tslose the same keys.Behaviour — the stored copy is swept
Each group declares
additionalProperties: false, so a leftover key would refuse every later save of the global. The.jsonis the prior snapshot re-stamped, since there is no DDL.Preview
Contract impact
src/payload-types.tsloses the eight keys. Consumer: SahajAtlasWeb, whose snapshot still holds them and lists them inRETIRING_KEYS. A follow-up there drops both by hand once this deploys, while the full sync stays blocked on SahajAtlasWeb#466.Migration
src/migrations/20261126_230014_atlas_drop_event_worded_keys.tscommon_errors,search_results,filters_chromeandevent_displayjsonb columns ofsy_atlas_translations_localesand_sy_atlas_translations_v_locales.downrestores nothing. The dropped copy is the old "event" wording, which nothing renders.Test results
atlas-drop-event-worded-keysint spec (2 passed: a leftover key refuses a save, and the sweep fixes it);atlas-drop-status-chips,translations-globals,translations-english-defaultspassNotes for reviewer
/code-review medium.moveKey." No: the meaning changed ("event" → "class"), which is why the keys are new. Copying would label stale wording as a translation of the new line. Only English is switched on.class_fulland its siblings.src/migrations/index.ts. It matches the chore(translations): drop the retired event.display.chip_starts, chip_ended and chip_full atlas keys #1284 entry above it.🤖 Generated with Claude Code