RESOLVED pr conversations
ADD test cases and os specific test casess
REVERTE comment removed for windows refetch
refactor: remove redundant afterEach cleanup in shell-env-proxy-refresh tests
RENAME the test file and add more test for wider coverage among the test cases
test: add integration tests for refreshShellEnvProxyVars
delete: remove outdated system proxy integration test file
fix: enhance proxy variable restoration on shell-env subprocess failure
fix: implement timeout for shellEnv to prevent hanging on misconfigured shells
feat: add refreshShellEnvProxyVars function to shell-env-state.ts and update shell environment initialization logic
refactor: simplify shell environment refresh and update system proxy integration
refactor: implement withTimeout utility for shell environment operations to prevent indefinite hangs
* feat: add description column to various tables and enhance UI interactions
- Introduced a description column in Headers, VarsTable, and other components to allow multi-line descriptions.
- Added toggle buttons to show/hide the description column in relevant tables.
- Updated EditableTable component to support dynamic row addition with customizable labels.
- Enhanced UI for better user experience with consistent button styles and spacing adjustments.
* chore: resize fix handles
* fix: restrict column check for last index
* refactor: remove unwanted style and fix bottom padding of the last child in the table row
* tests: improve testability and fix impacted locators
* tests: fix locators for value fields
* fix: improve newline handling in description prefix
* fix: ts changes
* chore: remove redundant code and fix description roundtrip
* chore: remove redundant check
* tests(bru-lang): tests for description and annotation
* test: improve locators and tests
* tests: descriptions
* chore: re-add description setup
* fix: re-add description cols
* chore: fix the double click reset
* fix: account for hidden sidebar in request pane width calculation
* refactor: ui/ux fixes for data type toggle
* chore: inline common deps into bruno-lang and bruno-schema
* chore: tests
* chore: fix ux for descriptions
* fix: layout for environment vars table
* fix: ensure correct row selection for multipart file upload in tests
* feat: enhance UID assignment for request headers and variables in collections
* chore: simplify
* chore: update pkg
* chore: abstract the e2e utils
* chore: fix exports
* tests: fix locators for datatype vars
* fix: ux issue with secrets in environment table
* tests: update locators for collection headers and vars descriptions
* tests: update locators to use data attributes for datatype selectors
* chore: update default css width for actions column
* chore: remove tooltip for string type warnings
* fix: reduce name widths
* refactor: update annotation serialization to use single-quote delimiters for descriptions
* refactor(tests): simplify description formatting in jsonToEnv tests
* feat: add multiline description escaping and unescaping functions with tests
* refactor: clean up imports and improve multiline text block handling
* refactor: update locators to use new test IDs for environment variable editors
* refactor: streamline header input handling and improve environment variable row access
* refactor: update e2e-test job to support self-hosted runners
* refactor: update E2E test runner configuration to include e2e and macOS environments
---------
Co-authored-by: Pragadesh-45 <temporaryg7904@gmail.com>
* feat(snapshot): implement active workspace tab type tracking and restoration
* feat(snapshot): introduce workspace tab types and update related logic
* changing AI icon in Pref
* Fix final icon for AI
* delete unused file
* fix-merge-conflicts
---------
Co-authored-by: naman-bruno <naman@usebruno.com>
Co-authored-by: Utkarsh <utkarsh@usebruno.com>
* fix(ai): show platform-correct modifier key in AI shortcut hints
* test(ai): cover platform-correct modifier key in AI shortcut hint specs
* Added the import
* Added ai.enabled default to playwright default preferences
---------
Co-authored-by: Utkarsh <utkarsh@usebruno.com>
* feat(workspaces): implement active workspace restoration from snapshot
- Added a new action to restore the active workspace from a snapshot.
- Integrated workspace restoration into IPC events for improved user experience.
- Refactored workspace loading logic to prioritize valid workspaces and handle invalid paths.
- Introduced utility functions for workspace path validation and normalization.
- Added tests to ensure correct functionality of workspace restoration and validation logic.
* feat(snapshot): refactor snapshot serialization and add environment preservation logic
- Moved snapshot serialization logic to a new file for better organization.
- Implemented environment preservation for collections during snapshot serialization.
- Added utility functions to handle collection environment checks and serialization.
- Introduced tests to validate the new serialization behavior and environment preservation.
- Enhanced existing tests to cover edge cases for unmounted collections and environment persistence.
* Add tests for missing and invalid environment files
* feat(snapshot): refactor devTools normalization and add saveToken to IPC handler
* refactor(snapshot): remove saveToken from IPC handler for renderer:snapshot:save
* feat(snapshot): implement collection deduplication logic in SnapshotManager and add corresponding tests
* feat(snapshot): enhance workspace-specific environment handling for shared collections
* feat(snapshot): remove sourceWorkspacePathname from snapshot serialization and related tests
* feat(snapshot): remove sourceWorkspacePathname from SnapshotManager and add tests for shared collection environment restoration
* feat(snapshot): refactor collection deduplication tests and enhance snapshot seeding utility
* feat(snapshot): enhance workspace path normalization and improve snapshot environment tests
---------
Co-authored-by: engineering-bruno <engineering@usebruno.com>
* feat(collections): implement sliding window for script request UIDs to manage stale updates
- Introduced a bounded sliding window mechanism for tracking recent script request UIDs, allowing for better handling of stale updates from superseded or cancelled requests.
- Updated relevant functions to utilize the new `isStaleScriptRequest` utility for improved clarity and maintainability.
- Enhanced the persistence logic to ensure that updates from retired requests do not interfere with newer requests, improving data integrity during concurrent operations.
- Added comprehensive tests to validate the behavior of the new UID management system and its impact on variable propagation across requests.
* refactor(tests): remove outdated test for persistentEnvVariables in runtime tests
- Eliminated the test case that checked for the inclusion of persistentEnvVariables in the result, as it is no longer relevant.
- Cleaned up the test suite to enhance clarity and maintainability, focusing on relevant assertions for variable management.
* refactor(collections): simplify environment persistence logic and remove stale request handling
- Updated the `persistActiveEnvironment` and related functions to eliminate the requestUid parameter, streamlining the logic for environment persistence.
- Removed outdated checks for stale updates from superseded requests, enhancing clarity and maintainability.
- Deleted the `_scriptRequestUids` management code and associated tests, as they are no longer necessary for the current implementation.
- Improved the handling of environment updates to ensure accurate state management without stale data interference.
* refactor(filesystem): remove unused hasJsExtension function
- Deleted the `hasJsExtension` utility function from the filesystem module as it was no longer needed.
- Cleaned up the exports to enhance clarity and maintainability of the codebase.
* test(network): add unit tests for applyCollectionVarsToCollectionRoot
* refactor(ipc, environments): implement file locking for environment updates
- Updated the environment persistence logic in both `collection.js` and `workspace-environments.js` to utilize file locking during read and write operations.
- This change ensures that concurrent access to environment files is managed safely, preventing potential data corruption and enhancing reliability during updates.
* feat:Added collection name and minor UI changes to the generate doc modal
* feat:Removed the test file
* feat: updated the version number changes and test cases
* Comments fixed
---------
Co-authored-by: bruno-sachin <bruno-sachin@brunos-MacBook-Air.local>