Skip to content

feat(translations): the atlas's filters.chrome.clear reads "Clear filters" - #1308

Merged
Ardnived merged 1 commit into
mainfrom
feat/atlas-clear-filters
Nov 27, 2026
Merged

Ardnived merged 1 commit into
mainfrom
feat/atlas-clear-filters

Conversation

@Ardnived

Copy link
Copy Markdown
Contributor

Summary

  • sy-atlas-translations' filters.chrome.clear is reworded from "Clear all" to "Clear filters", in every locale. "Clear all" read as clearing more than the filters.
  • SahajAtlasWeb#542's filter buttons on a computer use it too, as the hover label of an X, beside the filters' footer and the empty-results button that already read it. Nothing is added or removed.

Change outline

Contract — the sy-atlas-translations wording

 filters.chrome.clear                            seeds/sy-atlas-translations/*.json
-  "Clear all"
+  "Clear filters"

The schema's description now names the three places the key shows. src/payload-types.ts is regenerated for that description.

Preview

No preview surface

Contract impact

Migration

  • New migration: src/migrations/20261127_230000_atlas_clear_filters.ts, data only. Its .json is the prior snapshot re-stamped.
  • Impact: in each locale, replaces the stored clear value only where it still equals the wording the seed shipped, in the live row and the latest version row. Copy an editor changed is left alone.
  • Reversible: yes. down restores the old wording where the new one is still stored.

Test results

  • Lean gate (.claude/skills/pr-prep/check.sh): lint, format check, typecheck, unit lane all passed
  • Targeted: translations-globals.int.spec.ts, seeds/tests/atlas-translations-import.test.ts (45) passed; db:migrations:create probe wrote no files
  • Build: N/A

Notes for reviewer

Locale was now
cs Vymazat vše Zrušit filtry
de Alle zurücksetzen Filter zurücksetzen
es Borrar todo Borrar filtros
fr Tout effacer Effacer les filtres
hu Összes törlése Szűrők törlése
nl Alles wissen Filters wissen
pt-BR Limpar tudo Limpar filtros
ru Сбросить все Сбросить фильтры
uk Очистити все Скинути фільтри

🤖 Generated with Claude Code

…ters"

"Clear all" read as clearing more than the filters. The atlas's filter
buttons on a computer now share this key with the filters' footer and the
empty-results button, as the hover label of an X. A data-only migration
rewords each locale's stored value where it still holds the shipped wording,
and the seeds carry the new wording in all ten locales.

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

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

@railway-app
railway-app Bot temporarily deployed to sahajcloud / SahajCloud-pr-1308 November 27, 2026 20:21 Destroyed
@sydevs-dispatcher

sydevs-dispatcher Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

🤖 no session running

recent dispatches
  • 23:12Z review-pr · attempt 2 · session · done
  • 23:12Z review-pr · attempt 2 · session
  • 20:38Z review-pr · attempt 1 · session · timed out
  • 20:38Z review-pr · attempt 1 · session

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

Ardnived added a commit to sydevs/SahajAtlasWeb that referenced this pull request Nov 27, 2026
… tags

- Vocabulary: a chip is the Chip atom, a small tag; the applied filters are
  filter chips (ActiveFilterPills → ActiveFilterChips); the buttons that open
  filter menus are FilterMenus / FilterMenuBar (were FilterChips /
  FilterChipBar); "pill" names only a shape. DESIGN_SYSTEM.md says so.
- On the map the filter menus render into a slot beside the control column,
  inside the one Mapbox control (MapControls.menuSlot), so Mapbox places them;
  their width is capped against the map (a size container) so they wrap
  rather than run under the side panel.
- In the full-width calendar's toolbar they are smaller bordered buttons,
  inline after the month controls, with Clear at the end they grow from.
- Clear's label is filters.chrome.clear (to read "Clear filters",
  sydevs/SahajCloud#1308).
- CheckboxGroup keeps checked options at the top as they are picked.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@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 2d8c948 into main Nov 27, 2026
9 of 10 checks passed
@Ardnived
Ardnived deleted the feat/atlas-clear-filters branch November 27, 2026 20:38
@sydevs-dispatcher sydevs-dispatcher Bot moved this from Working to Done in SYDevelopers Technical Roadmap Nov 27, 2026
Ardnived added a commit to sydevs/SahajAtlasWeb that referenced this pull request Nov 27, 2026
…s said

filters.chrome.clear as sydevs/SahajCloud#1308 serves it, hand-added while the
full sync stays blocked on #466; the fallback default and prose follow.

Co-Authored-By: Claude Opus 5.5 <[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 the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Nov 27, 2026
@sydevs-bot sydevs-bot 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-1308 — af892dac 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.

2 participants