Skip to content

feat(translations): the atlas Contact menu's Copy number and the share Email label - #1304

Merged
Ardnived merged 1 commit into
mainfrom
feat/atlas-copy-number-share-email
Nov 27, 2026
Merged

Ardnived merged 1 commit into
mainfrom
feat/atlas-copy-number-share-email

Conversation

@Ardnived

Copy link
Copy Markdown
Contributor

Summary

  • Two sy-atlas-translations keys for the atlas widget's reworked event actions: the Contact menu's "Copy number" row and the Share popover's "Email" label.
  • Each declares its English as a schema default, so production fills on boot and no seed changes.

Change outline

Contract — sy-atlas-translations, event.actions and share

 event.actions                 src/globals/SahajAtlasTranslations/translationsSchema.json
   download_ics
+  copy_number                 # default "Copy number": last row of the Contact menu; copies the host's phone number, then reads common.chrome.copied

 share
   qr_failed
+  email                       # default "Email": label under the email icon in the Share popover

Preview

No preview surface

Contract impact

src/payload-types.ts gains the optional copy_number on SyAtlasTranslationsEventActionsStrings and email on SyAtlasTranslationsShareStrings. Consumer: sydevs/SahajAtlasWeb#540, which shows hard-coded English for both strings until this ships and a pnpm sync:translations runs; it then wires t('event.actions.copy_number') and t('share.email').

Test results

  • Lean gate: ✓ (lint, format check, typecheck, unit lane: 294 files, 3924 tests)
  • Targeted specs: atlas-translations-schema, translations-english-defaults, translations-no-a11y, translations-seed-locale-files 81 passed; translations-english-defaults.int.spec.ts 5 passed
  • Build: N/A

Notes for reviewer

Tiny diff, read inline. No migration: both keys sit inside existing jsonb columns. No seed file carries either key. Security review skipped: no trigger path matched.

Closes #1303

🤖 Generated with Claude Code

…e Email label

Two sy-atlas-translations keys, each with its English as a schema default so
reconcileEnglishDefaults fills production on boot and no seed changes:
event.actions.copy_number and share.email.

Closes #1303

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-1304 environment in sahajcloud

Service Status Web Updated
SahajCloud ✅ Success (View Logs) Web Nov 27, 2026 at 6:44 pm UTC
1 service not affected by this PR
  • mailpit

@railway-app
railway-app Bot temporarily deployed to sahajcloud / SahajCloud-pr-1304 November 27, 2026 18:37 Destroyed
@sydevs-dispatcher

sydevs-dispatcher Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

🤖 no session running

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

@sydevs-dispatcher sydevs-dispatcher Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved for Ardnived, who wrote it: GitHub refuses an author's own approval. CI is green and the automated review has run. Enable auto-merge when you want it merged: the queue tests it against its base. 🤖 Written by the sydevs autonomous loop — see what this is

@sydevs-dispatcher

Copy link
Copy Markdown

Adversarial review skipped: this PR only adds translation keys. Say @sydevs-bot review to force one.

🤖 sydevs dispatcher

@sydevs-dispatcher sydevs-dispatcher Bot moved this from Pending to Awaiting in SYDevelopers Technical Roadmap Nov 27, 2026
@Ardnived
Ardnived merged commit 4e3c2b6 into main Nov 27, 2026
18 checks passed
@Ardnived
Ardnived deleted the feat/atlas-copy-number-share-email branch November 27, 2026 18:51
@sydevs-dispatcher sydevs-dispatcher Bot moved this from Awaiting to Done in SYDevelopers Technical Roadmap 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

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

feat(translations): the atlas Contact menu's Copy number and the share Email label

1 participant