Skip to content

🐛 Bug: Red Banner Collapse State Not Preserved When Wallet Is Not Connected #3681

@bosko-m

Description

@bosko-m

Area

Wrapper

Domain

gov.tools

Which wallet were you using?

No response

Context

The red maintenance banner at the top of GovTool should remember whether it was collapsed or expanded across user sessions and interactions. However, its behavior is inconsistent depending on the wallet connection status.

Steps to reproduce

  1. Open GovTool with wallet not connected.
  2. Collapse the red banner.
  3. Refresh the page or navigate to another page.
  4. Observe the banner state.
  5. Now connect the wallet while the banner is collapsed.
  6. Observe the banner state again.

Actual behavior

  • When wallet is not connected, the banner is always expanded, even after being collapsed by the user.
  • After connecting the wallet, if the banner was collapsed before, it resets to expanded.
  • This leads to unexpected UI behavior and breaks the user’s expected state continuity.

Expected behavior

  • The collapsed/expanded state of the red banner should be preserved regardless of wallet connection status.
  • If a user collapses the banner, it should stay collapsed even when navigating, refreshing, or connecting the wallet.
  • Current behavior when wallet is connected and user navigates between pages is correct and should be maintained.

Metadata

Metadata

Labels

Type

No type

Projects

Status

Done

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions