-
Notifications
You must be signed in to change notification settings - Fork 29.9k
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
VS Code for the Web: title area shows up in pre-existing sessions #161948
Comments
@joaomoreno says
🐛 Titlebar area appears |
You have command center enabled. |
|
I take this as your personal feedback and you have a way to disable this. However, I don't see why this should be specifically disabled in web. This is more or less exactly how it looks in mac desktop and we have very similar looks in web when using the |
That's the power of experiments and there is no (good) UI to know what experiments you are exposed to (except for F1 > Report Issue). For those that don't like surprises there is |
This is how https://vscode.dev looks to me now: Again, on the web, I have a hard time justifying the appearance of the title bar for the sake of having a control center, and I argue we'd be making a mistake enabling this by default. Again, I'm talking about on the web. I'm curious to know what other people think. Please chime in @digitarald. |
I think we all understand this is on the web. Tho, I don't understand what your point is? You are OK with two sidebars but not two titlebars? |
As in my first comment I believe web should be a light experience and two titlebars do not help here. It looks very alien to the eye of a user in a browser. I strongly suggest we fix this for the web. |
I suggest we take this as datapoints and continue with the experiment - also for web. If you manually disable/opt-out-of the CC it is automatically tracked in the corresponding dashboard. That helps to get reliable numbers that we can base our decisions on. Thanks for understanding. |
My 2 cents: I immediately hide the titlebar or any menu bar in web when I am browsing like a normal web site, but where I would want to see the titlebar is when I use VSCode from a PWA. Thus, you maybe in web but you want a custom title bar if PWA is enabled (this is something we can detect). Related issue: #140694 |
@jrieken My point is: I love the command center. But the title bar does not look good on a web browser at all. It looks odd, out of place and ruins the current cookies banner (arguably a current bug of the cookies banner). And if we don't intend on showing the titlebar on the web by default until we address those issues, why are we forcing these users to go through this experiment? I argue the common Joe doesn't even realize he can hide the titlebar. |
@joaomoreno thank you, that screenshot clarified it for me. In the past we decided to not run experiments on vscode.dev (we filter the data out from scorecards, but still seem to apply them). cc @devinvalenciano @lramos15 It seems like a side effect that enabling the command palette also triggers the title bar. Enabling layout controls does not trigger the title. Not sure how we should make that consistent. |
Discussed in ZH Standup. A good low hanging fix would be to only add the Also, follow up issue: #162424 |
@alexdima and I discussed this and we concluded that the underlying issue is more nuanced. On certain platforms, like web, enabling the command center does enable the custom title bar. That means the CC-experiment actually does two things: it enables the CC and the custom title bar. This lowers confidence in the outcomes and we should look into improving things The current behaviour (CC enables custom title bar) came in with #151892. Before tanking the experiment I will investigate to disable that behaviour - I am certain it came from a time where the custom menu (in the title bar) wasn't responding to layout changes properly |
The fix to decouple visibility of the title bar from the command center introduces the issue that the user has no way of using the command center even if they have manually enabled it without messing with menu bar visibility which they won't know about. The change I made here to have them coupled was to make the "best guess" based on what the user has for settings. Why enable the command center if you don't want to see it? I understand we are running an experiment so it's not true that they enabled it themselves but now enabling it on web has zero effect in non-pwa form. We either need to have these "smarts" back, or we need to introduce yet another setting for titlebar visibility. |
Some options for settings, @jrieken @joaomoreno please let me know what you think about these or if you have additional ideas. --- Components Based: Title Bar Settings talk about contents of the title bar --- Menu Bar Visibility Title Bar Visibility
--- Title Bar Visibility has the final say --- Menu Bar Visibility Title Bar Visibility
--- No New Setting --- Title Bar behaves like "contents (show if any contents are enabled)". i.e. if command center, menu bar, or layout controls are shown, the title bar should be visible. Right click > hide can turn off these contents to dismiss the title bar.
|
This is the best option. The concerns above are:
|
I do like the combination of burger and CC but I also know that the ergonomics of the burger isn't as good as classic menu. (cc @dbaeumer). So, please excuse me, I don't want to derail this discussion nor make things more complicated but would we consider a two line title bar for certain cases, esp with classic menus. For web there is some feedback that classic menu is preferred and for desktop (linux, window) it's the default. When enabling the CC in these cases there are a couple of issues:
This makes me wonder if CC and classic menu should render below each other, similar to O365 app (see below) Find my super profession mock-up below 👇. Again, this would only apply when enabling the CC and the classic menu at the same time, e.g windows, linux and some web users. It might require some platform specific (none sync'ed?) settings to enable the burger for web but not for windows. |
Usually, I have enough space for both the command center and the menu bar. But that might be me having a wide monitor :-) |
refs VS Code for the Web: title area shows up in pre-existing sessions #161948
refs VS Code for the Web: title area shows up in pre-existing sessions #161948
The title bar is now conditional based on the contents and the banner issue is fixed. Web is also no longer pushing an app icon into the mix. Also the menubar converts to a hamburger when size is small. For this reason, I think this issue is resolved. If we want to explore pushing the menu down, I suggest this be a separate feature request. |
https://insiders.vscode.dev
Title area is rendered? I personally find this unexpected, since the title area does not bring that much value and occupies precious screen real estate. On first open we also show a blue banner, the banner with the title area give a bad first user impression. We should aim for a light experience imho
The text was updated successfully, but these errors were encountered: