[PR #3469] [MERGED] fix: polish tracker panel layout #5954

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

📋 Pull Request Information

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

Base: staging ← Head: fix/tracker-panel-ui-polish


📝 Commits (4)

  • 73b1471 fix: polish tracker panel layout
  • 99d5b3d Merge branch 'staging' into fix/tracker-panel-ui-polish
  • cba5501 Merge remote-tracking branch 'origin/staging' into fix/tracker-panel-ui-polish
  • 81682ea Preserve descriptive tracker temperatures

📊 Changes

15 files changed (+211 additions, -109 deletions)

View changed files

📝 packages/client/src/components/layout/AppShell.tsx (+12 -11)
📝 packages/client/src/features/tracker-panel/components/character-card/CharacterTrackerCard.tsx (+1 -0)
📝 packages/client/src/features/tracker-panel/components/character-card/CharacterTrackerField.tsx (+1 -0)
📝 packages/client/src/features/tracker-panel/components/character-card/FeaturedCharacterFields.tsx (+11 -12)
📝 packages/client/src/features/tracker-panel/components/controls/InlineControls.tsx (+64 -7)
📝 packages/client/src/features/tracker-panel/components/sections/CustomTrackerPanel.tsx (+31 -27)
📝 packages/client/src/features/tracker-panel/components/sections/WorldDateTimeTiles.tsx (+11 -11)
📝 packages/client/src/features/tracker-panel/components/sections/WorldEditableTile.tsx (+0 -1)
📝 packages/client/src/features/tracker-panel/components/sections/WorldForecastTile.tsx (+48 -24)
📝 packages/client/src/features/tracker-panel/components/sections/WorldStatePanel.tsx (+1 -3)
📝 packages/client/src/features/tracker-panel/lib/tracker-display.ts (+3 -3)
📝 packages/client/src/features/tracker-panel/lib/tracker-panel.constants.ts (+0 -1)
📝 packages/client/src/features/tracker-panel/lib/world-state-display.ts (+14 -6)
📝 packages/client/src/styles/globals.css (+2 -3)
📝 scripts/regressions/open-issues.regression.ts (+12 -0)

📄 Description

Linked issue

Fixes #3470

Why this change

The tracker sidebar presented dense information with inconsistent spacing, clipped values, awkward numeric editing, and layout gaps around the sidebar and HUD replacement modes. These issues made otherwise useful tracker data harder to scan and edit.

What changed

  • Improve inline numeric editing so draft values replace cleanly and commit predictably.
  • Let time, temperature, character fields, and custom stats use available space without clipping or unnecessary truncation.
  • Tighten world-state and promoted-character spacing while preserving the existing visual direction.
  • Remove unwanted sidebar seams and make HUD-icon replacement reclaim the vacated vertical space.
  • Deduplicate tracker display sizing and normalization helpers where behavior could be preserved.

Validation

Automated validation completed by Codex:

  • pnpm check (lint, TypeScript, and production builds) passed.
  • git diff --check passed.

The repository reserves the following checkboxes for human verification, so they are intentionally left unchecked:

  • 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

Manual verification notes

  • Verify the tracker beside the Chats menu with no seam or gap.
  • Verify “Replace tracker HUD icons” moves the tracker into the reclaimed HUD space while respecting the top bar.
  • Exercise time, descriptive temperature, and numeric stat editing with short and long values.
  • Check promoted-character cards, custom stats, and world-state tiles at representative sidebar widths.
  • Capture and attach before/after UI evidence before marking the PR ready.

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.

UI evidence (if applicable)

image

Summary by CodeRabbit

  • Bug Fixes

    • Improved tracker panel positioning, resizing controls, and layering.
    • Fixed inline number editing, including validation, minimum values, Enter/Escape behavior, and external updates.
    • Improved handling of long and descriptive weather, time, and custom field values.
    • Added hover tooltips for read-only tracker values.
  • UI Improvements

    • Refined tracker panel spacing, typography, grids, gradients, scrollbars, and field layouts.
    • Improved numeric value alignment and text truncation.
    • Adjusted world-state columns and temperature display layouts for better readability.

🔄 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/3469 **Author:** [@Xelvanis](https://github.com/Xelvanis) **Created:** 7/11/2026 **Status:** ✅ Merged **Merged:** 7/11/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/tracker-panel-ui-polish` --- ### 📝 Commits (4) - [`73b1471`](https://github.com/Pasta-Devs/Marinara-Engine/commit/73b1471782db0720ad5a59727b535b785a8ce74a) fix: polish tracker panel layout - [`99d5b3d`](https://github.com/Pasta-Devs/Marinara-Engine/commit/99d5b3d44fbf76193c3c6b1727d818cfd5a7b5c9) Merge branch 'staging' into fix/tracker-panel-ui-polish - [`cba5501`](https://github.com/Pasta-Devs/Marinara-Engine/commit/cba550138394d4e286e06f763ba296031c535c09) Merge remote-tracking branch 'origin/staging' into fix/tracker-panel-ui-polish - [`81682ea`](https://github.com/Pasta-Devs/Marinara-Engine/commit/81682eac97265445c6ca35ff541e4ffe7c0f0c07) Preserve descriptive tracker temperatures ### 📊 Changes **15 files changed** (+211 additions, -109 deletions) <details> <summary>View changed files</summary> 📝 `packages/client/src/components/layout/AppShell.tsx` (+12 -11) 📝 `packages/client/src/features/tracker-panel/components/character-card/CharacterTrackerCard.tsx` (+1 -0) 📝 `packages/client/src/features/tracker-panel/components/character-card/CharacterTrackerField.tsx` (+1 -0) 📝 `packages/client/src/features/tracker-panel/components/character-card/FeaturedCharacterFields.tsx` (+11 -12) 📝 `packages/client/src/features/tracker-panel/components/controls/InlineControls.tsx` (+64 -7) 📝 `packages/client/src/features/tracker-panel/components/sections/CustomTrackerPanel.tsx` (+31 -27) 📝 `packages/client/src/features/tracker-panel/components/sections/WorldDateTimeTiles.tsx` (+11 -11) 📝 `packages/client/src/features/tracker-panel/components/sections/WorldEditableTile.tsx` (+0 -1) 📝 `packages/client/src/features/tracker-panel/components/sections/WorldForecastTile.tsx` (+48 -24) 📝 `packages/client/src/features/tracker-panel/components/sections/WorldStatePanel.tsx` (+1 -3) 📝 `packages/client/src/features/tracker-panel/lib/tracker-display.ts` (+3 -3) 📝 `packages/client/src/features/tracker-panel/lib/tracker-panel.constants.ts` (+0 -1) 📝 `packages/client/src/features/tracker-panel/lib/world-state-display.ts` (+14 -6) 📝 `packages/client/src/styles/globals.css` (+2 -3) 📝 `scripts/regressions/open-issues.regression.ts` (+12 -0) </details> ### 📄 Description ## Linked issue Fixes #3470 ## Why this change The tracker sidebar presented dense information with inconsistent spacing, clipped values, awkward numeric editing, and layout gaps around the sidebar and HUD replacement modes. These issues made otherwise useful tracker data harder to scan and edit. ## What changed - Improve inline numeric editing so draft values replace cleanly and commit predictably. - Let time, temperature, character fields, and custom stats use available space without clipping or unnecessary truncation. - Tighten world-state and promoted-character spacing while preserving the existing visual direction. - Remove unwanted sidebar seams and make HUD-icon replacement reclaim the vacated vertical space. - Deduplicate tracker display sizing and normalization helpers where behavior could be preserved. ## Validation Automated validation completed by Codex: - `pnpm check` (lint, TypeScript, and production builds) passed. - `git diff --check` passed. The repository reserves the following checkboxes for human verification, so they are intentionally left unchecked: - [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` ### Manual verification notes - [x] Verify the tracker beside the Chats menu with no seam or gap. - [x] Verify “Replace tracker HUD icons” moves the tracker into the reclaimed HUD space while respecting the top bar. - [x] Exercise time, descriptive temperature, and numeric stat editing with short and long values. - [x] Check promoted-character cards, custom stats, and world-state tiles at representative sidebar widths. - [ ] Capture and attach before/after UI evidence before marking the PR ready. ## 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. ## UI evidence (if applicable) <img width="641" height="1590" alt="image" src="https://github.com/user-attachments/assets/4748a1f2-8c0d-42fb-b84d-70d8a90623f7" /> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Improved tracker panel positioning, resizing controls, and layering. * Fixed inline number editing, including validation, minimum values, Enter/Escape behavior, and external updates. * Improved handling of long and descriptive weather, time, and custom field values. * Added hover tooltips for read-only tracker values. * **UI Improvements** * Refined tracker panel spacing, typography, grids, gradients, scrollbars, and field layouts. * Improved numeric value alignment and text truncation. * Adjusted world-state columns and temperature display layouts for better readability. <!-- 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:05:33 +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#5954
No description provided.