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

Show tabbar when items present #12307

Conversation

colin-grant-work
Copy link
Contributor

What it does

Fixes part of #12305 (but not all)

At the React 18 uplift, an old onRender Disposable in the TabBarToolbar class was replaced with a new-style onRender mechanism, which, however, doesn't appear to work reliably. Simpler is just revealing the toolbar immediately, knowing that a render will come soon.

How to test

  1. Reveal the Explorer
  2. Reload the application
  3. More TabbarToolbar item should be visible on startup without changing view containers.

Review checklist

Reminder for reviewers

@colin-grant-work colin-grant-work added the core issues related to the core of the application label Mar 14, 2023
@vince-fugnitto vince-fugnitto self-requested a review March 29, 2023 19:14
Copy link
Member

@vince-fugnitto vince-fugnitto left a comment

Choose a reason for hiding this comment

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

LGTM 👍
Confirmed that the changes work as expected.

@tsmaeder
Copy link
Contributor

@vince-fugnitto should we merge this one ahead of the release?

@vince-fugnitto vince-fugnitto merged commit cd61379 into eclipse-theia:master Mar 30, 2023
@vince-fugnitto vince-fugnitto deleted the bugfix/tabbar-invisibility branch March 30, 2023 12:29
@vince-fugnitto vince-fugnitto added this to the 1.36.0 milestone Mar 30, 2023
@vince-fugnitto vince-fugnitto added the toolbar issues related to the toolbar label Mar 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core issues related to the core of the application toolbar issues related to the toolbar
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants