6141 Commits

Author SHA1 Message Date
Ghostkeeper
f2aba01eff
Reset page index to 0 when re-opening sync dialogue
When the user previously opened the dialog and advanced through the pages, but closes the window, then they'll probably have to restart when they want to try it again.

Contributes to issue CURA-8609.
2021-10-05 14:00:15 +02:00
Ghostkeeper
9b1c8d1c7a
Add beginnings of printer list page
We just need this to have something to navigate to from the other pages as I implement that it automatically skips the sign in page when already signed in, and that it continues after being signed in from the sign in page.

Contributes to issue CURA-8609.
2021-10-05 13:26:25 +02:00
Ghostkeeper
c761820d52
Add behaviour to sign in page buttons
It will now sign you in when you press that button. It doesn't automatically proceed to the next page when signed in though. For that I reckon I'll need to build that next page first, or at least the beginnings of it.

Contributes to issue CURA-8609.
2021-10-05 13:22:33 +02:00
Ghostkeeper
3b62759ff2
Design for sign in page of material sync dialog
It's not functional yet at the moment, but this is a nice layout.

Contributes to issue CURA-8609.
2021-10-05 13:15:40 +02:00
Ghostkeeper
cef5c5da2a
Add link to help and button to continue
These two are aligned vertically.

Contributes to issue CURA-8609.
2021-10-05 12:05:26 +02:00
Ghostkeeper
d8dcd0affc
Replace three image layout with a single unified image
This new image positions all the images correctly and makes sure it all uses the correct line width even though they are scaled relatively to each other.

Contributes to issue CURA-8609.
2021-10-05 11:44:06 +02:00
Jaime van Kessel
cc92f4c1e0 Merge branch 'CURA-8602_move_skip_button_onboarding_flow' of github.com:Ultimaker/Cura 2021-10-05 11:01:55 +02:00
Ghostkeeper
6b0e221b73
Implement word wrapping for introductory text
Contributes to issue CURA-8609.
2021-10-04 18:13:12 +02:00
Ghostkeeper
e56076af08
Render material spool somewhat bigger and give it a margin
The image of the spool doesn't have a margin by itself, contrary to the other images which have a visual margin given by the size of the table. We have to give it a margin manually. This is one of the consequences of encoding margins inside of images that may be used all over the place. We can't just remove the margins inside of the image because the laptop image will be used in other places too.
Just adding a margin would subtract from the size of the spool image making it very small. To compensate I'm making the spool image slightly bigger.

Contributes to issue CURA-8609.
2021-10-04 18:09:47 +02:00
Ghostkeeper
346d9f1db2
Add images describing the workflow to first page
Contributes to issue CURA-8609.
2021-10-04 17:59:16 +02:00
Jelle Spijker
b49004a742
Reorient layout of skip, sign-in and create
* 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
2021-10-04 16:48:51 +02:00
Ghostkeeper
1e9ae92d29
Add spacing and padding to first page
Contributes to issue CURA-8609.
2021-10-04 16:39:56 +02:00
Ghostkeeper
b5edd5fa9c
Make Sync dialogue modal
Otherwise it appears behind other modal windows, such as the material manager.

Contributes to issue CURA-8609.
2021-10-04 16:27:52 +02:00
Ghostkeeper
9ec731eaf6
Create MaterialsSyncDialog from a Python function
Rather than from the QML.
This allows creating this dialogue from a message button without needing to put it in the base application.

Contributes to issue CURA-8609.
2021-10-04 16:23:28 +02:00
Ghostkeeper
1c78452d39
Add basis for a new material sync wizard
Just the set-up with a basic page to test the window with.

Contributes to issue CURA-8609.
2021-10-01 17:54:01 +02:00
Ghostkeeper
ebee7dbec9
Remove space from link
This was probably a copy-paste error.
2021-10-01 10:22:38 +02:00
Konstantinos Karmas
5266cbb950 Initiate an account sync immediately after pressing "Add cloud printer"
It was a bit weird that the sync didn't happen immediately and you had to wait for 30seconds until the printer appeared.
2021-09-23 12:53:57 +02:00
Jaime van Kessel
0656e11afa Fix styling of application button
Fixes previous mistake that I made while simplifying the QML

CURA-8421
2021-09-22 13:53:49 +02:00
Jaime van Kessel
e39675e447 Use styled tooltip
CURA-8422
2021-09-22 13:44:45 +02:00
Jaime van Kessel
5a8396651e Update the copy of the tooltips
CURA-8422
2021-09-22 12:59:43 +02:00
Jaime van Kessel
aa905a80fe Add animations to hover effect
CURA-8421
2021-09-22 09:48:27 +02:00
Jaime van Kessel
90bfdce3bb Further simplify the qml of applicationSwitcherPopup
CURA-8421
2021-09-22 09:45:53 +02:00
Jaime van Kessel
0c9ef1e647 Move ApplicationSwitcherPopup to it's own file
CURA-8421
2021-09-22 09:43:49 +02:00
Jaime van Kessel
fd0804646a Simplify the QML of application switcher
CURA-8421
2021-09-22 09:40:32 +02:00
Jaime van Kessel
9bf5d85be1 Add animation to hover effect
CURA-8421
2021-09-22 09:36:47 +02:00
Jaime van Kessel
f55e3363d0 Remove unneeded property change
CURA-8421
2021-09-22 09:35:09 +02:00
Jaime van Kessel
dc181a3426 Simplify QML of application button
CURA-8421
2021-09-22 09:33:13 +02:00
Jaime van Kessel
e0b38f2782 Add animation to hover effect
CURA-8421
2021-09-22 09:29:47 +02:00
Konstantinos Karmas
96436fbedd Remove unnecessary anchor
Fixes review comment https://github.com/Ultimaker/Cura/pull/10491#discussion_r713124155.

CURA-8421
2021-09-21 17:36:04 +02:00
Konstantinos Karmas
c73f815b69 Use anchors instead of setting the width
Fixes review comment https://github.com/Ultimaker/Cura/pull/10491#discussion_r713119985.

CURA-8421
2021-09-21 17:32:06 +02:00
Konstantinos Karmas
2f75e299f5 Set the width in the parent item
Fixes review comment https://github.com/Ultimaker/Cura/pull/10491#discussion_r713127038.

CURA-8421
2021-09-21 17:31:37 +02:00
Konstantinos Karmas
a3d04bc752 Use the correct color for the label
CURA-8421
2021-09-21 16:16:14 +02:00
Konstantinos Karmas
ed0fc26051 Fix unthemed label
Since in dark mode it stays black and it disappears in the background.

CURA-8421
2021-09-21 15:51:01 +02:00
Jaime van Kessel
1aadb1bade
Merge pull request #10492 from Ultimaker/CURA-8422_add_platform_links
Add links to Ultimaker website applications
2021-09-21 15:45:37 +02:00
Konstantinos Karmas
c91509418e Make all the top right buttons uniform
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
2021-09-21 15:36:31 +02:00
Konstantinos Karmas
ab77efd9c4 Move the popup so that the arrow isn't drawn exactly on the corner
CURA-8421
2021-09-21 15:07:04 +02:00
Konstantinos Karmas
e2d19668e4 Change the hover colors of the AppSwitcher button
So that they are more subtle.

CURA-8421
2021-09-21 15:00:25 +02:00
Ghostkeeper
df7ddd305c
Add tracking tags to Ultimaker website links
Contributes to issue CURA-8422.
2021-09-21 13:17:08 +02:00
Konstantinos Karmas
cd505d575d Merge branch 'CURA-8421_Introduce_app_switcher' into CURA-8422_add_platform_links 2021-09-21 11:35:02 +02:00
Konstantinos Karmas
6df9f9f72c Remove debugging code
So that all platform links have the link icon indicator in the bottom right corner.

CURA-8421
2021-09-21 11:32:38 +02:00
Konstantinos Karmas
ee564782b5 Remove comment
CURA-8421
2021-09-21 11:06:45 +02:00
Konstantinos Karmas
0d932991d4 Rename ApplicationSwitcher.svg to BlockGrid.svg
Since it is the original filename in the design.

CURA-8421
2021-09-20 17:24:06 +02:00
Konstantinos Karmas
fea8ecd55f Rename the qml elements and the theme entries used in AppSwitcher
To some more sensible names (hopefully).

CURA-8421
2021-09-20 17:19:37 +02:00
Konstantinos Karmas
d844c5f70a Fix alignment of the ApplicationSwitcher button
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
2021-09-20 16:57:16 +02:00
Konstantinos Karmas
a9968acd6d Fix misalignment of images if the displayName spans to next line
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
2021-09-20 16:42:22 +02:00
Ghostkeeper
82922fd738
Merge branch 'CURA-8421_Introduce_app_switcher' into CURA-8422_add_platform_links 2021-09-20 16:36:49 +02:00
Ghostkeeper
c518f0de93
Add links to Ultimaker's platform websites
The links are not final since they will need some campaign tags. For the rest it should be more or less done.

Contributes to issue CURA-8422.
2021-09-20 16:36:26 +02:00
Konstantinos Karmas
15884a66e8 Warp and elide ApplicationButton display name
To make sure that it properly fits in the available space.

CURA-8421
2021-09-20 15:58:53 +02:00
Konstantinos Karmas
570fb3cf93 Introduce the ApplicationSwitcher widget
It includes only the hardcoded model with the Ultimaker links for now.

CURA-8421
2021-09-20 15:33:05 +02:00
Jaime van Kessel
c497e61d9d Merge branch 'feature_single_instance_clear_before_load' of https://github.com/fieldOfView/Cura 2021-09-15 16:18:54 +02:00