Skip to content

Fix statustext messages getting cleared on connect#1105

Merged
1Blademaster merged 1 commit into
mainfrom
1104-bug-messages-get-cleared-on-connect
Mar 21, 2026
Merged

Fix statustext messages getting cleared on connect#1105
1Blademaster merged 1 commit into
mainfrom
1104-bug-messages-get-cleared-on-connect

Conversation

@1Blademaster
Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings March 21, 2026 11:00
@1Blademaster 1Blademaster linked an issue Mar 21, 2026 that may be closed by this pull request
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR prevents STATUSTEXT messages in the GCS Redux state from being cleared when the app receives the connected_to_drone socket event, preserving connection-time status messages.

Changes:

  • Removed resetMessages import from socketMiddleware.
  • Stopped dispatching resetMessages() when handling the connected_to_drone event.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@1Blademaster 1Blademaster merged commit ae504d5 into main Mar 21, 2026
9 checks passed
@1Blademaster 1Blademaster deleted the 1104-bug-messages-get-cleared-on-connect branch March 21, 2026 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Messages get cleared on connect

2 participants