diff --git a/ROADMAP.md b/ROADMAP.md index 651f3ab2e..dc6204b44 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -45,7 +45,7 @@ lines, a typical feature PR 1–2.5 h). Details and what needs a human: ## Stage **Alpha.** Core workflows exist end to end (frames, shapes, vectors, text, auto layout, components -with variants and overrides, styles, variables, prototyping, Dev Mode, SVG/PNG/JPG/PDF), but +with variants and overrides, styles, variables, prototyping, Developer Mode, SVG/PNG/JPG/PDF), but FigCraft opens `.fig` files only best effort, has only a preview of multiplayer, and nothing has been checked against real Figma documents. Ready-for-real-work is ~53%, inside alpha's ~40–75% band, and the alpha gate passes: every daily core workflow (design screens, build a design system, prototype, hand off to developers) works end to end on FigCraft's own files, which save and reopen; review works only asynchronously and `.fig` import is unproven on real files, both beta gaps ([alpha gate](docs/roadmap.md#alpha-gate)). Beta needs ~75% **and** reliable `.fig` import: the `.fig` import's tail (5–10 h), a real-file corpus with measured diff --git a/crates/ui-egui/src/menus/palette.rs b/crates/ui-egui/src/menus/palette.rs index 7b3697660..8d25a8583 100644 --- a/crates/ui-egui/src/menus/palette.rs +++ b/crates/ui-egui/src/menus/palette.rs @@ -241,9 +241,8 @@ fn draw_row(ui: &mut Ui, t: &Tokens, row: &ActionRow, highlighted: bool) -> egui resp } -/// Whether `label` (or `extra`) matches the query, in any case. -/// What a search reads besides the label in the UI's language: the English label, the id, and a -/// name the feature had before it was renamed ([`figcraft_engine::catalog::SEARCH_ALIASES`]). +/// The text a search reads besides the label in the UI's language: the English label, the id, and +/// a name the feature had before it was renamed ([`figcraft_engine::catalog::SEARCH_ALIASES`]). fn search_text(english: &str, id: &str) -> String { let mut text = format!("{english} {id}"); for (alias_id, alias) in figcraft_engine::catalog::SEARCH_ALIASES { @@ -255,6 +254,7 @@ fn search_text(english: &str, id: &str) -> String { text } +/// Whether `label` (or `extra`) matches the query, in any case. fn matches(q: &str, label: &str, extra: &str) -> bool { q.is_empty() || label.to_lowercase().contains(q) || extra.to_lowercase().contains(q) } diff --git a/docs/feature-names.md b/docs/feature-names.md index c3df4d593..437fdb98a 100644 --- a/docs/feature-names.md +++ b/docs/feature-names.md @@ -3,3 +3,9 @@ FigCraft describes itself as an **interface design tool**, without the comparative Figma-class tag. Interface-size command help describes the size steps directly. Command IDs, file-format interoperability references, behavioral documentation and attribution remain unchanged. Regression tests prevent the retired comparative display phrases from returning to MCP instructions or command help. This copy change makes no legal claim about the comparative terms and does not change behavior. + +## Developer Mode + +**Old label:** "Dev Mode". **New label:** "Developer Mode", since #2135. + +Figma holds a US registration for DEV MODE ([US 7574348](https://tsdr.uspto.gov/statusview/sn98045640), registered 2024-11-19, owner Figma, Inc.), so neither a label nor a translation calls the mode by the old name. The identifiers keep their names (`view.devMode`, `devMode.*`), and so do the preference keys and saved document fields; the Actions palette still finds the command by the old name. Some translations had a generic "dev mode" where the proper name belongs (French "Mode Dev", Portuguese "Modo Dev", Dutch "Dev Mode"); they now read "Mode développeur", "Modo do desenvolvedor" and "Ontwikkelaarsmodus", so every language names the mode the same way. `crates/ui-egui/src/naming_tests.rs` keeps the retired name out of the labels and the catalogs.