PromucFlow_constructor/app/client/src/actions
Hetu Nandu 159399d8f4
fix: On delete of last item, redirect user to blank screen (#32418)
## Description

When the last item is deleted in JS, Query Or UI, we will take the user
to the to the list view where the blank state is shown. This way the
user will not be confused about the add state they were dropped into

Fixes #30612

## Automation

/ok-to-test tags="@tag.IDE"

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!IMPORTANT]  
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/8569313532>
> Commit: `6408a9af3dee52fe66501afc6b4e6ded49993fee`
> Cypress dashboard url: <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=8569313532&attempt=1"
target="_blank">Click here!</a>
> All cypress tests have passed 🎉🎉🎉

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







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

## Summary by CodeRabbit

- **Refactor**
- Improved focus management across the application by centralizing focus
history handling.
- Updated redirection logic after entity deletion to enhance user
navigation experience.
- **Chores**
- Removed unused `removeFocusHistoryRequest` function and associated
action constant to streamline codebase.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-04-05 17:56:17 +05:30
..
actionSelectorActions.ts chore: Add analytics event to track telemetry is disabled & update properties for INVITE_USER event (#24042) 2023-06-06 02:57:40 +05:30
activeFieldActions.ts chore: Refactor debugger analytics for active fields (#28036) 2023-10-16 09:22:11 +05:30
analyticsActions.ts chore: Removing feature flag for app level invites (#22650) 2023-04-26 12:48:16 +05:30
apiPaneActions.ts chore: Debugger Split states (#31043) 2024-02-29 11:53:57 +05:30
appCollabActions.ts
appSettingsPaneActions.ts chore: Make App Sidebar Generally Available (#30923) 2024-02-07 11:25:23 +05:30
appThemingActions.tsx feat: Frontend changes for consolidated-api with EE test case support (#30506) 2024-01-24 12:14:16 +05:30
appViewActions.ts feat: App Theming (#9714) 2022-05-04 15:15:57 +05:30
authActions.ts feat: Frontend changes for consolidated-api with EE test case support (#30506) 2024-01-24 12:14:16 +05:30
autoHeightActions.ts chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
autoLayoutActions.ts feat: added anvil type for app layout (#27633) 2023-10-04 14:24:16 +05:30
batchActions.ts chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
browserRequestActions.ts
canvasSelectionActions.ts chore: Layout system wise restructuring of Canvas Widget (#27496) 2023-10-04 17:23:29 +05:30
communityTemplateActions.ts chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
controlActions.tsx chore: Make use of widget methods to get binding properties in sniping mode (#25429) 2023-07-26 11:08:11 +05:30
crudInfoModalActions.ts chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
datasourceActions.ts chore: change saas authentication to context based (#31064) 2024-03-07 15:36:31 +05:30
debuggerActions.ts chore: Debugger Split states (#31043) 2024-02-29 11:53:57 +05:30
editorActions.ts feat: debugger error navigation (#25505) 2023-08-01 09:32:41 +05:30
editorContextActions.ts chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
errorActions.ts Remove server error cases 2023-04-05 14:09:00 +05:30
evaluationActions.ts feat: constrained diff between states (#31847) 2024-03-27 14:37:46 +05:30
explorerActions.ts
focusHistoryActions.ts fix: On delete of last item, redirect user to blank screen (#32418) 2024-04-05 17:56:17 +05:30
gitSyncActions.ts fix: autocommit ui issues (#30887) 2024-02-12 10:53:48 +05:30
globalSearchActions.ts chore: Sunset Omnibar Documentation and Snippets (#24787) 2023-06-30 15:51:08 +05:30
helpActions.ts
ideActions.ts fix: action selector create flow (#32326) 2024-04-05 11:28:47 +05:30
importActions.ts chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
initActions.ts feat: Frontend changes for consolidated-api with EE test case support (#30506) 2024-01-24 12:14:16 +05:30
jsActionActions.ts feat: Frontend changes for consolidated-api with EE test case support (#30506) 2024-01-24 12:14:16 +05:30
JSLibraryActions.ts feat: Frontend changes for consolidated-api with EE test case support (#30506) 2024-01-24 12:14:16 +05:30
jsPaneActions.ts fix: action selector create flow (#32326) 2024-04-05 11:28:47 +05:30
lintingActions.ts feat: show lint errors in async functions bound to sync fields (#21187) 2023-04-03 16:11:15 +05:30
metaActions.ts fix: reset widget to default value after setter method (#29151) 2023-12-08 11:16:31 +01:00
metaWidgetActions.ts chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
onboardingActions.ts fix: Remove guided tour code (#30387) 2024-01-24 16:31:21 +05:30
oneClickBindingActions.ts chore: Add analytics event to track telemetry is disabled & update properties for INVITE_USER event (#24042) 2023-06-06 02:57:40 +05:30
pageActions.tsx chore: Import debugger fixes (#31080) 2024-02-14 12:00:18 +05:30
pageVisibilityActions.ts feat: Bundle optimization and first load improvements (#21667) 2023-05-11 10:56:03 +05:30
pluginActionActions.ts chore: execute action event updated with source (#31662) 2024-03-12 15:36:33 +05:30
pluginActions.ts feat: Frontend changes for consolidated-api with EE test case support (#30506) 2024-01-24 12:14:16 +05:30
propertyPaneActions.ts fix: action selector create flow (#32326) 2024-04-05 11:28:47 +05:30
queryPaneActions.ts chore: Debugger Split states (#31043) 2024-02-29 11:53:57 +05:30
reflowActions.ts chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
releasesActions.ts
templateActions.ts fix: updates position of start from templates dialog. (#31194) 2024-02-20 01:43:33 +05:30
themeActions.ts chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
tourActions.ts chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
userActions.ts feat: Frontend changes for consolidated-api with EE test case support (#30506) 2024-01-24 12:14:16 +05:30
utilActions.ts
websocketActions.ts chore: Refactor rts connection retry with limits (#19781) 2023-01-14 21:38:39 +05:30
widgetActions.tsx chore: Block Selections when Canvas is in Side by Side mode (#31587) 2024-03-13 11:53:49 +05:30
widgetSelectionActions.ts chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
widgetSidebarActions.tsx chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30