Skip to content

Preferences: the File view entry and the search field carry the window's name (#8318) - #8432

Merged
bherbruck merged 2 commits into
tangency-labs:mainfrom
cfaulkingham:fix-8318
Oct 28, 2026
Merged

bherbruck merged 2 commits into
tangency-labs:mainfrom
cfaulkingham:fix-8318

Conversation

@cfaulkingham

@cfaulkingham cfaulkingham commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #8318

What was wrong

The app calls the Preferences window two names. The window title, the File menu ("Preferences…", Cmd / Ctrl + ,) and the help texts around the app say Preferences, while the File view entry that opens the same window said Settings, and the window's own search field said Search settings / No matching settings.

What it does now

The strings that name the window or point to it use Preferences in English; the ids are unchanged:

  • home.settings: "Settings" -> "Preferences"
  • prefs.search: "Search settings" -> "Search preferences"
  • prefs.search_empty: "No matching settings" -> "No matching preferences"
  • ai.connected_toast: "(Settings > Assistant)" -> "(Preferences > Assistant)"

The translations of these ids followed the English source, so their wording stays until the language teams catch up; no other catalog is touched here.

Changes a default: no

How it was tested

  • New home::tests::the_entry_that_opens_preferences_carries_the_windows_name (crates/ui-egui/src/home.rs): the entry that opens Preferences carries the window's own name, and clicking it opens Preferences. On main it fails ("left: Settings, right: Preferences"); with the change it passes.
  • New prefs_search::tests::the_search_field_names_the_window_it_searches (crates/ui-egui/src/prefs_search.rs): the placeholder and the empty result name the window. On main it fails ("search settings should name the window preferences"); with the change it passes.
  • The existing expectation prefs_search::tests::preferences_search_filters_live_controls_across_pages updated to the new empty result; the prefs_search:: and home::tests:: suites pass.
  • cargo xtask ci on this branch: the full solidcraft-ui-egui lib suite passes (3171 passed, 0 failed) and the scenarios pass except agent_chat_home_page. Every other failure it reports also fails with this change stashed on this machine, and belongs to crates this change does not touch:
    • agent_chat_home_page scenario - documented on Viewport: opt-in model zoom and Traced 3D mouse orbit (#7435) #7991 as failing on main on this machine (it waits for agent detection).
    • crates/gpu capture the_renderer_counts_what_it_draws - a renderer-statistics assertion; the capture binary passes when re-run (12/12).
    • engine prism_local_tests::a_ring_cut_round_a_counterbored_hole_in_a_chamfered_disc and robustness_goldens::seed_36 / seed_71 - kernel goldens.
    • the wasm check, which fails on main at crates/ui-egui/src/prefs.rs:2738 (.bytes() on DroppedFile, from b68d42e, Theme: paste a theme into the Import tile (#8226) #8227) - this change has no diff in that file.

Evidence

Captured from the desktop app through the control channel, before and after.

The File view entry

before: the entry says Settings
after: the entry says Preferences

Inside the window

before: the search field says Search settings
after: the search field says Search preferences

…w's name (tangency-labs#8318)

The File view's entry that opens Preferences said "Settings", and the window's
search field said "Search settings" / "No matching settings", while the window
title, the File menu and the help texts around the app say "Preferences".  The
strings that name the window or point to it now use "Preferences"; ids unchanged.

Translations of these ids followed the English source and keep their wording
until the language teams catch up.

Tests: home::tests::the_entry_that_opens_preferences_carries_the_windows_name
and prefs_search::tests::the_search_field_names_the_window_it_searches fail on
main ("Settings" vs "Preferences") and pass here; the prefs_search:: and home::
suites pass, and the full solidcraft-ui-egui lib suite passed in `cargo xtask ci`.
@cfaulkingham
cfaulkingham marked this pull request as ready for review October 28, 2026 19:15
@bherbruck bherbruck added ready to merge reviewed, every ask addressed; merge once CI is green approved-for-ci Reviewed: run the full PR CI (build, tests, goldens, Clippy) and removed approved-for-ci Reviewed: run the full PR CI (build, tests, goldens, Clippy) labels Oct 28, 2026
@bherbruck
bherbruck enabled auto-merge October 28, 2026 19:56
@bherbruck bherbruck added approved-for-ci Reviewed: run the full PR CI (build, tests, goldens, Clippy) and removed approved-for-ci Reviewed: run the full PR CI (build, tests, goldens, Clippy) labels Oct 28, 2026
@bherbruck
bherbruck added this pull request to the merge queue Oct 28, 2026
Merged via the queue into tangency-labs:main with commit 90ef106 Oct 28, 2026
123 of 138 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved-for-ci Reviewed: run the full PR CI (build, tests, goldens, Clippy) ready to merge reviewed, every ask addressed; merge once CI is green

Projects

None yet

Development

Successfully merging this pull request may close these issues.

'settings' and 'preferences' used interchangebly

2 participants