Repository navigation
chore(translations): drop the six atlas filter keys the rebuilt form no longer reads - #1291
Merged
Merged
Conversation
…no longer reads filters.region (all four keys, so the whole group and its column), filters.days.label and filters.language.empty leave sy-atlas-translations: the widget's filter form reads none of them since sydevs/SahajAtlasWeb#514. A generated migration drops the region columns; a data-only one sweeps the two keys from every locale and version row, as #1284 did. Closes #1286 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
🚅 Deployed to the SahajCloud-pr-1291 environment in sahajcloud
1 service not affected by this PR
|
railway-app
Bot
temporarily deployed
to
sahajcloud / SahajCloud-pr-1291
November 26, 2026 22:48
Destroyed
|
🤖 no session running recent dispatchesWritten by the sydevs dispatcher. Sessions never edit this comment. |
This was referenced Nov 26, 2026
Ardnived
added a commit
that referenced
this pull request
Nov 26, 2026
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]>
Ardnived
added a commit
to sydevs/SahajAtlasWeb
that referenced
this pull request
Nov 26, 2026
sydevs/SahajCloud#1291 (deployed) removed filters.region.*, filters.days.label and filters.language.empty. They leave translations.en.json by hand, as #507 did, since a full sync is blocked until #466, and leave RETIRING_KEYS with them. Co-authored-by: Claude Opus 5.5 <[email protected]>
5 tasks
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]>
1 of 3 tasks
Ardnived
added a commit
that referenced
this pull request
Nov 27, 2026
…s key (#1300) The atlas first screen (sydevs/SahajAtlasWeb#531, merged) offers the visitor's city through countries.near_city instead, so translators were still asked to fill "Looking for classes near %{city}?" for nothing. title was the group's only key, so search.nearby_prompt leaves the schema, the ten seed files and the generated types whole, and a generated migration drops its column on the main and version tables, as #1291 did for filters.region. Closes #1296 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
sy-atlas-translationsdropsfilters.region.{all,empty,label,search},filters.days.labelandfilters.language.empty. The widget's rebuilt filter form (feat(filters): ask only what can narrow the classes here, with live counts SahajAtlasWeb#514, merged and deployed) reads none of them.Change outline
Contract — the
sy-atlas-translationsschemaAll ten locale seeds drop the same keys. Their
_meta.schema_versionnow counts 43 leaf groups.src/payload-types.tsis regenerated, andSyAtlasTranslationsFiltersRegionStringsis gone.Contract — migration tables
Two migrations, the same pair #1268 and #1284 used:
Preview
No preview surface
Contract impact
eda30e17). The atlas snapshot still holds them asRETIRING_KEYSagainst this PR's issue. After this deploys, a follow-up in SahajAtlasWeb drops them fromtranslations.en.jsonby hand (a full sync is blocked until chore(infra): migrate host to Railway + DB to Postgres #466) and deletes those six entries.pnpm types:cmsconsumers lose the optionalfilters.regiongroup and two optional keys. WeMeditateWeb reads none of them.Migration
src/migrations/20261126_224421_atlas_drop_filters_region.tssrc/migrations/20261126_224500_atlas_drop_filter_labels.tsfilters_regionjsonb column from bothsy_atlas_translationslocale tables.filters_daysandfilters_language, in every locale and version row.Test results
tests/int/atlas-drop-filter-labels.int.spec.ts(new),translations-globals,translations-english-defaults,tests/unit/atlas-translations-schema.spec.ts,translations-seed-meta.spec.tsandseeds/tests/atlas-translations-import.test.ts: 125 passedNotes for reviewer
/code-reviewfindings:IF EXISTSand a DDL spec to the generated drop":src/migrations/AGENTS.mdsays not to augment generated DDL and rules outIF EXISTSas a patch. The column names come from the same snapshot that feat(translations): add the atlas filters' Where, More filters and short question labels #1285 added them from./code-review medium, plus my own reading of the diff. It is a mechanical retirement that follows chore(translations): drop the retired event.display.chip_starts, chip_ended and chip_full atlas keys #1284.securityReview.triggerPattern.Closes #1286
🤖 Generated with Claude Code