Skip to content

fix: resolve startup loading stall for direct messages#108

Open
gabrielfordevelopment wants to merge 1 commit intostoatchat:devfrom
gabrielfordevelopment:fix/startup-dm-loading-devroot
Open

fix: resolve startup loading stall for direct messages#108
gabrielfordevelopment wants to merge 1 commit intostoatchat:devfrom
gabrielfordevelopment:fix/startup-dm-loading-devroot

Conversation

@gabrielfordevelopment
Copy link
Copy Markdown

@gabrielfordevelopment gabrielfordevelopment commented Apr 6, 2026

closes #41

On startup, the app could get stuck in an infinite loading state (most noticeably in direct message routes) until navigating away and back.

  • Fixed startup loading stall when opening chat routes from cached destinations
  • Added fallback channel resolution from API when channel cache is not ready
  • Prevented app startup gate from blocking indefinitely on login error paths
  • Avoided writing drafts to an invalid draftContent/null key during channel switch

Kept changes focused to startup navigation and chat draft persistence behavior.

Currently we have this:

1000017599.mp4

What I made have this:

1000017596.mp4

Signed-off-by: Gabriel <60961939+gabrielfordevelopment@users.noreply.github.com>
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.

bug: DM channel not showing properly on startup

1 participant