Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spike: remove part of multiple abstraction-[INS-4911] #8362

Draft
wants to merge 49 commits into
base: develop
Choose a base branch
from

Conversation

CurryYangxx
Copy link
Member

Remove useRequestRunnerList and useInsomniaTab abstraction

CurryYangxx and others added 15 commits February 10, 2025 11:17
* runner improvements

* runner improvement

* maintain runner state in context

* fix lint

* save file object to context

* add request list to runner context to keep order

* fix ts error

* add eventbus & clear runner context state

* also delete folder runner tab when delete a folder

* clean

* change runner context data structure

* clean up
* fix: runner not update

* also delete folder runner tab when delete a folder

* fix: keep websocket connection

* feat: keep grpc&websocket connection

* unify close connection after tab closed

* del repeat func

* close graphql subscription

* resolve conflict

* feat: close connections when active environment change

* add desc for hooks

* close connections when organization change
* test: multiple tab

* fix: dashboard test
@CurryYangxx CurryYangxx changed the title Spike: remove part of multiple abstraction Spike: remove part of multiple abstraction-[INS-4911] Feb 12, 2025
@CurryYangxx CurryYangxx force-pushed the spike/simplify-multiple-tab branch from 59c61b3 to d8e0e0a Compare February 12, 2025 09:17
@CurryYangxx CurryYangxx force-pushed the spike/simplify-multiple-tab branch from d8e0e0a to a2ee656 Compare February 12, 2025 09:20
@CurryYangxx CurryYangxx requested a review from a team February 12, 2025 09:24
@CurryYangxx CurryYangxx force-pushed the spike/simplify-multiple-tab branch from 66c4efc to fc39ba7 Compare February 12, 2025 09:25
@CurryYangxx CurryYangxx requested a review from jackkav February 12, 2025 09:27
@CurryYangxx CurryYangxx marked this pull request as draft February 12, 2025 09:27
@CurryYangxx
Copy link
Member Author

@jackkav I removed part of the abstraction and put the logic back to the same file. Hope this can help you understand the logic better.

@CurryYangxx CurryYangxx force-pushed the feat/multiple-tab branch 4 times, most recently from c7af264 to a3128f4 Compare February 17, 2025 07:53
Base automatically changed from feat/multiple-tab to develop February 17, 2025 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant