Skip to content

fix(web): persist banner dismiss per session only#756

Merged
lefarcen merged 1 commit intomainfrom
fix/seedance-banner-position-v2
Apr 2, 2026
Merged

fix(web): persist banner dismiss per session only#756
lefarcen merged 1 commit intomainfrom
fix/seedance-banner-position-v2

Conversation

@lefarcen
Copy link
Copy Markdown
Collaborator

@lefarcen lefarcen commented Apr 2, 2026

What

Switch Seedance promo banner dismiss state from localStorage to sessionStorage.

Why

When user dismisses the banner, it should only stay hidden for the current session. Next time they open the app, the banner should reappear.

How

localStoragesessionStorage for the dismiss key read/write. sessionStorage is cleared when the window/tab closes.

Affected areas

  • Web dashboard (React UI)

Checklist

  • pnpm typecheck passes
  • No any types introduced

@lefarcen lefarcen merged commit fb41d0a into main Apr 2, 2026
9 checks passed
This was referenced Apr 2, 2026
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.

1 participant