Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Banner test deploySchedule #636

Merged
merged 2 commits into from
Oct 15, 2024
Merged

Banner test deploySchedule #636

merged 2 commits into from
Oct 15, 2024

Conversation

tomrf1
Copy link
Member

@tomrf1 tomrf1 commented Oct 11, 2024

Associated SDC change: guardian/support-dotcom-components#1235

Marketing want the ability to override the channel-wide deploy schedule.
For example: channel 2 deploys weekly, but they'd like to show an app install banner (for mobile users) every 24 hours.

The solution implemented here is to add a deploySchedule to the BannerTest model, to allow Marketing users to override the channel-wide deploy schedule. When set, it allows them to set the number of days between deploys per user. This uses the user's lastClosedAt timestamp to decide when to next deploy the banner.

Screenshot 2024-10-11 at 15 29 50

@tomrf1 tomrf1 marked this pull request as ready for review October 14, 2024 09:36
@tomrf1 tomrf1 requested a review from a team as a code owner October 14, 2024 09:36
@sookburt
Copy link
Contributor

Just based on the screenshot above, is it clear what the number means to the users?

@tomrf1
Copy link
Member Author

tomrf1 commented Oct 14, 2024

Just based on the screenshot above, is it clear what the number means to the users?

good spot - that was the wrong screenshot! I've just updated it

@tomrf1 tomrf1 merged commit 231e074 into main Oct 15, 2024
3 checks passed
@tomrf1 tomrf1 deleted the tf-banner-deploy branch October 15, 2024 08:00
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.

4 participants