Match all editor themes to modern submenu palettes (by Codex)
No files matched your search
@@ -29,6 +29,14 @@ Shortcuts: Ctrl/Cmd+O, Ctrl/Cmd+S, Shift+Ctrl/Cmd+S, Ctrl/Cmd+Z und Shift+Ctrl/C
|
||||
|
||||
**Optionen** bietet Deutsch/Englisch, Midnight Glass/Silver Glass/Matchday und den integrierten MCP-Server. Die Sprache ändert die Oberfläche; Namen und Quelldaten werden nicht übersetzt. Einstellungen werden im Benutzerprofil gespeichert.
|
||||
|
||||
Unter **Darstellung** stehen die drei Farbwelten der modernen Untermenüs zur Auswahl:
|
||||
|
||||
- **Midnight Glass:** Schiefergrau mit dezenten Mint-Akzenten.
|
||||
- **Silver Glass:** helle silbergraue Flächen mit Petrol-Akzenten.
|
||||
- **Matchday:** Graphit mit warmen Korall-Akzenten.
|
||||
|
||||
**Anwenden** wechselt das Theme ohne Neustart. Die Farbwahl gilt auch für Tabellen, Eigenschaften, Dropdowns, Meldungen und die Bildbearbeitung. [Native Vergleichsbilder](qa/editor-poc/README.md#theme-comparison) zeigen alle drei mit denselben synthetischen Daten.
|
||||
|
||||
Der MCP-Server ist standardmäßig aktiviert und bindet ausschließlich `127.0.0.1`, standardmäßig Port `8765`. Port `0` wählt einen freien Port. Status und tatsächlicher Port sind in Optionen sichtbar. **Verbindung kopieren** kopiert eine JSON-Konfiguration einschließlich Bearer-Token für HTTP-fähige MCP-Clients. Das Token bleibt lokal im Benutzerprofil und wird nur auf ausdrückliches Kopieren/CLI-Anfordern ausgegeben. Ein anderer bereits laufender Editor kann den Standardport belegen; dann einen anderen Port wählen.
|
||||
|
||||
Implementiert ist [MCP Streamable HTTP 2025-11-25](https://modelcontextprotocol.io/specification/2025-11-25/basic/transports), mit Aushandlung von 2025-06-18; JSON-Antworten, ohne optionale SSE-Sitzungen. Neuere MCP-Versionen werden nicht als unterstützt beworben. Der Server prüft Token, Host und gegebenenfalls Origin. Oberfläche und Agent bearbeiten dieselbe Welt, verwenden dieselbe Validierung und dieselbe Undo-Historie. Für konkurrierende Änderungen `expected_revision` aus `editor_info`/`editor_get` mitsenden.
|
||||
|
||||
@@ -12,7 +12,26 @@ reviewed image hashes are allowlisted by the public-tree check.
|
||||
| [Squads](roster-matchday-de.png) | Matchday theme, full squads and optional 24-row view |
|
||||
| [Search](gui-search.png) | Actual keyboard input, focus retained across filtering |
|
||||
| [Options](options-midnight-de.png) | Language, theme, integrated MCP toggle/port |
|
||||
| [Image editor](image-editor-midnight-de.png) | Source-preserving crop, free rotation and mirroring; a simple synthetic vector portrait |
|
||||
| [Image editor](image-editor-midnight-de.png) | Source-preserving crop, free rotation and mirroring; the demo's geometric SVG crest |
|
||||
|
||||
## Theme comparison
|
||||
|
||||
The three editor palettes follow the modern game's submenu colours. Midnight
|
||||
uses a slate-grey gradient and restrained mint accents, Silver pale silver-blue
|
||||
surfaces and petrol accents, and Matchday graphite surfaces and coral accents.
|
||||
All components consume the inherited palette, including dropdown popups,
|
||||
validation/error text, scrollbars, image stages and crop outlines. The comparison
|
||||
uses the same German `World::demo()` view in each theme.
|
||||
|
||||
| Theme | Clubs | Options | Image editor |
|
||||
|---|---|---|---|
|
||||
| Midnight Glass | [View](clubs-midnight-de.png) | [View](options-midnight-de.png) | [View](image-editor-midnight-de.png) |
|
||||
| Silver Glass | [View](clubs-silver-de.png) | [View](options-silver-de.png) | [View](image-editor-silver-de.png) |
|
||||
| Matchday | [View](clubs-matchday-de.png) | [View](options-matchday-de.png) | [View](image-editor-matchday-de.png) |
|
||||
|
||||
[Previous Midnight view](https://github.com/Weyoune/openbmh/blob/fcf6092063c2354dec400462d5fa0c7dda3afe11/docs/qa/editor-poc/clubs-midnight-de.png)
|
||||
provides the before image for the change from saturated navy to the submenu
|
||||
palette. Data and layout are identical.
|
||||
|
||||
Environment: Debian 13 x86-64; actual SDL2/OpenGL/RmlUI window inside Xvfb,
|
||||
software OpenGL requested with `LIBGL_ALWAYS_SOFTWARE=1`; 1440×900 window.
|
||||
@@ -31,6 +50,13 @@ Validation performed:
|
||||
JSON colour field retained; native search focus; shared MCP/native undo/redo;
|
||||
save to OBW. This check caught and fixed RmlUI textarea entity handling and
|
||||
select-initialization refresh loops.
|
||||
- Native theme QA: switch Midnight → Silver → Matchday → Midnight through the
|
||||
actual Options dropdown and Apply button; verify persisted settings and
|
||||
compare rendered body, list and inspector pixels against a fresh startup
|
||||
in each theme. Reopen the editor using the saved preference. Inspect the
|
||||
Options popup, rejected invalid port input, dashboard, players, review,
|
||||
history and image editor in each palette. The rejected input leaves the
|
||||
saved options unchanged. No new platform GUI claim is implied.
|
||||
- Private local checks, whose data is not published here: raw BMH and raw
|
||||
Football Limited import, existing converted Classic OBWs, save/reopen, frozen
|
||||
Classic portrait composition, and the large private merged 32-league world.
|
||||
@@ -46,9 +72,10 @@ OpenBMHEditor --demo --page clubs --screenshot clubs.png --quit-after-ms 1800
|
||||
```
|
||||
|
||||
The synthetic data is generated by `World::demo()`, not a career save. Options
|
||||
files used for captures are local QA profiles and are not included. The vector
|
||||
portrait uses a blue rectangle, a circular head and a rounded shoulder shape;
|
||||
it is an image-editor fixture, not a real or AI-generated player.
|
||||
files used for captures are local QA profiles and are not included. The image
|
||||
editor captures use the demo's geometric SVG crest. Earlier history also
|
||||
contains a synthetic portrait made from a blue rectangle, circular head and
|
||||
rounded shoulders; no real or AI-generated player photo is used.
|
||||
|
||||
Windows x64/macOS ARM64 build and core/MCP checks are run by the separate
|
||||
**OBW Editor POC** workflow. A CI pass is not a human GUI acceptance test on
|
||||
|
||||
|
After Width: | Height: | Size: 134 KiB |
|
Before Width: | Height: | Size: 89 KiB After Width: | Height: | Size: 179 KiB |
|
After Width: | Height: | Size: 157 KiB |
|
Before Width: | Height: | Size: 79 KiB After Width: | Height: | Size: 131 KiB |
|
After Width: | Height: | Size: 93 KiB |
|
Before Width: | Height: | Size: 77 KiB After Width: | Height: | Size: 97 KiB |
|
After Width: | Height: | Size: 103 KiB |
|
After Width: | Height: | Size: 99 KiB |
|
Before Width: | Height: | Size: 89 KiB After Width: | Height: | Size: 106 KiB |
|
After Width: | Height: | Size: 115 KiB |
|
Before Width: | Height: | Size: 109 KiB After Width: | Height: | Size: 178 KiB |
|
Before Width: | Height: | Size: 111 KiB After Width: | Height: | Size: 160 KiB |