PromucFlow_constructor/app/client/src/ce/constants
Abhishek Pandey 37c2cf5afb
fix: clicking on + in list view does not create a new query (#36467)
## Description
This change adds a new state in ideReducer 'isListViewActive' to verify
the active status of the list view on split screen mode. I am updating
isListViewActive state to false when we click on `+` icon and are
already in QUERY_ADD mode, to close the list view and switch back to the
new query tab.

Fixes https://github.com/appsmithorg/appsmith/issues/36066
_or_  
Fixes `Issue URL`
> [!WARNING]  
> _If no issue exists, please create an issue first, and check with the
maintainers if the issue is valid._

## Automation

/ok-to-test tags=""

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!CAUTION]  
> If you modify the content in this section, you are likely to disrupt
the CI result for your PR.

<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [ ] No


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Introduced a new action to manage the active state of the list view,
enhancing user interface control.
	- Added a selector to retrieve the current state of the list view.

- **Improvements**
- Updated the `useQueryAdd` and `useJSAdd` hooks to respond to the IDE's
view mode, improving functionality when adding queries.
- Shifted state management for the list view from local to global,
ensuring consistent visibility across the application.

- **Bug Fixes**
- Enhanced responsiveness of the list view based on the current
interface state.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-09-30 16:24:59 +05:30
..
routes chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
ApiConstants.tsx chore: Refactor API (#36412) 2024-09-25 16:29:21 +05:30
forms.ts fix: updated the design for the admin users (#29712) 2023-12-25 17:54:46 +05:30
messages.ts chore: Init Plugin Action Response (#36485) 2024-09-25 13:14:26 +05:30
ModuleConstants.ts chore: update module constants (#33673) 2024-05-27 17:50:06 +05:30
ModuleInstanceConstants.ts fix: change appsmith alias (#35349) 2024-08-06 17:52:22 +03:00
PackageConstants.ts chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
ReduxActionConstants.tsx fix: clicking on + in list view does not create a new query (#36467) 2024-09-30 16:24:59 +05:30
SocialLogin.tsx fix: change appsmith alias (#35349) 2024-08-06 17:52:22 +03:00
tenantConstants.ts fix: Enable atomic pushes in git using an environment configuration (#33367) 2024-05-14 10:24:21 +05:30
UsagePulse.ts fix: fix usage pulse fallback (#21735) 2023-04-06 17:51:58 +05:30
WorkflowConstants.ts fix: set eval version for workflows artefact (#34197) 2024-06-12 13:07:07 +05:30
workspaceConstants.ts feat: Homepage experience v2 changes (#29282) 2024-01-25 19:11:48 +05:30