[PR #2599] [MERGED] Fix world-state phrase time layout #5681

Closed
opened 2026-10-22 04:18:26 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

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

Base: staging ← Head: fix/world-state-phrase-time-layout


📝 Commits (2)

  • d811de3 fix: keep world-state phrase times readable
  • 5b5d237 Merge branch 'staging' into fix/world-state-phrase-time-layout

📊 Changes

3 files changed (+62 additions, -71 deletions)

View changed files

📝 packages/client/src/features/tracker-panel/components/sections/WorldDateTimeTiles.tsx (+34 -14)
📝 packages/client/src/features/tracker-panel/components/sections/WorldStatePanel.tsx (+13 -10)
📝 packages/client/src/features/tracker-panel/lib/world-state-display.ts (+15 -47)

📄 Description

Linked issue

  • None provided. Follow-up: open or attach an issue before moving this PR out of draft.

Why this change

  • World-state time values like Afternoon or Just before dawn were handled by the compact clock tile layout, which could truncate readable phrase times and crowd neighboring forecast/location content.

What changed

  • Added a phrase display mode for non-clock world times and render those values as wrapped text instead of a clock face.
  • Simplified world-state grid sizing so forecast content gets the flexible column and phrase-time values get a wider time column.
  • Moved location onto its own full-width row so it no longer competes with forecast text.

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

Manual verification notes

  • Agent ran pnpm install; lockfile was already up to date.
  • Agent ran pnpm check successfully.
  • Agent reviewed the PR template, CONTRIBUTING.md branch/PR rules, .github/agents/chai-workflow.md, and packages/client/.instructions.md.
  • Xel looked at the changes in the browser and thought "yup, that looks better"

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 docs, release metadata, database, server behavior, or version files changed.

UI evidence (if applicable)

Not attached. This PR still needs manual UI screenshots or a browser click-through before it is marked ready for review.


🔄 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/2599 **Author:** [@Xelvanis](https://github.com/Xelvanis) **Created:** 6/16/2026 **Status:** ✅ Merged **Merged:** 6/16/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/world-state-phrase-time-layout` --- ### 📝 Commits (2) - [`d811de3`](https://github.com/Pasta-Devs/Marinara-Engine/commit/d811de363da7272258748fe9cb4f50c3fd211874) fix: keep world-state phrase times readable - [`5b5d237`](https://github.com/Pasta-Devs/Marinara-Engine/commit/5b5d2378fbb15910f01efa99b70782e12078c60d) Merge branch 'staging' into fix/world-state-phrase-time-layout ### 📊 Changes **3 files changed** (+62 additions, -71 deletions) <details> <summary>View changed files</summary> 📝 `packages/client/src/features/tracker-panel/components/sections/WorldDateTimeTiles.tsx` (+34 -14) 📝 `packages/client/src/features/tracker-panel/components/sections/WorldStatePanel.tsx` (+13 -10) 📝 `packages/client/src/features/tracker-panel/lib/world-state-display.ts` (+15 -47) </details> ### 📄 Description ## Linked issue - None provided. Follow-up: open or attach an issue before moving this PR out of draft. ## Why this change - World-state time values like `Afternoon` or `Just before dawn` were handled by the compact clock tile layout, which could truncate readable phrase times and crowd neighboring forecast/location content. ## What changed - Added a phrase display mode for non-clock world times and render those values as wrapped text instead of a clock face. - Simplified world-state grid sizing so forecast content gets the flexible column and phrase-time values get a wider time column. - Moved location onto its own full-width row so it no longer competes with forecast text. ## 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` ### Manual verification notes - Agent ran `pnpm install`; lockfile was already up to date. - Agent ran `pnpm check` successfully. - Agent reviewed the PR template, `CONTRIBUTING.md` branch/PR rules, `.github/agents/chai-workflow.md`, and `packages/client/.instructions.md`. - Xel looked at the changes in the browser and thought "yup, that looks better" ## 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 docs, release metadata, database, server behavior, or version files changed. ## UI evidence (if applicable) Not attached. This PR still needs manual UI screenshots or a browser click-through before it is marked ready for review. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-22 04:18:26 +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#5681
No description provided.