Skip to content

Recover loading states after profile and first-sync failures - #51

Merged
Eoic merged 1 commit into
developmentfrom
fix/release-loading-states
Oct 10, 2026
Merged

Eoic merged 1 commit into
developmentfrom
fix/release-loading-states

Conversation

@Eoic

@Eoic Eoic commented Oct 10, 2026

Copy link
Copy Markdown
Member

When a profile changes while a book file is loading, close the loading state with an explanation and a working Back action instead of leaving the spinner or opening the old profile's book. When first sync fails with an empty cache, Goals now displays the existing offline-library placeholder on both tabs and recovers automatically after sync succeeds.

Validation: 47 focused reader-page, Goals-page/provider and real PowerSync state-transition tests pass; formatting and Flutter analysis pass. The reader regression invalidates the captured scoped repository while media I/O is pending and verifies that no reader document opens. The Goals tests cover both visible tabs and recovery from a real PowerSync download error. Client version remains 0.0.2+2; these fix the unresolved promotion review threads in #50.

Copilot AI balanced review requested due to automatic review settings October 10, 2026 23:32

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 10, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-10T23:34:29.665445Z c72ed93 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@codecov

codecov Bot commented Oct 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@Eoic
Eoic merged commit 183bc88 into development Oct 10, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants