Repository navigation
feat(translations): add the atlas filters' Where, More filters and short question labels - #1285
Merged
Merged
Conversation
…ort question labels Five keys for SahajAtlasWeb's rebuilt filter form: filters.where.label and near_me, filters.format.question, filters.days.short_label and filters.more.label. Each declares its English as a schema default; the nine locale seeds carry machine translations. where and more are new leaf groups, so a migration adds their jsonb columns. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ed migration Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
🚅 Deployed to the SahajCloud-pr-1285 environment in sahajcloud
1 service not affected by this PR
|
railway-app
Bot
temporarily deployed
to
sahajcloud / SahajCloud-pr-1285
November 26, 2026 18:50
Destroyed
|
🤖 no session running recent dispatchesWritten by the sydevs dispatcher. Sessions never edit this comment. |
5 tasks
This was referenced Nov 26, 2026
Ardnived
pushed a commit
to sydevs/SahajAtlasWeb
that referenced
this pull request
Nov 26, 2026
* chore(contracts): re-sync from sydevs/SahajCloud#1285 * chore(contracts): re-sync from sydevs/SahajCloud#1287 --------- Co-authored-by: sydevs-bot <[email protected]>
Ardnived
added a commit
to sydevs/SahajAtlasWeb
that referenced
this pull request
Nov 26, 2026
…ounts (#514) * feat(filters): ask only what can narrow the classes here, with live counts Filters opens straight on Where, Online or in person, Day, Time of day and Language, with Frequency and Dates under "More filters" (open by itself when either is set). A question that cannot change the results in this place is not asked (shownGroups); every option shows how many classes it leaves, and one that leaves none is disabled unless selected. The region combobox is gone: the place in scope is a removable tag beside Near me, which asks for a position only when pressed and rounds it before it reaches the URL. Co-Authored-By: Claude Opus 5.5 <[email protected]> * test(i18n): point the six retiring filter keys at sydevs/SahajCloud#1286 Co-Authored-By: Claude Opus 5.5 <[email protected]> * refactor(filters): SearchFilters is an organism on the form kit Each question is a FormField fieldset over a size="md" ToggleGroup, and Frequency and Dates sit in the Disclosure atom. FormField gains an optional Clear at the end of its label row, outside the legend, so a group keeps the question as its name; it is hidden but keeps its place while the field is empty. Co-Authored-By: Claude Opus 5.5 <[email protected]> * chore(i18n): add the filter form's five strings from production Only the five keys sydevs/SahajCloud#1285 shipped: a full sync still carries other tickets' drift (compact.open) until #466. Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(filters): the new filter controls take the one focus outline Co-Authored-By: Claude Opus 5.5 <[email protected]> * refactor: simplify per /simplify pass, and fix three review findings Review findings: - Near me and the place tag move the URL under the drawer, so a moved place now counts as a change to apply; Apply no longer vanishes after Near me. - Removing the place tag over a region's page moves the drawer onto the unscoped search, so the list behind it stops naming that region. - A chosen language the place lacks stays in the options (count 0), so it can still be undone; a location fix no longer drops answers tapped meanwhile. Simplify: - One predicate: the occurrence cache moves into matchesFilters, so facet counts call it directly; EVENT_CADENCES and FilterableEvent are shared. - The facet scope uses the list's own nearby rule (isNearby, now exported from reveal.ts), useSearchCountry and isOnline. - coarsePoint and LOCATE_POSITION_OPTIONS live in lib/geolocation for both the map's find-me and Near me. - One Choices component for every question's options; the place tag is the Chip atom with the short place name. Co-Authored-By: Claude Opus 5.5 <[email protected]> * docs(embedding): Near me in the filters asks for location too, map-less embeds included Co-Authored-By: Claude Opus 5.5 <[email protected]> * docs(changelog): the filters rebuild, and Near me's location request Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(filters): a failed Near me shows as an Alert Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(filters): matchesFilters keeps its docblock, and the cache its measurement Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(filters): one locatedPlace for find-me and Near me Both ways to locate the visitor now share how a fix becomes a place: the point and its frame rounded, then the name and country from the reverse lookup. Each keeps its own timing. The map's find-me frame is now rounded as well. Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(filters): Search instead asks the list's search box for focus A one-shot useSearchFocus request, honoured by SearchField when it mounts, replaces polling the widget root for the input. Co-Authored-By: Claude Opus 5.5 <[email protected]> * docs(embedding): the reverse lookup names a visitor found by Near me too Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(forms): FormField's Clear sits in the label row's flow No absolute position or reserved padding: a longer label or a translated Clear wraps instead of colliding. A fieldset with a Clear names itself with an off-screen legend beside the visible row. Co-Authored-By: Claude Opus 5.5 <[email protected]> * refactor(filters): name the drawer's layer key, and spec the place paths viewLayerKey holds the filter drawer's one identity across /filters and /search/filters, with a spec; placeFiltersPath and noPlaceSearch get theirs; nearbyLimitKm is private to reveal.ts. Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(filters): the week strip keeps each day's 44px tap area Seven gapped days measured 39px wide in the accessibility gate. The strip is now one segmented control, and its story renders at the sheet's width. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
|
The session for review-pr did not finish after 3 attempts. I have stopped retrying. A 🤖 sydevs dispatcher |
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-translationsgains the five strings SahajAtlasWeb's rebuilt filter form reads: Where, Near me, "Online or in person", "Day" and "More filters".Change outline
Contract — the
sy-atlas-translationsschemaFive keys, each with its English as a schema
default, sodata.en.jsoncarries none.whereandmoreare new leaf groups. The other three keys join existing groups.The nine other locale seeds each gain the five keys as machine translations, and every seed's
_meta.schema_versionnow counts 44 leaf groups.src/payload-types.tsis regenerated, addingSyAtlasTranslationsFiltersWhereStringsandSyAtlasTranslationsFiltersMoreStrings.Contract — migration tables
A leaf group is one localized jsonb column, so the two new groups are DDL. A new key alone needs no migration, and
src/migrations/AGENTS.mdnow says that a new group does.Preview
No preview surface
Contract impact
ux/filters-rebuild, not yet pushed) reads all five keys. After this merges and Railway has booted the deploy,pnpm sync:translations --writepulls the English from production.pnpm types:cmsin SahajAtlasWeb and WeMeditateWeb picks up two new optional groups and two optional keys. Nothing is removed or renamed.Migration
src/migrations/20261126_183458_atlas_filter_where_more.tssy_atlas_translations_localesand two to_sy_atlas_translations_v_locales. No existing data is touched. On boot,reconcileEnglishDefaultsfills the English into the new columns.Test results
tests/int/translations-globals.int.spec.tsandtests/int/translations-english-defaults.int.spec.ts, 41 passed;seeds/tests/atlas-translations-import.test.ts, 9 passedNotes for reviewer
filters.region.{all,empty,label,search},filters.days.labelandfilters.language.emptystay until the widget PR has deployed. The live widget still reads them, and a sweep now would blank its region list.src/migrations/index.tsand trim the migration's unusedpayload/reqbindings. Both are generator output, which.prettierignoreandsrc/migrations/AGENTS.mdsay to leave as written.translations-globals.int.spec.ts. That literal is the spec's dropped-group tripwire, and its own comment says so./simplifyplus/code-review medium. No security review, because no path matchedsecurityReview.triggerPattern.Detail
Machine translations:
where.labelwhere.near_meformat.questiondays.short_labelmore.labelEach
format.questionreuses its locale's ownformat.offlinewording.🤖 Generated with Claude Code