Ad Banner Localstorage update #682
Labels
No labels
bad first issue
bootcamp
bug
cmueats 2.0
codebase
complexity: low
complexity: medium
complexity: nontrivial
dependencies
design needed
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
high priority
important
invalid
javascript
low pri
math heavy
outdated
question
theory heavy
typescript
ui/ux
wontfix
needs/docs
needs/research
needs/upstream
type/bug
type/external
type/feature
type/refactor
urgency
high
urgency
immediate
urgency
low
urgency
medium
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
ScottyLabs/eats#682
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
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.