Allow banner to appear every session

Created on 20 June 2024, 6 months ago
Updated 24 June 2024, 6 months ago

Problem/Motivation

We would like to display a banner for every browser session until it is dismissed.

Maybe the answer is to use session storage rather than local storage.

Feature request
Status

Needs review

Version

2.0

Component

Code

Created by

🇬🇧United Kingdom John_B London (UK), Worthing (UK), Innsbruck (Tirol)

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @John_B
  • 🇬🇧United Kingdom John_B London (UK), Worthing (UK), Innsbruck (Tirol)

    The attached patch does what I requested.

  • Status changed to Needs review 6 months ago
  • 🇬🇧United Kingdom John_B London (UK), Worthing (UK), Innsbruck (Tirol)
  • 🇬🇧United Kingdom John_B London (UK), Worthing (UK), Innsbruck (Tirol)

    The patch allows 'show per session until dismissed' OR 'show until time expired time after dismissed'. It may make more sense to combine them with AND.

Production build 0.71.5 2024