Skip to content

chore(translations): drop the retired search.nearby_prompt.title atlas key - #1300

Merged
Ardnived merged 1 commit into
mainfrom
chore/atlas-drop-nearby-prompt
Nov 27, 2026
Merged

Ardnived merged 1 commit into
mainfrom
chore/atlas-drop-nearby-prompt

Conversation

@Ardnived

Copy link
Copy Markdown
Contributor

Summary

The atlas first screen (sydevs/SahajAtlasWeb#531, merged) shows the visitor's city through countries.near_city, so search.nearby_prompt.title ("Looking for classes near %{city}?") is copy nothing displays.

title was the group's only key, so the whole search.nearby_prompt group leaves:

  • translationsSchema.json, the ten sy-atlas-translations seed files (and their _meta leaf-group count, 43 → 42), payload-types.ts, and the tab's group list in translations-globals.int.spec.ts.
  • A generated migration drops search_nearby_prompt and version_search_nearby_prompt, as chore(translations): drop the six atlas filter keys the rebuilt form no longer reads #1291 did for filters.region. Dropping the column is what removes the stored copy, so no data sweep is needed; down restores the columns empty.

Closes #1296

Verification

  • Lean gate: lint, format, typecheck, 3924 unit tests pass.
  • After the deploy, GET /api/globals/sy-atlas-translations?select[search]=true with a client key has no nearby_prompt.
  • In SahajAtlasWeb, the next translations sync drops it from the snapshot; delete its RETIRING_KEYS entry in src/config/translations.test.ts in that PR.

🤖 Generated with Claude Code

…s key

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]>
@railway-app
railway-app Bot temporarily deployed to sahajcloud / SahajCloud-pr-1300 November 27, 2026 16:48 Destroyed
@railway-app

railway-app Bot commented Nov 27, 2026

Copy link
Copy Markdown

🚅 Deployed to the SahajCloud-pr-1300 environment in sahajcloud

Service Status Web Updated
SahajCloud 🕒 Building (View Logs) Web Nov 27, 2026 at 4:48 pm UTC
1 service not affected by this PR
  • mailpit

This branch was successfully deployed

No deployments
sahajcloud / SahajCloud-pr-1300 — 76328eff Deployed Nov 27, 2026 by railway-app[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

chore(translations): drop the retired search.nearby_prompt.title atlas key

1 participant