mirror of
https://github.com/storytold/wordcraft.git
synced 2026-10-29 12:57:09 -06:00
Merge PR #4182: Parity catalog: the checklist counts Read Mode's Column Width, Page Color and Layout
# Conflicts: # ROADMAP.md # docs/ui-parity.md
This commit is contained in:
+3
-1
File diff suppressed because one or more lines are too long
@@ -346,6 +346,9 @@ View|Window|Switch Windows|view.switchWindows
|
||||
View|Macros|Macros|tools.macros
|
||||
View|Macros|Record Macro|tools.recordMacro
|
||||
View|SharePoint|Properties|file.properties
|
||||
Read Mode|View|Column Width|view.readColumnWidth
|
||||
Read Mode|View|Page Color|view.readPageColor
|
||||
Read Mode|View|Layout|view.readLayout
|
||||
Developer|Controls|Rich Text Content Control|developer.richText
|
||||
Developer|Controls|Plain Text Content Control|developer.plainText
|
||||
Developer|Controls|Picture Content Control|developer.picture
|
||||
@@ -591,4 +594,16 @@ mod tests {
|
||||
// The floor only ever rises.
|
||||
assert!(pct >= 90.4, "parity {pct}%");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn read_mode_view_menu_is_catalogued() {
|
||||
let e = entries();
|
||||
let read_mode: Vec<_> = e.iter().filter(|x| x.0 == "Read Mode").map(|x| (x.1, x.2, x.3)).collect();
|
||||
assert_eq!(
|
||||
read_mode,
|
||||
[("View", "Column Width", "view.readColumnWidth"), ("View", "Page Color", "view.readPageColor"), ("View", "Layout", "view.readLayout")]
|
||||
);
|
||||
let reg = crate::cmd::registry();
|
||||
assert!(reg.get("view.readColumnWidth").is_some(), "Column Width counts as live");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
Generated by `cargo xtask parity` (`wordcraft-cli parity --markdown`): the word-processor feature catalog (`crates/engine/src/catalog.rs`) compared with the live command registry.
|
||||
|
||||
**502 of 517 catalog features have commands (97.1%).**
|
||||
**503 of 520 catalog features have commands (96.7%).**
|
||||
|
||||
| Tab | Live | Total |
|
||||
|---|---|---|
|
||||
@@ -18,6 +18,7 @@ Generated by `cargo xtask parity` (`wordcraft-cli parity --markdown`): the word-
|
||||
| Mailings | 23 | 23 |
|
||||
| Review | 29 | 31 |
|
||||
| View | 25 | 29 |
|
||||
| Read Mode | 1 | 3 |
|
||||
| Developer | 11 | 11 |
|
||||
| Table Design | 8 | 8 |
|
||||
| Table Layout | 33 | 33 |
|
||||
@@ -62,6 +63,11 @@ Generated by `cargo xtask parity` (`wordcraft-cli parity --markdown`): the word-
|
||||
- Window › Synchronous Scrolling (`view.syncScroll`)
|
||||
- Window › Switch Windows (`view.switchWindows`)
|
||||
|
||||
### Read Mode
|
||||
|
||||
- View › Page Color (`view.readPageColor`)
|
||||
- View › Layout (`view.readLayout`)
|
||||
|
||||
### Equation
|
||||
|
||||
- Tools › Ink Equation (`insert.inkEquation`)
|
||||
|
||||
+3
-2
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user