Ad Banner Localstorage update #682

Open
opened 2025-09-09 21:05:23 +00:00 by laasyaaki · 1 comment
laasyaaki commented 2025-09-09 21:05:23 +00:00 (Migrated from github.com)

Currently on CMUEats we store pinned cards and ad banner open/close in local storage. However, when we change the ad banner, we want all of our users to see it, even if they have closed the banner. We want the ad banner to be open again when a new ad is pushed.

Currently on CMUEats we store pinned cards and ad banner open/close in local storage. However, when we change the ad banner, we want all of our users to see it, even if they have closed the banner. We want the ad banner to be open again when a new ad is pushed.
sanajitjana commented 2025-09-10 10:10:42 +00:00 (Migrated from github.com)

Hi @laasyaaki, It's possible by simply storing the current ad version in local storage and resetting isAdClosed when the version changes. Let me know if you want me to contribute to implementing this or if you have any other ideas in mind.

Hi @laasyaaki, It's possible by simply storing the current ad version in local storage and resetting isAdClosed when the version changes. Let me know if you want me to contribute to implementing this or if you have any other ideas in mind.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ScottyLabs/eats#682
No description provided.