Skip to content

chore(translations): the atlas sign-up heading keeps registration.form.title - #1298

Merged
Ardnived merged 1 commit into
mainfrom
chore/atlas-register-title
Nov 27, 2026
Merged

Ardnived merged 1 commit into
mainfrom
chore/atlas-register-title

Conversation

@Ardnived

Copy link
Copy Markdown
Contributor

Summary

  • Drops registration.form.title_class (added in feat(translations): the atlas sign-up form's new lines #1294): the sign-up heading keeps registration.form.title, which no locale but English ever translated, so a second key protected nothing.
  • The seed's English for registration.form.title becomes "Register for this class".

Change outline

 sy-atlas-translations   src/globals/SahajAtlasTranslations/translationsSchema.json
   registration.form
     title         # description: − "Retiring: translate title_class instead"
-    title_class   # default "Register for this class"
 seeds/sy-atlas-translations/data.en.json
   registration.form.title: "Register for Meditation" → "Register for this class"
 src/migrations/20261127_020000_atlas_drop_register_title_class.ts
   data only: dropEnglishKey(registration_form, title_class) — every locale and version row

Migration

  • New migration: src/migrations/20261127_020000_atlas_drop_register_title_class.ts (+ the prior .json snapshot re-stamped; no DDL).
  • Impact: removes title_class from sy_atlas_translations_locales.registration_form and the version rows. Nothing else changes.
  • Reversible: down restores nothing, on purpose — the old schema declares the key but requires none.

Test results

  • Lean gate (lint, format, typecheck, unit): ✓
  • dropEnglishKey is already covered by tests/int/english-key-backfill.int.spec.ts; CI runs the integration suite.

Notes for reviewer

  • Production data was written by hand before this PR (owner-approved): through the Local API, sy-atlas-translations → registration.form.en.title changed from "Register for Meditation" to "Register for this class". Before and after were read with locale: 'all', and that one value was the only difference. No other locale held a title. The live widget already shows the new heading.
  • Consumer: feat(registration): a tall sign-up form with one pinned Register and a clear confirmation SahajAtlasWeb#529 switches back to registration.form.title and re-syncs once this deploys.

🤖 Generated with Claude Code

…m.title

registration.form.title_class (#1294) leaves sy-atlas-translations. No locale but
English ever translated registration.form.title, so a second key protected no
translation: the heading keeps its original key, whose English is now
"Register for this class" in the seed. Production's stored English was rewritten
by hand on 2026-11-27 (only registration.form.en.title changed).

A data-only migration sweeps title_class out of every locale and version row,
since the group is additionalProperties: false.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@railway-app

railway-app Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

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

Service Status Web Updated
SahajCloud 😴 Sleeping (View Logs) Web Nov 27, 2026 at 2:15 am UTC
1 service not affected by this PR
  • mailpit

@railway-app
railway-app Bot temporarily deployed to sahajcloud / SahajCloud-pr-1298 November 27, 2026 01:46 Destroyed
@sydevs-dispatcher

sydevs-dispatcher Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

🤖 no session running

recent dispatches
  • 14:41Z review-pr · attempt 3 · session · done
  • 14:41Z review-pr · attempt 3 · session
  • 04:46Z review-pr · attempt 2 · session · timed out
  • 04:46Z review-pr · attempt 2 · session
  • 02:06Z review-pr · attempt 1 · session · timed out

Written by the sydevs dispatcher. Sessions never edit this comment.

@sydevs-dispatcher sydevs-dispatcher Bot added the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Nov 27, 2026
@sydevs-dispatcher sydevs-dispatcher Bot moved this from Pending to Working in SYDevelopers Technical Roadmap Nov 27, 2026
@Ardnived
Ardnived merged commit 15d5bdb into main Nov 27, 2026
10 checks passed
@Ardnived
Ardnived deleted the chore/atlas-register-title branch November 27, 2026 02:25
@sydevs-dispatcher sydevs-dispatcher Bot moved this from Working to Done in SYDevelopers Technical Roadmap Nov 27, 2026
sydevs-dispatcher Bot pushed a commit to sydevs/SahajAtlasWeb that referenced this pull request Nov 27, 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]>
@sydevs-dispatcher sydevs-dispatcher Bot removed the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Nov 27, 2026
@sydevs-dispatcher sydevs-dispatcher Bot added bot:working Lock: a cloud session is running on this item. Removed when it ends. and removed bot:working Lock: a cloud session is running on this item. Removed when it ends. labels Nov 27, 2026
@sydevs-dispatcher sydevs-dispatcher Bot added the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Nov 27, 2026
@Ardnived Ardnived removed the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Nov 27, 2026

This branch was successfully deployed

No deployments
sahajcloud / SahajCloud-pr-1298 — b13f1daa 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.

1 participant