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

Update tabs model to utilize the new API shape #142668

Merged
merged 11 commits into from
Feb 10, 2022
Merged

Conversation

lramos15
Copy link
Member

@lramos15 lramos15 commented Feb 9, 2022

This PR removes the Microtasking which causes synchronization issues and moves to a more naive algorithm for tab model reconstruction.

@bpasero I left the timers in there for now but I only want to time when log level is set to trace but couldn't figure out how to do that. Should I just take them out and see if the operations are noticeably slow?

@lramos15 lramos15 requested a review from bpasero February 9, 2022 20:33
@lramos15 lramos15 self-assigned this Feb 9, 2022
Copy link
Member

@bpasero bpasero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should there maybe be a developer action or environment variable to enable this logging so that we can ship this without too much spam?

@lramos15 lramos15 merged commit ec9df1d into main Feb 10, 2022
@lramos15 lramos15 deleted the lramos15/newTabsShape branch February 10, 2022 20:09
mustard-mh pushed a commit to gitpod-io/openvscode-server that referenced this pull request Feb 13, 2022
* Change shape of the tabs API

* Disable tab tests for now

* Add an onDidChangeTabGroup event

* Optimize for group activate

* Update events to no longer be an array

* Further tab optimization
mustard-mh pushed a commit to gitpod-io/openvscode-server that referenced this pull request Feb 13, 2022
* Change shape of the tabs API

* Disable tab tests for now

* Add an onDidChangeTabGroup event

* Optimize for group activate

* Update events to no longer be an array

* Further tab optimization
@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants