[GH-ISSUE #1536] [Issue]: Game journal load/save failures have no retry or error state #781

Closed
opened 2026-10-20 17:33:18 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @Xelvanis on GitHub (May 29, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1536

Originally assigned to: @Romuromylus on GitHub.

Summary

Game Journal load/save failures can leave the journal panel in a loading or unsaved state without visible retry/error UI.

Expected behavior

The Game Journal panel should show a retryable load error, surface save failures, and keep unsaved/save status clear to the user.

Actual behavior

GameJournal.tsx catches gameApi.getJournal(...) and updateNotes(...) failures without rendering error/retry state. useGameJournal exists, but the panel does not use its query/mutation state for visible error handling.

Steps to reproduce

  1. Open the Game Journal panel.
  2. Force gameApi.getJournal or updateNotes to fail.
  3. Observe whether the panel renders an explicit load/save failure state with retry, or stays loading/unsaved without explanation.

Impact area

  • App shell, navigation, startup, or providers
  • Catalog resources
  • Chat mode
  • Roleplay mode
  • Game mode
  • Shared mode UI
  • Runtime systems: generation, world-state, visuals, tracker, or haptics
  • Professor Mari or shell tools
  • React-free engine behavior, contracts, agents, or capability ports
  • Shared API wrapper or remote runtime routing
  • Tauri/Rust storage, assets, LLM, integrations, security, imports, or HTTP runtime
  • Docs, contributor workflow, or templates

Environment

  • Branch or commit: refactor; code-audit finding in GameJournal.tsx
  • Run mode: Game mode UI; focused native repro still needed
  • OS + version: not verified
  • Node + pnpm versions: not relevant yet
  • Rust version, if relevant: not relevant
  • Remote Runtime URL configured? not verified
  • Provider, model, or integration, if relevant: not relevant

Logs, screenshots, or video

No screenshot attached.

Regression notes

Unknown.

Additional context

Suggested direction: route the journal panel through query/mutation state or local error state, render retry on load failure, and surface save failure with retry/unsaved status.

Template check

Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @Xelvanis on GitHub (May 29, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1536 Originally assigned to: @Romuromylus on GitHub. ## Summary Game Journal load/save failures can leave the journal panel in a loading or unsaved state without visible retry/error UI. ## Expected behavior The Game Journal panel should show a retryable load error, surface save failures, and keep unsaved/save status clear to the user. ## Actual behavior `GameJournal.tsx` catches `gameApi.getJournal(...)` and `updateNotes(...)` failures without rendering error/retry state. `useGameJournal` exists, but the panel does not use its query/mutation state for visible error handling. ## Steps to reproduce 1. Open the Game Journal panel. 2. Force `gameApi.getJournal` or `updateNotes` to fail. 3. Observe whether the panel renders an explicit load/save failure state with retry, or stays loading/unsaved without explanation. ## Impact area - [ ] App shell, navigation, startup, or providers - [ ] Catalog resources - [ ] Chat mode - [ ] Roleplay mode - [x] Game mode - [ ] Shared mode UI - [ ] Runtime systems: generation, world-state, visuals, tracker, or haptics - [ ] Professor Mari or shell tools - [ ] React-free engine behavior, contracts, agents, or capability ports - [ ] Shared API wrapper or remote runtime routing - [ ] Tauri/Rust storage, assets, LLM, integrations, security, imports, or HTTP runtime - [ ] Docs, contributor workflow, or templates ## Environment - Branch or commit: refactor; code-audit finding in `GameJournal.tsx` - Run mode: Game mode UI; focused native repro still needed - OS + version: not verified - Node + pnpm versions: not relevant yet - Rust version, if relevant: not relevant - Remote Runtime URL configured? not verified - Provider, model, or integration, if relevant: not relevant ## Logs, screenshots, or video No screenshot attached. ## Regression notes Unknown. ## Additional context Suggested direction: route the journal panel through query/mutation state or local error state, render retry on load failure, and surface save failure with retry/unsaved status. ## Template check Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-20 17:33:18 +07:00
Author
Owner

@Romuromylus commented on GitHub (May 30, 2026):

Fixed by #1642, merged into refactor.

<!-- gh-comment-id:4582247213 --> @Romuromylus commented on GitHub (May 30, 2026): Fixed by #1642, merged into `refactor`.
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#781
No description provided.