Repository navigation
Conversation
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Menu-path separators and related documentation apps/lightcraft/src/*, crates/engine/src/*, crates/ui-egui/src/*, crates/ui-egui/locales/* |
Application, engine, UI, and localization menu paths use → instead of ▸. Documentation comments are added or clarified. Translated wording and placeholders are generally unchanged. |
Equivalent condition rewrites apps/lightcraft/src/native_menu.rs, crates/engine/src/cmd/export.rs, crates/ui-egui/src/dialogs/rules_editor/rules_move.rs, crates/ui-egui/src/panels/detail.rs |
The native-menu condition groups Quit, About, and Settings handling. The export-depth, empty-group cleanup, and texture checks are rewritten without described behavior changes. |
Priority:
Estimated code review effort: 2 (Simple) | ~10 minutes
Change: Bug fix
Suggested reviewers: nledford, claude
Merge Risk: 
Minimal · up to aba35
-
The changes are limited to menu text and behavior-preserving condition rewrites, with no identified merge-blocking risk.
Pre-merge checks: 
4
Finishing Touches
-
🧪 Generate unit tests (beta)
-
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Comment @coderabbitai help to get the list of available commands.
Retain the upstream function extractions and move the supported menu hints into their new helpers. Simplify the new neighbour-prefetch guard for Rust 1.95 without changing its behavior. Co-authored-by: OpenAI Codex <noreply@openai.com>
|
Updated against main ( |
|
Closing the superseded CI prerequisite package: #3362 covers the export/rule-group/prefetch cleanups, #3295 the native-menu cleanup, and #3413 handles the fonts-off accessibility audit. The optional menu-hint separator cleanup was not adopted upstream. #2675 and #3138 remain open and no longer require this PR to merge. |
With optional craft-fonts unset, runtime menu-path hints can render U+25B8 (
▸), which the bundled fallback faces do not supply. Egui's strict missing-glyph policy panics in the all-view accessibility test. Use the supported→separator in those runtime hints and migrate their locale source keys; all 140 translated values are preserved exactly.Also simplify four equivalent expressions rejected by Rust 1.95 Clippy: the export preset-depth guard (the exact #2544 fix), empty-rule-group cleanup, identical macOS menu branches, and the current main's neighbour-prefetch texture guard. No behavior, lint policy, dependency, font provider, test skip, rendering process, or catalog setting is changed by this PR.
Current-main synchronization — 28 October 2026
Merged upstream
mainat59a5d00c608dd4dc4b3c0d9cd4e914e81aa86ce5, preserving the published commits. Kept the upstream Clippy refactors and moved the two affected hint changes into their extracted helpers rather than restoring the old large functions. The neighbour-prefetch guard is an additional one-line prerequisite found by the local CI run on this base. #3198 duplicates the original three lint corrections; this PR additionally covers the new guard and fonts-off runtime hints.Validation
Full
cargo xtask cipasses all eight gates on the merged source with Rust 1.95, no temporary overlays, and no craft-fonts input. The test run includes the strict all-view accessibility regression, native Apple M5 Max Metal, and WebAssembly checks. Environment-dependent corpus, font, and model skips are reported explicitly; these are local results, separate from hosted GitHub checks.An independent JSON audit against current main confirms that only 140 locale source keys changed and every translation value is unchanged. No installed app, personal photo library, or private photograph was used for this synchronization.
Update — 1 November 2026: this CI prerequisite has been superseded by #3362, #3295 and #3413. #2675 and #3138 remain independent camera-calibration proposals and no longer require this PR to merge. The optional menu-hint separator cleanup was not adopted upstream. The implementation and validation above describe the historical branch state.
Summary by CodeRabbit