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

feat: add AWS S3 bucket as "Send" destination for staging envs only #2999

Merged
merged 1 commit into from
Apr 9, 2024

Conversation

jessicamcinchak
Copy link
Member

Editor-side changes for the Barnet prototype described in linked Trello ticket. API changes to follow in a separate PR

Screenshot from 2024-04-09 14-03-32

value: Destination.S3,
label: "Upload to AWS S3 bucket",
});
}
Copy link
Member Author

@jessicamcinchak jessicamcinchak Apr 9, 2024

Choose a reason for hiding this comment

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

Rather than introduce a feature-flag here which we'll then have to communicate to Editors how to use - I figure we can just only display this option on non-prod environments at first? It also throws an alert with warning message if anyone outside of Barnet selects it.

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah this works well I think 👍

@@ -76,7 +84,8 @@ const SendComponent: React.FC<Props> = (props) => {

// Show warnings on selection of BOPS or Uniform for likely unsupported services
// Don't actually restrict selection because flowSlug matching is imperfect for some valid test cases
const flowSlug = window.location.pathname?.split("/")?.[1];
const teamSlug = window.location.pathname?.split("/")?.[1];
const flowSlug = window.location.pathname?.split("/")?.[2];
Copy link
Member Author

Choose a reason for hiding this comment

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

The flowSlug index was actually wrong here, but only impacted the in-editor warning messages - now fixed throughout!

@jessicamcinchak jessicamcinchak marked this pull request as ready for review April 9, 2024 12:19
@jessicamcinchak jessicamcinchak requested a review from a team April 9, 2024 12:19
Copy link

github-actions bot commented Apr 9, 2024

Removed vultr server and associated DNS entries

value: Destination.S3,
label: "Upload to AWS S3 bucket",
});
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah this works well I think 👍

@jessicamcinchak jessicamcinchak merged commit 41a41fd into main Apr 9, 2024
12 checks passed
@jessicamcinchak jessicamcinchak deleted the jess/add-s3-send-destinations branch April 9, 2024 14:18
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