Parity: RFC-0052 headless column from the engine registry (#17252)

The parity report gets a headless column computed from the engine command registry that photocraft-cli and the MCP server load: 517 yes, 48 no (window), 0 partial, 99 unknown of 664 items, per RFC-0052.
This commit is contained in:
FredApps authored and GitHub committed 2026-11-28 02:00:02 +01:00
1 parent fbd851e98f
commit 301922ccef
3 files changed
+335 -5

No files matched your search

+1
View File
@@ -87,6 +87,7 @@ cargo xtask test-corpus # psd, io, codecs, compose, gpu, text, format
Conventions and paths:
- `unsafe` is allowed only in `crates/tablet/src/macos.rs` and `windows.rs`; the workspace sets `unsafe_code = "forbid"`. The example plug-in in `examples/plugins/` is outside the workspace and uses `unsafe` for the WebAssembly host calls. Every new crate sets `[lints] workspace = true`.
- Parity headless column ([RFC-0052](https://github.com/storytold/craft-contrib/blob/main/rfcs/0052-headless-reach.md)): `cargo xtask parity` marks a catalog item `headless: yes` only when `photocraft_engine::commands::find` has its id, the registry `photocraft-cli` and the MCP server load. Panel toggles, workspaces and tool shortcuts that are live only in the desktop app are `no` (window). Other ids take a `no`/`partial` mark with a `window`, `os` or `engine-gap` reach from `HEADLESS` in `crates/ui-egui/src/menus/parity.rs`, or read `unknown`. Never write `yes` there; stale marks fail `headless_marks_are_current`.
- Attribution file: `ATTRIBUTION.md`. Fonts come from storytold/craft-fonts through `CRAFT_FONTS_DIR` (`docs/development.md` > Fonts).
- Test corpora: storytold/photocraft-corpus, fetched into `corpus/` by `cargo xtask corpus --all` at the pins in `xtask/src/corpus_pins.rs`. `cargo xtask test-corpus` runs each directory's fixed sample; `PHOTOCRAFT_FULL_SWEEP=1` runs every file (CI: samples on pull requests and main, every file nightly).
- Feature names are recorded in `docs/feature-names.md`.
+163 -5
View File
@@ -6,6 +6,93 @@
use crate::menu_catalog::CATALOG;
use crate::menus::is_live;
/// RFC-0052 hand marks for catalog ids that aren't engine commands: `(id, headless, reach, why)`.
///
/// `headless` is `no` or `partial`; `reach` is `window` (needs a desktop window, dialog or pointer),
/// `os` (needs an OS service the engine doesn't wrap) or `engine-gap` (could be an engine command,
/// isn't one yet). `yes` is never written here: an item is `yes` only when
/// `photocraft_engine::commands::find` has its id, the registry `photocraft-cli` and the MCP server
/// load. [`is_live`] also counts a dozen desktop-only sources; those make an item live in the menu,
/// not headless. Without a mark, an id the desktop serves as a panel, workspace or pointer tool is
/// `no` with `reach: window` ([`desktop_window`]); any other is `unknown`.
pub const HEADLESS: &[(&str, &str, &str, &str)] = &[];
/// Why a non-engine id needs a desktop window, when the desktop serves it as a panel, a workspace
/// or a pointer tool.
fn desktop_window(id: &str) -> Option<&'static str> {
if super::invoke::panel_alias(id).is_some() || crate::panel_docking::toggle_panel(id).is_some() {
Some("shows or hides a desktop panel")
} else if super::invoke::workspace_id(id).is_some() || crate::workspace_ui::handles(id) {
Some("a desktop workspace")
} else if crate::tool_shortcuts::tool(id).is_some() {
Some("picks a pointer tool")
} else {
None
}
}
/// An item's RFC-0052 `(headless, reach, why)`: `yes` for an engine command, else its mark in
/// `marks`, else `no`/`window` for a desktop panel, workspace or tool, else `unknown`.
pub fn headless_of<'a>(id: &str, in_engine: bool, marks: &[(&'a str, &'a str, &'a str, &'a str)]) -> (&'a str, Option<&'a str>, &'a str) {
if in_engine {
return ("yes", None, "");
}
if let Some(m) = marks.iter().find(|m| m.0 == id) {
return (m.1, Some(m.2), m.3);
}
match desktop_window(id) {
Some(why) => ("no", Some("window"), why),
None => ("unknown", None, ""),
}
}
/// Problems with `marks` against `ids` (`(id, is an engine command)`): bad values, repeats, ids
/// not in the catalog, and marks on engine commands (they would hide a `yes`).
pub fn headless_errors(marks: &[(&str, &str, &str, &str)], ids: &[(&str, bool)]) -> Vec<String> {
let mut errs = Vec::new();
for (i, (id, value, reach, _)) in marks.iter().enumerate() {
if !matches!(*value, "no" | "partial") {
errs.push(format!("headless mark `{id}`: `{value}` is not `no` or `partial` (`yes` comes from the registry)"));
}
if !matches!(*reach, "window" | "os" | "engine-gap") {
errs.push(format!("headless mark `{id}`: reach `{reach}` is not window, os or engine-gap"));
}
if marks[..i].iter().any(|m| m.0 == *id) {
errs.push(format!("headless mark `{id}` is written twice"));
}
match ids.iter().find(|x| x.0 == *id) {
None => errs.push(format!("headless mark `{id}` is not a catalog id")),
Some((_, true)) => errs.push(format!("headless mark `{id}` is stale: it is an engine command, so it is `yes`")),
Some(_) => {}
}
}
errs
}
/// RFC-0052 counts over the catalog.
#[derive(Clone, Debug, Default, PartialEq, Eq, serde::Serialize)]
pub struct HeadlessCounts {
pub yes: usize,
pub no_window: usize,
pub no_os: usize,
pub no_engine_gap: usize,
pub partial: usize,
pub unknown: usize,
}
impl HeadlessCounts {
fn add(&mut self, value: &str, reach: Option<&str>) {
match (value, reach) {
("yes", _) => self.yes += 1,
("no", Some("window")) => self.no_window += 1,
("no", Some("os")) => self.no_os += 1,
("no", _) => self.no_engine_gap += 1,
("partial", _) => self.partial += 1,
_ => self.unknown += 1,
}
}
}
/// Minimum number of live catalog items. Raise it when parity grows; never lower it.
pub const FLOOR: usize = 663;
@@ -17,6 +104,8 @@ pub struct MenuParity {
pub total: usize,
/// Labels (with submenu path) of items not implemented yet.
pub missing: Vec<String>,
/// Items that aren't `headless: yes`, with their value (RFC-0052).
pub not_headless: Vec<String>,
}
#[derive(Clone, Debug, serde::Serialize)]
@@ -24,6 +113,7 @@ pub struct Parity {
pub live: usize,
pub total: usize,
pub menus: Vec<MenuParity>,
pub headless: HeadlessCounts,
}
impl Parity {
@@ -42,6 +132,18 @@ impl Parity {
let pct = if m.total == 0 { 0.0 } else { 100.0 * m.live as f64 / m.total as f64 };
s.push_str(&format!("| {} | {} | {} | {:.0}% |\n", m.menu, m.live, m.total, pct));
}
let h = &self.headless;
s.push_str(&format!(
"\n**Headless ([RFC-0052](https://github.com/storytold/craft-contrib/blob/main/rfcs/0052-headless-reach.md)): {} yes, {} no (window {}, os {}, engine-gap {}), {} partial, {} unknown.**\n\n",
h.yes,
h.no_window + h.no_os + h.no_engine_gap,
h.no_window,
h.no_os,
h.no_engine_gap,
h.partial,
h.unknown
));
s.push_str("Live counts the desktop app's own panels, workspaces, tools and view handlers. Headless counts only the engine registry that `photocraft-cli` and the MCP server load: an item is `yes` when its id is an engine command. The rest are listed under [Not headless](#not-headless), with the hand mark from `HEADLESS` in `crates/ui-egui/src/menus/parity.rs`, `no` (`window`) for a desktop panel, workspace or tool, or `unknown`.\n");
s.push_str("\n## Not yet implemented\n");
for m in self.menus.iter().filter(|m| !m.missing.is_empty()) {
s.push_str(&format!("\n### {} ({})\n\n", m.menu, m.missing.len()));
@@ -49,6 +151,13 @@ impl Parity {
s.push_str(&format!("- {item}\n"));
}
}
s.push_str("\n## Not headless\n");
for m in self.menus.iter().filter(|m| !m.not_headless.is_empty()) {
s.push_str(&format!("\n### {} ({})\n\n", m.menu, m.not_headless.len()));
for item in &m.not_headless {
s.push_str(&format!("* {item}\n"));
}
}
s
}
}
@@ -57,6 +166,7 @@ impl Parity {
pub fn compute() -> Parity {
let mut menus: Vec<MenuParity> = Vec::new();
let mut seen = std::collections::HashSet::new();
let mut headless = HeadlessCounts::default();
for &(path, label, _, id) in CATALOG {
if id == "---" || !seen.insert(id) {
continue;
@@ -65,21 +175,28 @@ pub fn compute() -> Parity {
let i = match menus.iter().position(|m| m.menu == top) {
Some(i) => i,
None => {
menus.push(MenuParity { menu: top.to_string(), live: 0, total: 0, missing: Vec::new() });
menus.push(MenuParity { menu: top.to_string(), live: 0, total: 0, missing: Vec::new(), not_headless: Vec::new() });
menus.len() - 1
}
};
let Some(m) = menus.get_mut(i) else { continue };
m.total += 1;
let mut full: Vec<&str> = path[1..].to_vec();
full.push(label);
let name = format!("{} (`{id}`)", full.join(" › "));
let (value, reach, why) = headless_of(id, photocraft_engine::commands::find(id).is_some(), HEADLESS);
headless.add(value, reach);
if value != "yes" {
let reach = reach.map(|r| format!(", reach: {r} ({why})")).unwrap_or_default();
m.not_headless.push(format!("{name}: headless: {value}{reach}"));
}
if is_live(id) {
m.live += 1;
} else {
let mut full: Vec<&str> = path[1..].to_vec();
full.push(label);
m.missing.push(format!("{} (`{id}`)", full.join(" › ")));
m.missing.push(name);
}
}
Parity { live: menus.iter().map(|m| m.live).sum(), total: menus.iter().map(|m| m.total).sum(), menus }
Parity { live: menus.iter().map(|m| m.live).sum(), total: menus.iter().map(|m| m.total).sum(), menus, headless }
}
#[cfg(test)]
@@ -93,10 +210,51 @@ mod tests {
assert!(p.live >= FLOOR, "menu parity regressed: {} live < floor {FLOOR}", p.live);
}
#[test]
fn headless_marks_are_current() {
let ids: Vec<(&str, bool)> = CATALOG.iter().filter(|c| c.3 != "---").map(|c| (c.3, photocraft_engine::commands::find(c.3).is_some())).collect();
let errs = headless_errors(HEADLESS, &ids);
assert!(errs.is_empty(), "{errs:?}");
}
#[test]
fn headless_yes_is_the_engine_registry_only() {
let p = compute();
let h = &p.headless;
assert_eq!(h.yes + h.no_window + h.no_os + h.no_engine_gap + h.partial + h.unknown, p.total);
assert!(h.yes < p.live, "desktop-only sources are live, not headless");
let listed: usize = p.menus.iter().map(|m| m.not_headless.len()).sum();
assert_eq!(listed, p.total - h.yes);
// A panel toggle is live in the desktop app and never headless.
let window = p.menus.iter().find(|m| m.menu == "Window").map(|m| m.not_headless.len()).unwrap_or(0);
assert!(window > 0, "Window panels read as not headless");
assert!(p.to_markdown().contains(&format!("{} yes,", h.yes)));
}
#[test]
fn headless_values_and_bad_marks() {
let marks = [("c.d", "no", "engine-gap", "could be a command")];
assert_eq!(headless_of("c.d", true, &marks).0, "yes", "an engine id is yes whatever the mark says");
assert_eq!(headless_of("c.d", false, &marks), ("no", Some("engine-gap"), "could be a command"));
assert_eq!(headless_of("q.never", false, &marks).0, "unknown");
let ids = [("a.b", true), ("c.d", false)];
let bad = [("c.d", "yes", "os", ""), ("c.d", "no", "desk", ""), ("a.b", "no", "os", ""), ("z.z", "no", "os", "")];
let errs = headless_errors(&bad, &ids);
for want in ["is not `no` or `partial`", "reach `desk`", "written twice", "`a.b` is stale", "`z.z` is not a catalog id"] {
assert!(errs.iter().any(|e| e.contains(want)), "{want}: {errs:?}");
}
let mut c = HeadlessCounts::default();
for (v, r) in [("yes", None), ("no", Some("window")), ("no", Some("os")), ("no", Some("engine-gap")), ("partial", Some("os")), ("unknown", None)] {
c.add(v, r);
}
assert_eq!(c, HeadlessCounts { yes: 1, no_window: 1, no_os: 1, no_engine_gap: 1, partial: 1, unknown: 1 });
}
#[test]
fn markdown_lists_every_missing_item() {
let p = compute();
let md = p.to_markdown();
// `- ` lines are the missing items; the Not headless list uses `* `.
let listed = md.lines().filter(|l| l.starts_with("- ")).count();
assert_eq!(listed, p.total - p.live);
}
+171
View File
@@ -16,4 +16,175 @@ Generated by `cargo xtask parity` from `crates/ui-egui/src/menu_catalog.rs` (Pho
| View | 76 | 76 | 100% |
| Window | 62 | 62 | 100% |
**Headless ([RFC-0052](https://github.com/storytold/craft-contrib/blob/main/rfcs/0052-headless-reach.md)): 517 yes, 48 no (window 48, os 0, engine-gap 0), 0 partial, 99 unknown.**
Live counts the desktop app's own panels, workspaces, tools and view handlers. Headless counts only the engine registry that `photocraft-cli` and the MCP server load: an item is `yes` when its id is an engine command. The rest are listed under [Not headless](#not-headless), with the hand mark from `HEADLESS` in `crates/ui-egui/src/menus/parity.rs`, `no` (`window`) for a desktop panel, workspace or tool, or `unknown`.
## Not yet implemented
## Not headless
### File (6)
* Open… (`file.open`): headless: unknown
* Save (`file.save`): headless: unknown
* Save As… (`file.saveAs`): headless: unknown
* Export › Quick Export as PNG (`file.export.quickExportAsPng`): headless: unknown
* Export › Export As… (`file.export.exportAs`): headless: unknown
* Exit (`file.exit`): headless: unknown
### Edit (7)
* Search… (`edit.search`): headless: unknown
* Free Transform (`edit.freeTransform`): headless: unknown
* Transform › Scale (`edit.transform.scale`): headless: unknown
* Transform › Rotate (`edit.transform.rotate`): headless: unknown
* Transform › Skew (`edit.transform.skew`): headless: unknown
* Transform › Distort (`edit.transform.distort`): headless: unknown
* Transform › Perspective (`edit.transform.perspective`): headless: unknown
### Type (14)
* Panels › Character Panel (`type.panels.character`): headless: unknown
* Panels › Paragraph Panel (`type.panels.paragraph`): headless: unknown
* Panels › Glyphs Panel (`type.panels.glyphs`): headless: no, reach: window (shows or hides a desktop panel)
* Panels › Character Styles Panel (`type.panels.characterStyles`): headless: no, reach: window (shows or hides a desktop panel)
* Panels › Paragraph Styles Panel (`type.panels.paragraphStyles`): headless: no, reach: window (shows or hides a desktop panel)
* Font Preview Size › Small (`type.fontPreviewSize.small`): headless: unknown
* Font Preview Size › Medium (`type.fontPreviewSize.medium`): headless: unknown
* Font Preview Size › Large (`type.fontPreviewSize.large`): headless: unknown
* Font Preview Size › Extra Large (`type.fontPreviewSize.extraLarge`): headless: unknown
* Font Preview Size › Huge (`type.fontPreviewSize.huge`): headless: unknown
* Language Options › Default Features (`type.languageOptions.defaultFeatures`): headless: unknown
* Language Options › East Asian Features (`type.languageOptions.eastAsianFeatures`): headless: unknown
* Language Options › Middle Eastern Features (`type.languageOptions.middleEasternFeatures`): headless: unknown
* Language Options › Middle Eastern & South Asian Composer (`type.languageOptions.middleEasternAndSouthAsianComposer`): headless: unknown
### Select (1)
* Select and Mask… (`select.selectAndMask`): headless: unknown
### View (57)
* Proof Setup › Custom… (`view.proofSetup.custom`): headless: unknown
* Proof Setup › Working CMYK (`view.proofSetup.workingCmyk`): headless: unknown
* Proof Setup › Internet Standard RGB (sRGB) (`view.proofSetup.internetStandardRgb`): headless: unknown
* Proof Setup › Monitor RGB (`view.proofSetup.monitorRgb`): headless: unknown
* Pixel Aspect Ratio › Custom Pixel Aspect Ratio… (`view.pixelAspectRatio.custom`): headless: no, reach: window (a desktop workspace)
* Pixel Aspect Ratio › Square (`view.pixelAspectRatio.square`): headless: unknown
* Pixel Aspect Ratio › D1/DV NTSC (0.91) (`view.pixelAspectRatio.d1DvNtsc`): headless: unknown
* Pixel Aspect Ratio › D1/DV PAL (1.09) (`view.pixelAspectRatio.d1DvPal`): headless: unknown
* Pixel Aspect Ratio › D1/DV NTSC Widescreen (1.21) (`view.pixelAspectRatio.d1DvNtscWidescreen`): headless: unknown
* Pixel Aspect Ratio › HDV 1080/DVCPRO HD 720 (1.33) (`view.pixelAspectRatio.hdv1080`): headless: unknown
* Pixel Aspect Ratio › D1/DV PAL Widescreen (1.46) (`view.pixelAspectRatio.d1DvPalWidescreen`): headless: unknown
* Pixel Aspect Ratio › DVCPRO HD 1080/HDV 1080 (1.5) (`view.pixelAspectRatio.dvcproHd1080`): headless: unknown
* Pixel Aspect Ratio › Anamorphic 2:1 (2) (`view.pixelAspectRatio.anamorphic2To1`): headless: unknown
* Pixel Aspect Ratio Correction (`view.pixelAspectRatioCorrection`): headless: unknown
* Zoom In (`view.zoomIn`): headless: unknown
* Zoom Out (`view.zoomOut`): headless: unknown
* Fit on Screen (`view.fitOnScreen`): headless: unknown
* Fit Layer(s) on Screen (`view.fitLayersOnScreen`): headless: unknown
* Fit Artboard on Screen (`view.fitArtboardOnScreen`): headless: unknown
* 100% (`view.actualPixels`): headless: unknown
* 200% (`view.twoHundredPercent`): headless: unknown
* Print Size (`view.printSize`): headless: unknown
* Flip Horizontal (`view.flipHorizontal`): headless: unknown
* Screen Mode › Standard Screen Mode (`view.screenMode.standard`): headless: unknown
* Screen Mode › Full Screen Mode With Menu Bar (`view.screenMode.fullScreenWithMenuBar`): headless: unknown
* Screen Mode › Full Screen Mode (`view.screenMode.fullScreen`): headless: unknown
* Extras (`view.extras`): headless: unknown
* Show › Layer Edges (`view.show.layerEdges`): headless: unknown
* Show › Selection Edges (`view.show.selectionEdges`): headless: unknown
* Show › Target Path (`view.show.targetPath`): headless: unknown
* Show › Grid (`view.show.grid`): headless: unknown
* Show › Guides (`view.show.guides`): headless: unknown
* Show › Canvas Guides (`view.show.canvasGuides`): headless: unknown
* Show › Artboard Guides (`view.show.artboardGuides`): headless: unknown
* Show › Count (`view.show.count`): headless: unknown
* Show › Smart Guides (`view.show.smartGuides`): headless: unknown
* Show › Slices (`view.show.slices`): headless: unknown
* Show › Notes (`view.show.notes`): headless: unknown
* Show › Pixel Grid (`view.show.pixelGrid`): headless: unknown
* Show › Brush Preview (`view.show.brushPreview`): headless: unknown
* Show › Mesh (`view.show.mesh`): headless: unknown
* Show › Edit Pins (`view.show.editPins`): headless: unknown
* Show › All (`view.show.all`): headless: unknown
* Show › Show Extras Options… (`view.show.showExtrasOptions`): headless: no, reach: window (a desktop workspace)
* Rulers (`view.rulers`): headless: unknown
* Snap (`view.snap`): headless: unknown
* Snap To › Guides (`view.snapTo.guides`): headless: unknown
* Snap To › Grid (`view.snapTo.grid`): headless: unknown
* Snap To › Layers (`view.snapTo.layers`): headless: unknown
* Snap To › Slices (`view.snapTo.slices`): headless: unknown
* Snap To › Document Bounds (`view.snapTo.documentBounds`): headless: unknown
* Snap To › All (`view.snapTo.all`): headless: unknown
* Guides › Edit Selected Guides (`view.editSelectedGuides`): headless: unknown
* Guides › Lock Guides (`view.lockGuides`): headless: unknown
* Guides › Clear Selected Guides (`view.clearSelectedGuides`): headless: unknown
* Pattern Preview (`view.patternPreview`): headless: unknown
* Pixel Art Preview (`view.pixelArtPreview`): headless: unknown
### Window (62)
* Arrange › Tile All Vertically (`window.arrange.tileAllVertically`): headless: unknown
* Arrange › Tile All Horizontally (`window.arrange.tileAllHorizontally`): headless: unknown
* Arrange › 2-up Horizontal (`window.arrange.twoUpHorizontal`): headless: unknown
* Arrange › 2-up Vertical (`window.arrange.twoUpVertical`): headless: unknown
* Arrange › 3-up Horizontal (`window.arrange.threeUpHorizontal`): headless: unknown
* Arrange › 3-up Vertical (`window.arrange.threeUpVertical`): headless: unknown
* Arrange › 3-up Stacked (`window.arrange.threeUpStacked`): headless: unknown
* Arrange › 4-up (`window.arrange.fourUp`): headless: unknown
* Arrange › 6-up (`window.arrange.sixUp`): headless: unknown
* Arrange › Consolidate All to Tabs (`window.arrange.consolidateAllToTabs`): headless: unknown
* Arrange › Cascade (`window.arrange.cascade`): headless: unknown
* Arrange › Tile (`window.arrange.tile`): headless: unknown
* Arrange › Float in Window (`window.arrange.floatInWindow`): headless: unknown
* Arrange › Float All in Windows (`window.arrange.floatAllInWindows`): headless: unknown
* Arrange › Match Zoom (`window.arrange.matchZoom`): headless: unknown
* Arrange › Match Location (`window.arrange.matchLocation`): headless: unknown
* Arrange › Match Rotation (`window.arrange.matchRotation`): headless: unknown
* Arrange › Match All (`window.arrange.matchAll`): headless: unknown
* Arrange › New Window (`window.arrange.newWindowForDocument`): headless: unknown
* Workspace › Essentials (`window.workspace.essentials`): headless: no, reach: window (a desktop workspace)
* Workspace › Photography (`window.workspace.photography`): headless: no, reach: window (a desktop workspace)
* Workspace › Painting (`window.workspace.painting`): headless: no, reach: window (a desktop workspace)
* Workspace › Pixel Art (`window.workspace.pixelArt`): headless: no, reach: window (a desktop workspace)
* Workspace › Graphic and Web (`window.workspace.graphicAndWeb`): headless: no, reach: window (a desktop workspace)
* Workspace › Motion (`window.workspace.motion`): headless: no, reach: window (a desktop workspace)
* Workspace › Reset Workspace (`workspace.reset`): headless: no, reach: window (a desktop workspace)
* Workspace › New Workspace… (`workspace.new`): headless: no, reach: window (a desktop workspace)
* Workspace › Delete Workspace… (`workspace.delete`): headless: no, reach: window (a desktop workspace)
* Workspace › Lock Workspace (`workspace.lock`): headless: no, reach: window (a desktop workspace)
* Actions (`window.panel.actions`): headless: no, reach: window (shows or hides a desktop panel)
* Adjustments (`window.panel.adjustments`): headless: no, reach: window (shows or hides a desktop panel)
* Brush Settings (`window.panel.brushSettings`): headless: no, reach: window (shows or hides a desktop panel)
* Brushes (`window.panel.brushes`): headless: no, reach: window (shows or hides a desktop panel)
* Channels (`window.panel.channels`): headless: no, reach: window (shows or hides a desktop panel)
* Character (`window.panel.character`): headless: no, reach: window (shows or hides a desktop panel)
* Character Styles (`window.panel.characterStyles`): headless: no, reach: window (shows or hides a desktop panel)
* Clone Source (`window.panel.cloneSource`): headless: no, reach: window (shows or hides a desktop panel)
* Color (`window.panel.color`): headless: no, reach: window (shows or hides a desktop panel)
* Glyphs (`window.panel.glyphs`): headless: no, reach: window (shows or hides a desktop panel)
* Gradients (`window.panel.gradients`): headless: no, reach: window (shows or hides a desktop panel)
* Histogram (`window.panel.histogram`): headless: no, reach: window (shows or hides a desktop panel)
* History (`window.panel.history`): headless: no, reach: window (shows or hides a desktop panel)
* Info (`window.panel.info`): headless: no, reach: window (shows or hides a desktop panel)
* Layer Comps (`window.panel.layerComps`): headless: no, reach: window (shows or hides a desktop panel)
* Layers (`window.panel.layers`): headless: no, reach: window (shows or hides a desktop panel)
* Measurement Log (`window.panel.measurementLog`): headless: no, reach: window (shows or hides a desktop panel)
* Modifier Keys (`window.panel.modifierKeys`): headless: no, reach: window (shows or hides a desktop panel)
* Navigator (`window.panel.navigator`): headless: no, reach: window (shows or hides a desktop panel)
* Notes (`window.panel.notes`): headless: no, reach: window (shows or hides a desktop panel)
* Paragraph (`window.panel.paragraph`): headless: no, reach: window (shows or hides a desktop panel)
* Paragraph Styles (`window.panel.paragraphStyles`): headless: no, reach: window (shows or hides a desktop panel)
* Paths (`window.panel.paths`): headless: no, reach: window (shows or hides a desktop panel)
* Patterns (`window.panel.patterns`): headless: no, reach: window (shows or hides a desktop panel)
* Properties (`window.panel.properties`): headless: no, reach: window (shows or hides a desktop panel)
* Shapes (`window.panel.shapes`): headless: no, reach: window (shows or hides a desktop panel)
* Styles (`window.panel.styles`): headless: no, reach: window (shows or hides a desktop panel)
* Swatches (`window.panel.swatches`): headless: no, reach: window (shows or hides a desktop panel)
* Timeline (`window.panel.timeline`): headless: no, reach: window (shows or hides a desktop panel)
* Tool Presets (`window.panel.toolPresets`): headless: no, reach: window (shows or hides a desktop panel)
* Options (`window.panel.options`): headless: no, reach: window (shows or hides a desktop panel)
* Tools (`window.panel.tools`): headless: no, reach: window (shows or hides a desktop panel)
* Contextual Task Bar (`window.panel.contextualTaskBar`): headless: no, reach: window (shows or hides a desktop panel)