* 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>
refactor: integrate BulkEditCodeEditor for bulk editing of query parameters and request headers
refactor: refactor BulkEditCodeEditor component folder structure nad fix Bulk Edit button styles
refactor: now the queryparams are updated in both the ways
style: fix indentation
reverting the style changes which fixes the alignment of the bulkedit button
refactor: add onSave prop to BulkEditCodeEditor and update value handling
feat: add onSave prop to BulkEditCodeEditor for improved header management
added onRun prop to BulkEditCodeEditor, QueryParams, and RequestHeaders
refactor: renamed BulkEditCodeEditor to BulkEditor and update the references, and updated names for bulkEdit states
* ~ only prefill `Bearer` as token prefix only when the oauth2 is selected as the auth type for the first time
~ check if tokenPrefix is present before adding a space before the access_token value in the header
* review comment fixes
---------
Co-authored-by: lohit <lohit@usebruno.com>
* Enable variable tootlip in json request body
* fix: enhance variable value popover and add test coverage
---------
Co-authored-by: Maintainer Bruno <code@usebruno.com>
* feat: enhance variable highlighting in CodeMirror and update interpolation method
* feat: add interpolate function to bru shim and corresponding tests
- Implemented the `interpolate` function in the bru shim to handle variable interpolation.
- Added a new test case for the `interpolate` function to verify its functionality with mock variables.
* feat: enhance interpolate function to support object interpolation
* feat: add translation support for pm.variables.replaceIn to bru.interpolate
* revert: eslint config changes
* revert: eslint config changes
* fix: update method call to use correct interpolation function in Bru class
* refactor: added jsdoc to codemirror highlighting code
* fix: higlighting for multiline editor
- Updated `parseCurlCommand` to handle `-F` and `--form` flags, allowing for multiple form fields with file uploads.
- Adjusted `curlToJson` to set `Content-Type` for multipart data and handle binary data correctly.
* Fix: Improve UX for selecting location when create/import collection
Allow editing the input path where previously the `<input>` is marked
`readonly`.
Also this will allow automating test using Playwright.
* Fix: Import-collection select-location Modal closes on error
* Improved error-toast for creating and importing collections
- Added a util for formatting the error form IPC
- Updated Toast global styles to prevent text overflow.
Whenever long file paths are shown, it overflows the Toast container.