## Description PR to add business ramps to CE for multiple environments. These will be behind a feature flag. Adds ramps for following areas - When you create/edit datasource, you'll see a ramp for the users in the form of env switching sidebar - In every page, you'll see a switch in the bottom bar and the staging config will always be disabled. User will not be able to switch to the staging configuration. #### PR fixes following issue(s) Fixes #25664 #### Type of change - New feature (non-breaking change which adds functionality) ## Testing #### How Has This Been Tested? - [x] Manual - [x] Jest - [ ] Cypress #### Test Plan - _**Tried with user who can see ME**_ **Switch env dropdown** 1. Ramps seen on canvas/preview/deploy mode 2. Tooltip link takes to upgrade url on all three modes 3. Staging option cannot be accessed from dropdown - just a ramp is visible 4. Compared with Figma on this switch and raised a couple of UI issues [tooltip position on switch environment dropdown size difference in texts] **Side bar** 1. Ramps seen on Side bar - _**User not exposed to ME**_ 1. Cannot see The env switch bar itself. 2. User cannot see the sidebar in Edit DS page. ## Checklist: #### Dev activity - [ ] My code follows the style guidelines of this project - [ ] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have made corresponding changes to the documentation - [ ] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] New and existing unit tests pass locally with my changes - [ ] PR is being merged under a feature flag #### QA activity: - [ ] [Speedbreak features](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans#speedbreakers-) have been covered - [ ] Test plan covers all impacted features and [areas of interest](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans#areas-of-interest-) - [ ] Test plan has been peer reviewed by project stakeholders and other QA members - [ ] Manually tested functionality on DP - [ ] We had an implementation alignment call with stakeholders post QA Round 2 - [ ] Cypress test cases have been added and approved by SDET/manual QA - [ ] Added `Test Plan Approved` label after Cypress tests were reviewed - [ ] Added `Test Plan Approved` label after JUnit tests were reviewed --------- Co-authored-by: Aishwarya UR <aishwarya@appsmith.com> |
||
|---|---|---|
| .. | ||
| DSDataFilter | ||
| editorComponents | ||
| EnvConfigSection | ||
| EnvInfoHeader | ||
| SwitchEnvironment | ||