[PR #3746] [MERGED] feat: redesign tracker world state panel #6084

Closed
opened 2026-10-23 04:06:56 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/3746
Author: @Xelvanis
Created: 7/17/2026
Status: ✅ Merged
Merged: 7/17/2026
Merged by: @SpicyMarinara

Base: staging ← Head: feat/world-state-panel-redesign


📝 Commits (2)

  • 619bd7e feat: redesign tracker world state panel
  • 3b576c7 fix: address world state review findings

📊 Changes

17 files changed (+1489 additions, -1277 deletions)

View changed files

📝 packages/client/package.json (+1 -0)
📝 packages/client/src/components/chat/RoleplayHUD.tsx (+70 -207)
📝 packages/client/src/components/chat/RoleplayHUDPanels.tsx (+1 -1)
📝 packages/client/src/components/layout/TrackerDataSidebar.tsx (+2 -0)
➕ packages/client/src/components/ui/WorldCalendarIcon.tsx (+33 -0)
➕ packages/client/src/components/ui/WorldStateInstruments.tsx (+100 -0)
📝 packages/client/src/features/tracker-panel/components/TrackerDataSidebar.tsx (+1 -1)
📝 packages/client/src/features/tracker-panel/components/sections/WorldDateTimeTiles.tsx (+144 -144)
📝 packages/client/src/features/tracker-panel/components/sections/WorldEditableTile.tsx (+129 -50)
📝 packages/client/src/features/tracker-panel/components/sections/WorldForecastTile.tsx (+93 -332)
📝 packages/client/src/features/tracker-panel/components/sections/WorldLocationPlate.tsx (+26 -37)
📝 packages/client/src/features/tracker-panel/components/sections/WorldStatePanel.tsx (+350 -119)
📝 packages/client/src/features/tracker-panel/lib/world-state-display.ts (+219 -381)
➕ packages/client/src/features/tracker-panel/tracker-font.css (+1 -0)
➕ packages/client/src/lib/world-state-helpers.ts (+300 -0)
📝 pnpm-lock.yaml (+8 -0)
📝 scripts/regressions/open-issues.regression.ts (+11 -5)

📄 Description

Linked issue

Closes #3745

Why this change

The Tracker's World State section was cramped, visually flat, and unreliable at communicating authored values that do not resemble conventional dashboard data. Fantasy dates, descriptive times, prose weather, and non-numeric temperatures need to remain legible without losing the immersive character of the sidebar.

The Tracker and RoleplayHUD had also accumulated overlapping interpretations of the same world-state values, making their behavior easier to drift apart.

What changed

  • Redesign the World State panel with an ornate responsive frame, expressive location plate, atmospheric scene glyphs, and clearer time/date and weather/temperature groupings.
  • Preserve authored strings while fitting bounded field text across compact, standard, and expanded Tracker profiles.
  • Add shared calendar, clock, and thermometer instruments used by both the Tracker and RoleplayHUD.
  • Consolidate time, weather, temperature, location, and date interpretation into shared helpers while retaining surface-specific palettes.
  • Lazy-load Share Tech Mono with the Tracker and use it for instrument readouts.
  • Update the existing open-issues regression for the shared temperature helper boundary.

Validation

  • pnpm check passes locally
  • Container (Docker / Podman) built and ran without issue
  • Ran the app, clicked through the changes manually
  • Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
  • Above manual verification completed (describe below)
  • Read and followed CONTRIBUTING.md

Automated validation completed during this change:

  • pnpm check passed, including lint, TypeScript, and production builds.
  • The changed open-issues.regression.ts lane passed inside pnpm regression:issues.
  • git diff --check passed before commit.
  • The aggregate pnpm regression:issues command later failed in the unrelated capability-package lifecycle regression because spatial_context_snapshots.id already existed.

Manual verification notes

  • Xel verified compact, standard, and expanded Tracker widths with both conventional and prose world-state values.
  • verified light and dark themes, empty values, editing, and RoleplayHUD parity.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
  • Version/release files updated (only if this PR includes a version bump)

No version or release metadata changes are included. No user documentation changes appear necessary for this presentation-only update.

UI evidence (if applicable)

Screenshot 2026-07-17 232913

Summary by CodeRabbit

  • New Features

    • Refreshed the world-state HUD with clearer calendar, clock, thermometer, weather, and location visuals.
    • Added responsive world-state tiles that adapt to panel size and fit longer text cleanly.
    • Improved editing for world-state values with textarea support and more reliable save/cancel behavior.
    • Added consistent date, time, weather, temperature, and location display formatting.
    • Introduced a dedicated monospace font for tracker panels.
  • Bug Fixes

    • Improved temperature gauge colors and Fahrenheit-to-Celsius display handling.
    • Enhanced readability through refined tracker panel styling and background contrast.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/3746 **Author:** [@Xelvanis](https://github.com/Xelvanis) **Created:** 7/17/2026 **Status:** ✅ Merged **Merged:** 7/17/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `feat/world-state-panel-redesign` --- ### 📝 Commits (2) - [`619bd7e`](https://github.com/Pasta-Devs/Marinara-Engine/commit/619bd7ed8c1cab539ec0293f8941bcc5c7f03499) feat: redesign tracker world state panel - [`3b576c7`](https://github.com/Pasta-Devs/Marinara-Engine/commit/3b576c743695a20478f5b1ea468b0f74e2f3b3fe) fix: address world state review findings ### 📊 Changes **17 files changed** (+1489 additions, -1277 deletions) <details> <summary>View changed files</summary> 📝 `packages/client/package.json` (+1 -0) 📝 `packages/client/src/components/chat/RoleplayHUD.tsx` (+70 -207) 📝 `packages/client/src/components/chat/RoleplayHUDPanels.tsx` (+1 -1) 📝 `packages/client/src/components/layout/TrackerDataSidebar.tsx` (+2 -0) ➕ `packages/client/src/components/ui/WorldCalendarIcon.tsx` (+33 -0) ➕ `packages/client/src/components/ui/WorldStateInstruments.tsx` (+100 -0) 📝 `packages/client/src/features/tracker-panel/components/TrackerDataSidebar.tsx` (+1 -1) 📝 `packages/client/src/features/tracker-panel/components/sections/WorldDateTimeTiles.tsx` (+144 -144) 📝 `packages/client/src/features/tracker-panel/components/sections/WorldEditableTile.tsx` (+129 -50) 📝 `packages/client/src/features/tracker-panel/components/sections/WorldForecastTile.tsx` (+93 -332) 📝 `packages/client/src/features/tracker-panel/components/sections/WorldLocationPlate.tsx` (+26 -37) 📝 `packages/client/src/features/tracker-panel/components/sections/WorldStatePanel.tsx` (+350 -119) 📝 `packages/client/src/features/tracker-panel/lib/world-state-display.ts` (+219 -381) ➕ `packages/client/src/features/tracker-panel/tracker-font.css` (+1 -0) ➕ `packages/client/src/lib/world-state-helpers.ts` (+300 -0) 📝 `pnpm-lock.yaml` (+8 -0) 📝 `scripts/regressions/open-issues.regression.ts` (+11 -5) </details> ### 📄 Description ## Linked issue Closes #3745 ## Why this change The Tracker's World State section was cramped, visually flat, and unreliable at communicating authored values that do not resemble conventional dashboard data. Fantasy dates, descriptive times, prose weather, and non-numeric temperatures need to remain legible without losing the immersive character of the sidebar. The Tracker and RoleplayHUD had also accumulated overlapping interpretations of the same world-state values, making their behavior easier to drift apart. ## What changed - Redesign the World State panel with an ornate responsive frame, expressive location plate, atmospheric scene glyphs, and clearer time/date and weather/temperature groupings. - Preserve authored strings while fitting bounded field text across compact, standard, and expanded Tracker profiles. - Add shared calendar, clock, and thermometer instruments used by both the Tracker and RoleplayHUD. - Consolidate time, weather, temperature, location, and date interpretation into shared helpers while retaining surface-specific palettes. - Lazy-load Share Tech Mono with the Tracker and use it for instrument readouts. - Update the existing open-issues regression for the shared temperature helper boundary. ## Validation - [x] `pnpm check` passes locally - [ ] Container (Docker / Podman) built and ran without issue - [x] Ran the app, clicked through the changes manually - [x] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [x] Above manual verification completed (describe below) - [x] Read and followed `CONTRIBUTING.md` Automated validation completed during this change: - `pnpm check` passed, including lint, TypeScript, and production builds. - The changed `open-issues.regression.ts` lane passed inside `pnpm regression:issues`. - `git diff --check` passed before commit. - The aggregate `pnpm regression:issues` command later failed in the unrelated capability-package lifecycle regression because `spatial_context_snapshots.id` already existed. ### Manual verification notes - Xel verified compact, standard, and expanded Tracker widths with both conventional and prose world-state values. - verified light and dark themes, empty values, editing, and RoleplayHUD parity. ## Docs and release impact - [x] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Version/release files updated (only if this PR includes a version bump) No version or release metadata changes are included. No user documentation changes appear necessary for this presentation-only update. ## UI evidence (if applicable) <img width="635" height="270" alt="Screenshot 2026-07-17 232913" src="https://github.com/user-attachments/assets/d793c5ac-edcc-4cd9-b5e8-dcfaccc3a7c6" /> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Refreshed the world-state HUD with clearer calendar, clock, thermometer, weather, and location visuals. * Added responsive world-state tiles that adapt to panel size and fit longer text cleanly. * Improved editing for world-state values with textarea support and more reliable save/cancel behavior. * Added consistent date, time, weather, temperature, and location display formatting. * Introduced a dedicated monospace font for tracker panels. * **Bug Fixes** * Improved temperature gauge colors and Fahrenheit-to-Celsius display handling. * Enhanced readability through refined tracker panel styling and background contrast. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:06:56 +07:00
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#6084
No description provided.