PromucFlow_constructor/app/client/src/reducers/uiReducers
Hetu Nandu 2bde0d11c4
chore: Show Tabs on recent access order (#30450)
## Description

Update IDE tabs order and limits

- Show only recently accessed tabs
- If recent tab is was already on screen, do not update order
- Limit to just 5 active tabs


#### PR fixes following issue(s)
Fixes #30365

#### Media



https://github.com/appsmithorg/appsmith/assets/12022471/a53a93cd-1b5e-4341-ba4f-289c6bd82b6d


>
#### Type of change
- Chore (housekeeping or task changes that don't impact user perception)

## 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
- [ ] Manual
- [ ] JUnit
- [ ] Jest
- [ ] Cypress
>
>
#### Test Plan
> Add Testsmith test cases links that relate to this PR
>
>
#### 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
- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] PR is being merged under a feature flag


#### QA activity:
- [ ] [Speedbreak
features](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans#speedbreakers-)
have been covered
- [ ] Test plan covers all impacted features and [areas of
interest](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans#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 Approved` label after Cypress tests were reviewed
- [ ] Added `Test Plan Approved` label after JUnit tests were reviewed


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

- **New Features**
- Introduced new actions to manage JavaScript and query tabs within the
IDE.
	- Enhanced IDE to update tabs based on route changes.

- **Enhancements**
	- Improved tab management for JavaScript and queries in the IDE.

- **Bug Fixes**
	- Ensured consistent IDE tab states during navigation.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-01-23 10:22:50 +05:30
..
actionSelectorReducer.ts
activeFieldEditorReducer.ts chore: Refactor debugger analytics for active fields (#28036) 2023-10-16 09:22:11 +05:30
analyticsReducer.ts
appCollabReducer.ts chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
appSettingsPaneReducer.ts
appThemingReducer.ts chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
appViewReducer.tsx
authReducer.ts
autoHeightReducer.ts chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
canvasSelectionReducer.ts chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
crudInfoModalReducer.ts chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
datasourceNameReducer.ts
datasourcePaneReducer.ts feat: query should be populated based on table selected on datasource… (#30306) 2024-01-22 17:43:07 +05:30
debuggerReducer.ts fix: Adding a new redux action to clear debugger errors on environment switch (#30460) 2024-01-19 16:01:22 +05:30
dragResizeReducer.ts feat: Anvil DnD highlight activation upgrade (#29979) 2024-01-11 21:31:38 +05:30
errorReducer.tsx chore: show stack trace with the failing action type for cypress (#25037) 2023-07-10 11:23:45 +05:30
focusHistoryReducer.ts fix: Context Switching fixes for Copy and Delete (#29841) 2023-12-27 14:17:35 +05:30
gitSyncReducer.ts fix: adding new settings modal (#30320) 2024-01-19 15:14:38 +05:30
globalSearchReducer.ts chore: Sunset Omnibar Documentation and Snippets (#24787) 2023-06-30 15:51:08 +05:30
guidedTourReducer.ts
helpReducer.ts
ideReducer.ts chore: Show Tabs on recent access order (#30450) 2024-01-23 10:22:50 +05:30
importReducer.ts
jsObjectNameReducer.tsx
jsPaneReducer.ts
layoutConversionReducer.ts chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
libraryReducer.ts chore: remove xml parser v3 as a default library (#28012) 2023-10-20 11:08:47 +05:30
mainCanvasReducer.ts
modalActionReducer.ts chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
onBoardingReducer.ts chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
oneClickBindingReducer.ts
pageCanvasStructureReducer.ts
pageWidgetsReducer.test.ts
pageWidgetsReducer.ts feat: Shared Package for DSL based operations (#23894) 2023-06-26 12:25:55 +05:30
propertyPaneReducer.tsx chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
reflowReducer.ts chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
releasesReducer.ts chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
tableFilterPaneReducer.tsx
templateReducer.ts feat: adds see more to canvas starter templates (#29777) 2023-12-27 10:29:33 +05:30
themeReducer.ts chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
tourReducer.ts chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
usersReducer.ts feat: make features call a blocking API call for page load (#27974) 2023-10-11 23:19:19 +05:30
websocketReducer.ts