* feat: Implement environment conversion utilities for Insomnia to Bruno migration
fix tests
fix: test
feat: updated `toBrunoEnv` and merging functions to flatten environment data using dot-notation keys. added tests for `buildV5Environments` and `buildV4Environments` to verify flattened key behavior and shallow overrides.
chore: update package-lock.json
refactor: replace `flat` library with custom `flattenObject` utility for improved environment data flattening
chore: remove package-lock.json updates
feat: update `toBrunoEnv` to convert environment values to strings and adjust tests for flattened key behavior in Insomnia environment imports
refactor: update flattening logic to use JavaScript-style square bracket notation for arrays and adjust related tests
feat: enhance insomnia-to-bruno conversion by normalizing variables in requests, and add tests for v4 and v5 environment imports
refactor: improve variable naming and streamline environment building logic in `buildV5Environments` and `buildV4Environments` functions
test: add cleanup step to environment import tests and update expected version for new feature
* revert package-lock.json changes
* test: Add data-testid attributes to environment variable rows in EnvironmentVariables component
* refactor: Replace SingleLineEditor with MultiLineEditor in EnvironmentVariables components and add masking functionality
- Adjusted related components to support the new editor and its features, including toggling visibility for secret values.
---------
Co-authored-by: lohit-bruno <lohit@usebruno.com>
- Fix sensitive field warnings not showing for collection-level and folder-level auth
- Use consistent object structure approach across all auth levels (collection, folder, request)
- Replace manual object property access with lodash get() for better readability and robustness
- Extract variable usage checking logic into reusable helper function
- Eliminate code duplication by using single sensitive fields definition
- Improve maintainability and performance by reducing regex pattern recreation
feat: add sensitive field warnings to collection-level auth components
refactor: streamline sensitive field checks in environment variables
refactor: remove unused imports in EnvironmentVariables component
Co-authored-by: sanjai0py <sanjailucifer666@gmail.com>
* fix: enhance environment name validation for global environments
* fix: improve environment name validation logic in CreateEnvironment component
* Update index.js
---------
Co-authored-by: Anoop M D <anoop.md1421@gmail.com>
* added safe to rename for rename-environment to enable case insensitive file change
* chore: removed else block
---------
Co-authored-by: Anoop M D <anoop.md1421@gmail.com>
* feat(bulk-env-import): bulk import working like a charm
* feat(bulk-env-import): refresh no env dialog's styling
* feat(bulk-env-import): group create and import env within initial modal, UI improvements
* feat(bulk-env-import): minor styling fixes
* feat(bulk-env-import): handle incorrect files in env importer
---------
Co-authored-by: bpoulaindev <bpoulainpro@gmail.com>
* trying to begin changes
* Env bug fixed with only switching env when saved
* dialog box working, formik in EnvironmentSettings to pass props, selectedEnvironment in EnvrionmentSettings to pass props
* Removing some uneccessary comments
* no immediate following dialog pop up after warning dialog
* Wrapping commit warning moidal in CreatePortal, removing unnecessary isModified state, removing comments
* modifying dialog and adding formik back to EnvironmentVariables
* Removing unnecessary comments
---------
Co-authored-by: Anoop M D <anoop.md1421@gmail.com>