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

Add simple feature flag for feedback that can be enabled / disabled per env #3655

Conversation

StackedPancakez
Copy link
Contributor

Trello card

4926

Context

A migration of the production environment from PAAS to AKS will take place next week. For this, we want to temporarily disable anyone accessing or using the feedback pages.

Changes proposed in this pull request

Add a simple feature flag that can be set per environment to enable / disable access to the feedback pages.

Guidance to review

Currently development (and therefore also review apps) are set with the feature flag turned on, so testing should be that you are able to use the feedback functionality with no issues, if you would like to test what will happen when it is turned off, please let me know and I can push a change that turns it off for the development environment as well (which I will revert before merging).

@github-actions github-actions bot added ruby Pull requests that update Ruby code Config labels Oct 26, 2023
@StackedPancakez StackedPancakez temporarily deployed to review_aks October 26, 2023 16:01 — with GitHub Actions Inactive
@StackedPancakez StackedPancakez temporarily deployed to Review October 26, 2023 16:01 — with GitHub Actions Inactive
@github-actions github-actions bot added Review_v2 Create AKS review app Review labels Oct 26, 2023
@StackedPancakez StackedPancakez force-pushed the create-simple-feedback-feature-flag-for-env-migration branch from 7445dea to a4e0a01 Compare October 26, 2023 16:27
@StackedPancakez StackedPancakez temporarily deployed to review_aks October 26, 2023 16:33 — with GitHub Actions Inactive
@StackedPancakez StackedPancakez temporarily deployed to Review October 26, 2023 16:33 — with GitHub Actions Inactive
Base automatically changed from repurpose-adviser-feedback-form-to-replace-git-feedback-form to master October 31, 2023 11:24
…er environment in preparation for disabling feedback during the production environment migration
@StackedPancakez StackedPancakez force-pushed the create-simple-feedback-feature-flag-for-env-migration branch from a4e0a01 to bce1cc2 Compare October 31, 2023 11:25
@StackedPancakez StackedPancakez temporarily deployed to review_aks October 31, 2023 11:30 — with GitHub Actions Inactive
@StackedPancakez StackedPancakez temporarily deployed to Review October 31, 2023 11:30 — with GitHub Actions Inactive
@github-actions
Copy link

@github-actions
Copy link

Copy link
Contributor

@asatwal asatwal left a comment

Choose a reason for hiding this comment

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

👍 LGTM

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 3 Code Smells

96.2% 96.2% Coverage
0.2% 0.2% Duplication

@StackedPancakez StackedPancakez merged commit 24d6a38 into master Nov 2, 2023
23 checks passed
@StackedPancakez StackedPancakez deleted the create-simple-feedback-feature-flag-for-env-migration branch November 2, 2023 04:54
@StackedPancakez StackedPancakez temporarily deployed to review_aks November 2, 2023 04:54 — with GitHub Actions Inactive
@StackedPancakez StackedPancakez temporarily deployed to Review November 2, 2023 04:54 — with GitHub Actions Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Config Review_v2 Create AKS review app Review ruby Pull requests that update Ruby code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants