Repository navigation
[Maintainer] Land #1304, #1309, #1344 from kruschdev - #1347
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
…18n" This reverts commit f936404. Co-authored-by: Aymeric Rabot <Aymericr@users.noreply.github.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f936404239
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| if (type === 'select' && choices && typeof choices === 'object') { | ||
| found.set(token[0], new Set(Object.keys(choices))) | ||
| } |
There was a problem hiding this comment.
Validate every repeated select occurrence
When a message contains multiple select expressions using the same variable, each found.set overwrites the previous expression. If those expressions have different branches, a translation can remove a branch from an earlier expression and still pass validation because only the last occurrence is compared; assertProviderResponse then accepts a translation that silently falls through to other at runtime. Preserve and compare every select occurrence rather than indexing them solely by variable name.
Useful? React with 👍 / 👎.
What does this PR do?
Lands three reviewed PRs by @kruschdev whose fork CI can't run. Each one is ported onto current
mainas its own commit with aCo-authored-by: kruschdevtrailer. All three applied without conflicts, and each ported diff is line-for-line identical to the original head. No code was changed in the port.4a50d008669cf8a5wall_too_low. Its two commits are squashed into one.b063e9cdee34030edeferred. GLB export preparation repairs the marked meshes on its cloned geometry and keeps material groups,userDataand planar UVs.32ec36e5d5665cfcotherbranch in plurals, and ICUselectbranch validation.Fixes #1252
Fixes #1273
Adjustments: #1304's two commits are squashed into one. Otherwise none.
Things for the reviewer to know:
deferredmarker, so export doesn't repair their envelopes. That isn't a regression: their output triangles never came from the repaired envelope. Curtain walls only use the envelope as bounds and a clip shell.3a2a5b3d) no longer contains the validation changes, which are covered here. What remains is per-locale catalog entry points with lazy loading, the active-locale-only server-to-client handoff,ui-localetests, and turbo caching for the proxy and i18n tests. None of that is ported here.How to test
bun test packages/core/src/building/wall-openings-slope.test.ts: the new [Maintainer] Sloped walls: moving a door with a transom can be refused even when it fits further up the slope #1252 cases pass (transom door slides to x = 3.45 m, the sidelight-plus-transom door to 3.25 m, and a too-tall assembly is refused withwall_too_low).cd packages/viewer && bun test src/systems/wall/wall-t-junctions.test.ts, thencd packages/editor && bun test src/lib/glb-export-wall-t-junctions.test.ts: deferred geometry is marked and has T-junctions, and export repairs them to zero while keeping groups and UVs.bun test scripts/i18n.test.tsandbun run i18n:check: 13 tests pass and the current catalogs still pass the stricter validation.Ran locally:
bun run check(no errors),bun run i18n:check,check-typesfor core, viewer and editor, and the fullbun testsuites forpackages/core,packages/viewer,packages/editorandscripts/i18n.test.ts.Screenshots / screen recording
N/A — non-visual change
Checklist
bun devbun checkto verify)mainbranchCredit: all changes authored by @kruschdev in #1304, #1309 and #1344.
Note
Medium Risk
Changes affect door placement on sloped walls and wall mesh/GLB geometry paths; both are covered by new tests but touch core building and export pipelines.
Reviewed by Cursor Bugbot for commit 0d83298. Bugbot is set up for automated code reviews on this repo. Configure here.