PromucFlow_constructor/app/client/src/ce
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
..
actions chore: reverted consolidated api (#30314) 2024-01-16 10:16:48 +05:30
api chore: Remove unused services (#30292) 2024-01-23 05:43:16 +05:30
components fix: Resolving datasource page redirection, switch env and on page load response view debugger issues (#30156) 2024-01-10 18:41:24 +05:30
configs chore: Remove unused services (#30292) 2024-01-23 05:43:16 +05:30
constants chore: Show Tabs on recent access order (#30450) 2024-01-23 10:22:50 +05:30
entities chore: Remove echarts feature flag (#30201) 2024-01-19 11:38:34 +05:30
hooks fix: interchanged primary btn to gen crud from new query (#30007) 2024-01-05 13:54:18 +05:30
mocks
navigation fix: Widget selection context switch adjustments (#30117) 2024-01-12 10:53:47 +05:30
pages chore: Remove unused services (#30292) 2024-01-23 05:43:16 +05:30
plugins/Linting chore: Refactoring entity types and updating DS action create permission to fix some bugs on EE (#29573) 2023-12-14 20:14:30 +05:30
reducers chore: Remove unused services (#30292) 2024-01-23 05:43:16 +05:30
sagas chore: Show Tabs on recent access order (#30450) 2024-01-23 10:22:50 +05:30
selectors chore: Show Tabs on recent access order (#30450) 2024-01-23 10:22:50 +05:30
utils feat: workflows query in apps code split (#30424) 2024-01-22 19:50:22 +07:00
workers chore: add params for query instance (#30333) 2024-01-17 10:28:33 +05:30
AppRouter.tsx chore: reverted consolidated api (#30314) 2024-01-16 10:16:48 +05:30
RouteBuilder.ts chore: Remove unused services (#30292) 2024-01-23 05:43:16 +05:30
RouteParamsMiddleware.ts chore: Refactor URLAssembly to throw error on missing pageId for app route resolution only (#28527) 2023-11-02 15:55:24 +05:30