-
Notifications
You must be signed in to change notification settings - Fork 57
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
Visual Distinction between Environments #21293
Comments
Finished coding for this. The new component needs to be assed the environment variable for this to work. It can be passed either 'DEV', 'TEST', OR 'SANDBOX'. Passing it anything else or nothing at all will cause the banner to not appear. |
@pwei1018. This has been merged to master. Visual distinction between environments are displayed when the app-header gets passed the environment variable. An example of using this:
` The environment needs to be 'DEV', 'TEST', or 'SANDBOX'. Anything else and the environment alert in the app header will not render. |
The repo this belongs to is https://github.com/bcgov/sbc-common-components |
App Header is located in: |
Part of the QA process for for both dev/feature testing and market release verification requires end to end testing in the DEV and TEST environments, as well as a spot check of the UI in PROD. As such, being logged in to two or all three environments is often required for comparisons. Currently there is no visual distinction at all between the environments, meaning if one is not paying close attention, it is quite possible to perform an action or task/transaction in the incorrect environment.
Some sort of standard color coded banner or badge should always be present in the DEV and TEST environments with language something like "You are logged in to the TEST environment" so that teams can easily see where they are and what they should be doing. The colors between DEV and TEST should also be different from each other, and neither should be using the banner alert colour that is in place in PROD.
Design:
https://www.figma.com/file/fP5tJHl6QSURASmYkfHl19/Visual-Distinction%3A-DEV%2C-TEST%2C-SANDBOX?type=design&node-id=0%3A1&mode=design&t=334LJZW2r5i4sM5F-1
The text was updated successfully, but these errors were encountered: