Added a dictionary where additional user rights can be set.
A plugin such as the DigitalFactory can update this dictionary
if certain account rights change. The `account.additionalRights`
is intended to allow us some flexibility, without breaking the API
in the future.
The Application Switcher now queries the additional account rights,
which is updated by the DF plugin to only show `My printers`,
`Digital Library` and `Print jobs` when the user has access to the
DF.
Contributes to CURA-8624
Some links in the application only make sense to
forward a user when they are logged into the DF.
Since we don't expose yet if the user has access
to the DF it will now only check if they are
logged in.
Contributes to CURA-8624
* Skip button
- Moved to the left, such that a user won't click on it mindlessly
- Made it a Tertiary button, so it will have predictable margins
* Sign-in button
- Moved to the right bottom, making it the logical next option
* Create an account
- Moved to be inline with skip and sign-in
- Made it a secondary button as requested by UX
Contributes to CURA-8602
Instead of inverting the fill and the text color in those buttons when hovering on those buttons, they will now show a light background fill when hovered.
CURA-8421
The sign in button has a different size when you are logged in, where the account avatar was being drawn in the middle of the Sign In button. This was causing a weird alignment of the ApplicationSwitcher next to it, as it was adding an extra margin.
This is now fixed by making sure that the width of the button that has to do with account adjusts according to whether you are logged in or not. This makes the ApplicationSwitcher icon move when you log in but looks more natural relatively to the account button.
CURA-8421
When the displayname of the app is long and it spans to the next line, it was pushing the icon up in the column, making it seem like it is misaligned. This is now fixed and the icons should be aligned regardless if the display name has one or two lines.
CURA-8421
By default in all of our themes this ends up being the same distance at 100% pixel scale, but it now scales according to the pixel scale of the user's screen while still being properly rounded to integer coordinates.
The icon is called People in the UX team's icon system, and we need to stay aligned to that.
The high detail variant has an extra person in it.
Contributes to issue CURA-8530.