PromucFlow_constructor/app/client/src/constants/EnvironmentContants.tsx
Ankita Kinger de97783b79
fix: Workspace name editor input going away on hovering other menu items of workspace (#33179)
## Description

- Fixing workspace name editor input going away on hovering other menu
items of workspace
- Improving code splitting of some existing files


Fixes [#32359](https://github.com/appsmithorg/appsmith/issues/32359)

## Automation

/ok-to-test tags="@tag.All"

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/8967913548>
> Commit: 054e745df86e0115e49be6aaa4173961259c9921
> Cypress dashboard url: <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=8967913548&attempt=1"
target="_blank">Click here!</a>

<!-- end of auto-generated comment: Cypress test results  -->

















## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [ ] No
2024-05-06 17:36:12 +05:30

24 lines
422 B
TypeScript

export const UNUSED_ENV_ID = "unused_env";
export interface EnvironmentType {
id: string;
name: string;
selected: boolean;
userPermissions: string[];
}
export const environmentList: Array<EnvironmentType> = [
{
id: UNUSED_ENV_ID,
name: "production",
selected: true,
userPermissions: [],
},
{
id: UNUSED_ENV_ID,
name: "staging",
selected: false,
userPermissions: [],
},
];