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 design archive #539

Merged
merged 8 commits into from
Dec 18, 2023
Merged

Banner design archive #539

merged 8 commits into from
Dec 18, 2023

Conversation

tomrf1
Copy link
Member

@tomrf1 tomrf1 commented Dec 18, 2023

Adds the ability to archive individual banner designs.
The button is only available if the design status is Draft.
Stores archived tests in a separate Dynamodb table (as with channel tests). The table is keyed on name and date, because we're likely to get duplicate names as time goes on

Screenshot 2023-12-18 at 10 44 18 Screenshot 2023-12-18 at 10 44 25

@@ -216,20 +226,13 @@ class DynamoBannerDesigns(stage: String, client: DynamoDbClient)
update(request)
}

def deleteBannerDesigns(designNames: List[String],
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this wasn't used

@tomrf1 tomrf1 marked this pull request as ready for review December 18, 2023 10:48
Copy link
Contributor

@KaliedaRik KaliedaRik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work!

@tomrf1 tomrf1 force-pushed the tf-banner-design-archive branch from f14f890 to 796468f Compare December 18, 2023 10:58
@tomrf1 tomrf1 merged commit b68a5ad into main Dec 18, 2023
1 check passed
@tomrf1 tomrf1 deleted the tf-banner-design-archive branch December 18, 2023 11:23
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.

2 participants