* Editor header and sequence of API calls Improvements. (#9366)
* Added createVersion and updatedVersionName changes
* Added deff-call for version delete action
* removed callBack func(re-arranged as sub-functions)
* removed unwanted functions
* fixed merge issues, appVersioManager and environment store issues
* Resolved query-onload issue and release button bugs
* working on preview setting issues
* refactoring the code
* moved environment manager directory
* fixed import issues
* Refactoring the service functions
* Added environments details to the init response
* Added appVersionsCount to the response
* Added new post action to the controller
* Refactored recent commit
* Fixed query response array issue
* Fixed await issue
* Added extra release/promote button cases
* Removed organizations call from the authorizeWorkspace function
* added a length check to prevent calling the api again
* removed the loader and notification API call
* Fixed on blur issue of react-select using event handlers
* Added priority, enabled, current_environment_id columns
- added data-migrations to backfill the priority and current environment id for each version
* working on multi environments improvement
- added checks for promoted env
- promote env feature
- released app & production env check
- promoted version definition check
* added import support
* working on migration issues
* fixed failing migration
* fixed failing migration once again
* Fixed possible bugs
- seed
- test case helpers
- app version release
* fixed migration bug
* working on migration progress
* working on migration progress class
* added migration progress
* fixed unit tests
* fixed e2e cases
* added default priority
* added PR changes
* changed import logic
* added global datasource design and api changes
* changed default env if the id is null
* added unique constraint and a bug fix
* changed app versions api
- added current environment id to the where conditions
* fixed failing test cases
* added new test cases
* added new api changes
* added back the enabled check
* fixed test case
* change: added environment to create versions dto
* typo: environmentId
* added new api for fetching versions
* added appVersions count changes to CE
* Changed app versions by environmentid logic
* added PR changes for EE
* fixed wrong promoted env id issue
* fix: can't switch to staging
* added import export changes
- update delete modal text
* added EE import export code, modal updated text
* added common migration code for CE and EE
* fixes
- enable run button for released version
- disable change datasource for queries
* changed released version popup design to new EE design
* add: hide delete icons for released version
* feature: multi env support for datasources
* revert: datasources by env id api
* revert: datasources by env id api:frontend
* lint fixes
---------
Co-authored-by: Midhun G S <gsmithun4@gmail.com>