-
Notifications
You must be signed in to change notification settings - Fork 635
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
UiManager: default to notebookbar by default #9017
UiManager: default to notebookbar by default #9017
Conversation
75eefd3
to
5eddd9c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested it works, thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have tested and it seems to work. Nevertheless when debugging both
the new (window.userInterfaceMode === 'classic' && forceCompact == null) || forceCompact === true;
and the previous (window.userInterfaceMode === 'notebookbar' && forceCompact === null) || forceCompact === false
I get similar results when testing with classic
string in the xml or even removing the whole sub mode
node from xml and xml.in
I wonder if it wouldn't be better to use notebookbar when classic
is passed (when window.userInterfaceMode === 'classic'
is true)... 🤔 this way we ensure that old value - that might have been forgotten in the sysadmin backed xml - is never user and instead we default to Notebookbar. If they really want that they can always change it to compact in the xml
I think that's a good option, fixing another notebookbar-not-by-default issue. |
We might want to update the documentation then: |
5eddd9c
to
a465322
Compare
a465322
to
239a662
Compare
There is a cypress test failing: The assertion failing is:
It could be that this MR, changed the ui mode used in tests. |
I think there is probably another problem in the test cypress_test/integration_tests/mobile/impress/apply_font_shape_spec.js that is unrelated to this. I think there is a fix already: cypress: quick fix for rounding error #9167 |
please rebase now, it should work |
In case of misconfiguration (missing userInterfaceMode), deprecated "classic" or "default" userInterfaceMode, which is the default, use notebookbar. Users can still use "compact" as documented to use the compact style (formerly called classic). Signed-off-by: Méven Car <[email protected]> Change-Id: I00ee65edb21fcf80724bc83f947341dfdc5c8ed6
239a662
to
bac5fdb
Compare
In case of misconfiguration (missing userInterfaceMode), deprecated "classic" or "default" userInterfaceMode, which is the default, use notebookbar.
Users can still use "compact" as documented to use the classic style.
Change-Id: I00ee65edb21fcf80724bc83f947341dfdc5c8ed6