Fix popup message displaying repeatedly within a single session, despite cookies being enabled

Created on 16 August 2024, 11 months ago
Updated 17 August 2024, 11 months ago

Problem/Motivation

If we set a significant delay before the message popup, the popup will reappear upon refreshing the page.

Steps to reproduce

  • Increase the delay to greater than 5 seconds.
  • Enable cookies in Popup message settings.
  • Wait for the appearance of the popup.
  • Once the popup is displayed, refresh the page before the delay period concludes.

Proposed resolution

remove the delay from show_popup = timestamp < popup_message_cookie + delay; or set it to a constant value between 1 and 3. So if the user refreshes the page while the popup is displaying, they will have a second opportunity to view it.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Needs review

Version

3.0

Component

Code

Created by

🇯🇴Jordan Ahmad Khader

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

Comments & Activities

Production build 0.71.5 2024