fix: Open state of bottom bar
Description
Improved tab handling in DebuggerTabs.tsx and JSResponseView.tsx Added conditions to prevent unnecessary rendering when selecting RESPONSE_TAB or HEADER_TAB, improving performance.
Responsive ActionExecutionResizerHeight Adjusted the height calculation to be 30% of the window height, making it adaptable to different screen sizes.
Applied tab handling improvements to DataSourceEditor/Debugger Enhanced the performance of the DataSourceEditor/Debugger component by implementing similar tab handling conditions.
PR fixes following issue(s)
Fixes #22810
Type of change
- Bug fix (non-breaking change which fixes an issue)
Testing
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Also list any relevant details for your test configuration. Delete anything that is not relevant
- [x] Manual
- [ ] Jest
- [x] Cypress
Test Plan
Add Testsmith test cases links that relate to this PR testplan
Issues raised during DP testing
Link issues raised during DP testing for better visiblity and tracking (copy link from comments dropped on this PR)
Checklist:
Dev activity
- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my feature works
- [x] New and existing unit tests pass locally with my changes
- [ ] PR is being merged under a feature flag
QA activity:
- [ ] Speedbreak features have been covered
- [ ] Test plan covers all impacted features and areas of interest
- [ ] Test plan has been peer reviewed by project stakeholders and other QA members
- [ ] Manually tested functionality on DP
- [ ] We had an implementation alignment call with stakeholders post QA Round 2
- [ ] Cypress test cases have been added and approved by SDET/manual QA
- [ ] Added
Test Plan Approvedlabel after Cypress tests were reviewed - [ ] Added
Test Plan Approvedlabel after JUnit tests were reviewed
PR Summary
- Improved tab handling in DebuggerTabs.tsx and JSResponseView.tsx Added conditions to prevent unnecessary rendering when selecting RESPONSE_TAB or HEADER_TAB, improving performance.
- Responsive ActionExecutionResizerHeight Adjusted the height calculation to be 20% of the window height, making it adaptable to different screen sizes.
- Applied tab handling improvements to DataSourceEditor/Debugger Enhanced the performance of the DataSourceEditor/Debugger component by implementing similar tab handling conditions.
/build-deploy-preview env=release
Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/4914159629.
Workflow: On demand build Docker image and deploy preview.
skip-tests: ``.
env: release.
PR: 23077.
recreate: .
Deploy-Preview-URL: https://appsmith-61xkhdg3g-get-appsmith.vercel.app
/ok-to-test
/build-deploy-preview env=release
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/4927063331.
Workflow: Appsmith External Integration Test Workflow.
Commit: ``.
PR: 23077.
Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=23077&runId=4927063331_1
Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/4927064829.
Workflow: On demand build Docker image and deploy preview.
skip-tests: ``.
env: release.
PR: 23077.
recreate: .
Deploy-Preview-URL: https://appsmith-lvfsb97rf-get-appsmith.vercel.app
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4927063331. Commit: ``. The following are new failures, please fix them before merging the PR:
- cypress/integration/Regression_TestSuite/ClientSideTests/OtherUIFeatures/EntityBottomBar_spec.ts
- cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/ListV2/Listv2_dataIdentifierProperty_spec.js
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4927063331. Commit: ``. The following are new failures, please fix them before merging the PR:
- cypress/integration/Regression_TestSuite/ClientSideTests/OtherUIFeatures/EntityBottomBar_spec.ts
- cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/ListV2/Listv2_dataIdentifierProperty_spec.js
/ok-to-test
/build-deploy-preview env=release
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/4933248889.
Workflow: Appsmith External Integration Test Workflow.
Commit: ``.
PR: 23077.
Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=23077&runId=4933248889_1
Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/4933249382.
Workflow: On demand build Docker image and deploy preview.
skip-tests: ``.
env: release.
PR: 23077.
recreate: .
Deploy-Preview-URL: https://appsmith-h6j7emy0a-get-appsmith.vercel.app
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4933248889. Commit: ``. The following are new failures, please fix them before merging the PR:
- cypress/integration/Regression_TestSuite/ClientSideTests/BugTests/Bug19982_Spec.ts
- cypress/integration/Regression_TestSuite/ClientSideTests/Onboarding/GuidedTour_spec.js
- cypress/integration/Regression_TestSuite/ClientSideTests/OtherUIFeatures/Omnibar_spec.js
- cypress/integration/Regression_TestSuite/ClientSideTests/VisualTests/JSEditorIndent_spec.js
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4933248889. Commit: ``. The following are new failures, please fix them before merging the PR:
- cypress/integration/Regression_TestSuite/ClientSideTests/Onboarding/GuidedTour_spec.js
- cypress/integration/Regression_TestSuite/ClientSideTests/VisualTests/JSEditorIndent_spec.js
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4933248889. Commit: ``. The following are new failures, please fix them before merging the PR:
- cypress/integration/Regression_TestSuite/ClientSideTests/Onboarding/GuidedTour_spec.js
- cypress/integration/Regression_TestSuite/ClientSideTests/VisualTests/JSEditorIndent_spec.js
/ok-to-test
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/4937895368.
Workflow: Appsmith External Integration Test Workflow.
Commit: ``.
PR: 23077.
Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=23077&runId=4937895368_1
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4937895368. Commit: ``. The following are new failures, please fix them before merging the PR:
- cypress/integration/Regression_TestSuite/ClientSideTests/Autocomplete/Autocomplete_JS_spec.ts
- cypress/integration/Regression_TestSuite/ClientSideTests/Binding/Bind_DatePicker_Text_spec.js
- cypress/integration/Regression_TestSuite/ClientSideTests/Binding/Promises_Spec.ts
- cypress/integration/Regression_TestSuite/ClientSideTests/EmbedSettings/EmbedSettings_spec.js
- cypress/integration/Regression_TestSuite/ClientSideTests/OtherUIFeatures/ExportApplication_spec.js
- cypress/integration/Regression_TestSuite/ClientSideTests/Templates/Fork_Template_spec.js
- cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/Chart/Chart_spec.js
- cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/TableV1/TableFilter2_Spec.ts
- cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/TableV2/TableV2Filter2_Spec.ts
- cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/TableV2/TableV2_PropertyPane_spec.js
- cypress/integration/Regression_TestSuite/ClientSideTests/Workspace/ShareAppTests_spec.js
- cypress/integration/Regression_TestSuite/ServerSideTests/GenerateCRUD/MySQL2_Spec.ts
/ok-to-test
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/4944505852.
Workflow: Appsmith External Integration Test Workflow.
Commit: ``.
PR: 23077.
Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=23077&runId=4944505852_1
/ok-to-test
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/4944590869.
Workflow: Appsmith External Integration Test Workflow.
Commit: ``.
PR: 23077.
Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=23077&runId=4944590869_1
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4944590869. Commit: ``. The following are new failures, please fix them before merging the PR:
- cypress/integration/Regression_TestSuite/ClientSideTests/OtherUIFeatures/Omnibar_spec.js
- cypress/integration/Regression_TestSuite/ServerSideTests/Postgres_DataTypes/UUID_Spec.ts
/ok-to-test
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/4947046874.
Workflow: Appsmith External Integration Test Workflow.
Commit: ``.
PR: 23077.
Perf tests will be available at https://app.appsmith.com/app/performance-infra-dashboard/pr-details-638dd7cd2913ba43778b915e?pr=23077&runId=4947046874_1
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/4947046874. Commit: ``. The following are new failures, please fix them before merging the PR:
- cypress/integration/Regression_TestSuite/Application/MongoDBShoppingCart_spec.js
- cypress/integration/Regression_TestSuite/ServerSideTests/Postgres_DataTypes/UUID_Spec.ts