PromucFlow_constructor/app/client/cypress/e2e/Regression/ClientSide/IDE
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
..
Canvas_Context_Bug_Fixes.js feat: enabled editor pane sidebar (#29882) 2024-01-12 20:13:58 +05:30
Canvas_Context_Property_Pane_1_spec.js fix: property pane collapse expand icon issue fixed (#32094) 2024-03-27 15:12:15 +05:30
Canvas_Context_Property_Pane_2_spec.js fix: property pane collapse expand icon issue fixed (#32094) 2024-03-27 15:12:15 +05:30
Canvas_Context_Selected_Widgets_spec.js feat: enabled editor pane sidebar (#29882) 2024-01-12 20:13:58 +05:30
Canvas_View_mode.ts chore: cypress test for canvas view mode (#32354) 2024-04-03 14:52:09 +05:30
Command_Click_Navigation_spec.js feat: enabled editor pane sidebar (#29882) 2024-01-12 20:13:58 +05:30
Editor_Segment_Context_Switching_spec.ts chore: Add Editor Pane segments context switch tests (#32224) 2024-03-29 11:48:59 +05:30
IDE_Add_Pane_Interactions_spec.ts fix: On delete of last item, redirect user to blank screen (#32418) 2024-04-05 17:56:17 +05:30
MaintainContext&Focus_spec.js chore: Add Editor Pane segments context switch tests (#32224) 2024-03-29 11:48:59 +05:30