[GH-ISSUE #7789] QoL: the State Editor has no way in from the phone tracker windows #4299

Closed
opened 2026-10-21 06:14:28 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @ylli-selmani on GitHub (Oct 18, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7789

Originally assigned to: @ylli-selmani on GitHub.

The State Editor is reachable from the docked Tracker Panel, the Trackers window title bar, every popped-out tracker window, and Agent Suite → Tracker Data. It is not reachable from the phone tracker windows: Player & Tracker and the mobile World State sheet have no { } control, so on a phone the only way in is to rotate/wide-layout into the desktop windows.

Not a regression on a phone — those surfaces simply were not part of the earlier change (the phone windows are separate components, MobileTrackerWindow in RoleplayHUD.tsx), and the omission was called out but not filed.

Expected

  • { } (Open in State Editor) in the title bar of both phone sheets, next to lock/close, like the desktop windows.
  • World State's opens on Scene; Player & Tracker's opens on Scene too (it is a combined window, no single section).
  • Agent Suite → Tracker Data → Open in State Editor opens on the selected agent's section instead of always Scene (world-state → Scene, character-tracker → Present Characters, quest → Active Quests, …).

Notes

  • Same control, same modal, no new strings: TrackerStateEditorButton already accepts a section.
  • Fix in progress on feat/state-editor-phone-tracker-windows; PR to follow and will link here.
Originally created by @ylli-selmani on GitHub (Oct 18, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7789 Originally assigned to: @ylli-selmani on GitHub. The State Editor is reachable from the docked Tracker Panel, the **Trackers** window title bar, every popped-out tracker window, and **Agent Suite → Tracker Data**. It is not reachable from the **phone** tracker windows: **Player & Tracker** and the mobile **World State** sheet have no **{ }** control, so on a phone the only way in is to rotate/wide-layout into the desktop windows. Not a regression on a phone — those surfaces simply were not part of the earlier change (the phone windows are separate components, `MobileTrackerWindow` in `RoleplayHUD.tsx`), and the omission was called out but not filed. ## Expected - **{ }** (**Open in State Editor**) in the title bar of both phone sheets, next to lock/close, like the desktop windows. - World State's opens on **Scene**; Player & Tracker's opens on Scene too (it is a combined window, no single section). - **Agent Suite → Tracker Data → Open in State Editor** opens on the **selected agent's** section instead of always Scene (world-state → Scene, character-tracker → Present Characters, quest → Active Quests, …). ## Notes - Same control, same modal, no new strings: `TrackerStateEditorButton` already accepts a section. - Fix in progress on `feat/state-editor-phone-tracker-windows`; PR to follow and will link here.
bsakaguchi 2026-10-21 06:14:28 +07:00
Author
Owner

@ylli-selmani commented on GitHub (Oct 18, 2026):

Also worth doing while we are here, on the same branch:

  • Coloured JSON in the editor. The JSON view of every section is one flat colour, while Agent Suite's JSON blocks are syntax-coloured. Same component in both, so it is one change in StateJsonField: tokens coloured by a highlight layer behind the textarea (text stays selectable and typed, caret and line numbers unchanged), colours from theme tokens only.
  • Agent Suite opens on the selected agent's section — done on the same branch: the existing Open in State Editor link now passes that agent's section instead of always opening on Scene.

Spec already written down in .tmp/state-editor/PLAN.md (coloured JSON, no editor library).

<!-- gh-comment-id:6251857068 --> @ylli-selmani commented on GitHub (Oct 18, 2026): Also worth doing while we are here, on the same branch: - **Coloured JSON in the editor.** The **JSON** view of every section is one flat colour, while Agent Suite's JSON blocks are syntax-coloured. Same component in both, so it is one change in `StateJsonField`: tokens coloured by a highlight layer behind the textarea (text stays selectable and typed, caret and line numbers unchanged), colours from theme tokens only. - **Agent Suite opens on the selected agent's section** — done on the same branch: the existing **Open in State Editor** link now passes that agent's section instead of always opening on Scene. Spec already written down in `.tmp/state-editor/PLAN.md` (coloured JSON, no editor library).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#4299
No description provided.