Jaime van Kessel
60b174177f
Also set correct size for package card title
2021-11-26 14:39:02 +01:00
casper
20f94add47
Display different content on each of the marketplace onboarding banners
2021-11-26 10:10:09 +01:00
casper
853f915f2a
Add basic onboarding banner to the market place
2021-11-26 10:06:50 +01:00
Ghostkeeper
1df859e046
Catch IndexError when logging errors
...
And log that error too, then.
Fixes Sentry issue CURA-32J.
2021-11-23 19:04:33 +01:00
Ghostkeeper
2f1c157547
Don't attempt writing a workspace before there is a global stack
...
This is normally not possible from the interface. However on MacOS, the application menu gets carried to the top bar of the operating system. It is not blocked there, and the user could write a project file before they even add a printer. This prevents Cura from crashing when they do that.
Fixes Sentry issue CURA-2ZR.
2021-11-23 17:54:26 +01:00
Ghostkeeper
cecd033430
Merge branch 'CURA-8541_Aborted_state_not_reflected_correctly_in_Cura_Monitor_Page'
2021-11-23 16:28:46 +01:00
Jelle Spijker
8427555d6a
Merge pull request #10901 from Ultimaker/CURA-8539_oauth_via_httprequestmanager
...
OAuth via HttpRequestManager
2021-11-23 13:59:45 +01:00
Remco Burema
b98e0d1753
Use author icon if no package icon known.
...
part of CURA-8562
2021-11-23 13:46:33 +01:00
Remco Burema
ac8d5fc12c
More explicit float's in shader just to be sure.
...
CURA-8714
2021-11-23 09:27:25 +01:00
Ghostkeeper
3f92b46ac8
Don't restart refresh token while it's already processing
...
If two requests to the API occur at the same time, they will both see at the same time that they need an access token, and if it is expired they will both see that it needs refreshing. The server then sees two refreshes, both with the same refresh token. This is not allowed. The second one then gets a failure to refresh the token, which causes the user to log out.
Instead, we'll stop one of the refresh requests. They were fire-and-forget anyway, so it's not needed to actually continue the request.
Contributes to issue CURA-8539.
2021-11-22 18:52:43 +01:00
Ghostkeeper
bddcf3cb0c
Add extensible switch case for tooltip
...
This way it's
- more clear what the two cases are
- and more robust if we ever add a third.
Contributes to issue CURA-8562.
2021-11-22 17:16:39 +01:00
Ghostkeeper
35ba8f78a0
Disambiguate associativity of and/or operators
...
It's the same, but it's a bit easier to read what it's doing. Placing the package type check first also helps to read what the two cases are here.
Contributes to issue CURA-8562.
2021-11-22 17:10:56 +01:00
casper
6be0d58039
Add handling of missing printJob status cases
...
The `printJob` now also contains a status for detecting aborted prints
that were awaiting cleanup, preventing the need for the additional
checks in the `await_cleanup` status.
2021-11-19 17:22:13 +01:00
Jelle Spijker
7fd9578599
Unified tooltip description
...
Contributes to CURA-8562
2021-11-19 11:21:29 +01:00
Jelle Spijker
eb3083c84d
use differentiate icon for Ultimaker controlled material/plugin
...
Materials can be certified, while plugins can be verified.
Added packageType to the model such that the card knows which icon
to use.
Contributes to CURA-8562
2021-11-19 11:21:29 +01:00
Jelle Spijker
584411e59e
Moved comments
...
if they're inline they mess up the QML syntax highlighter in PyCharm
2021-11-19 11:21:21 +01:00
Jelle Spijker
0fb78126d5
Merge pull request #10871 from Ultimaker/CURA-8559_mp_searchbar_fixes
...
[CURA-8559] (New-)Marketplace Search-Bar UX Fixes
2021-11-18 11:47:53 +01:00
Remco Burema
dcb9456848
Fix CApitalization and spurious space.
...
part of CURA-8561
2021-11-18 08:44:06 +01:00
Remco Burema
cd255b0ae5
Search Marketplace: Change message if no results found.
...
part of CURA-8559
2021-11-18 08:15:26 +01:00
Remco Burema
307d751c2d
Fix white rectangles in dark mode and height of search-bar.
...
part of CURA-8559
2021-11-18 08:14:04 +01:00
fieldOfView
c6b6af668d
Fix shader compilation on some GPUs
...
Some GPUs (rightly) complain about the difference between a float and an int. Fixes #10837
2021-11-18 08:04:14 +01:00
Jaime van Kessel
07e9237d72
Add missing action for button
...
CURA-8561
2021-11-17 14:23:26 +01:00
Jaime van Kessel
183fa06cfe
Fix look of external link button
...
CURA-8561
2021-11-17 11:54:12 +01:00
Jaime van Kessel
f6b351f97f
Fix size of footer
...
CURA-8561
2021-11-17 11:22:57 +01:00
Jaime van Kessel
5ac0df8b0f
Fix styling of scrollbar in marketplace
...
CURA-8561
2021-11-17 11:22:30 +01:00
Jaime van Kessel
f01ce5b43c
Fix direction of tooltip point
...
CURA-8561
2021-11-17 10:59:31 +01:00
Jaime van Kessel
d7e023c5ee
Fix sizes of icons in package card
...
CURA-8561
2021-11-17 10:56:06 +01:00
Jaime van Kessel
5a08ae0eab
Give the poor + a bit more breathing room
...
It's a pandemic, we need to give operators a bit of room ;)
2021-11-17 10:52:33 +01:00
Jaime van Kessel
71769ab168
Merge branch 'marketplace_navigation_improvements' of github.com:Ultimaker/Cura into marketplace_redesign
2021-11-17 10:51:49 +01:00
Jaime van Kessel
4ae01df7f5
Ensure that the packagecard looks like the design
...
CURA-8561
2021-11-17 10:27:48 +01:00
10r3n20
cc401e107e
fixed conflicts
2021-11-17 10:07:42 +01:00
Jaime van Kessel
c8491b4752
Remove background color from external link button
...
CURA-8561
2021-11-17 09:15:08 +01:00
Jaime van Kessel
980cc22529
Simplify the layout of the packageCard
...
CURA-8561
2021-11-16 18:02:56 +01:00
Jaime van Kessel
e44a58b3a3
Use reusable simple button instead of redefining it
2021-11-16 16:51:09 +01:00
Remco Burema
7c29e69f55
Small UX adjustments.
...
part of CURA-8561
2021-11-16 16:08:29 +01:00
Jaime van Kessel
cefffe62cd
Remove most of controls 1 references from networking plugin
2021-11-16 15:26:23 +01:00
10r3n20
fa307742b8
Merge branch 'marketplace_redesign' of github.com:ultimaker/cura into marketplace_navigation_improvements
2021-11-16 14:05:55 +01:00
10r3n20
4c6441f65e
moved manage packages button inside the tabBar and adjusted styling
2021-11-16 14:02:07 +01:00
Remco Burema
c2ed0a9181
Workaround for if layer is None somehow.
2021-11-16 12:40:56 +01:00
Remco Burema
f0cb9dd39e
Workaround for if layer is None somehow.
2021-11-16 12:33:29 +01:00
10r3n20
0e646a97f2
made font bold in tabs to be more aligned in weight with the gear icon
2021-11-16 11:40:24 +01:00
10r3n20
e4cd310303
added hover state to inactive tabs
2021-11-16 11:37:52 +01:00
10r3n20
74193ffff9
moved padding to PackageTybeTab and replaced default margin with narrow margin
2021-11-16 11:29:48 +01:00
Remco Burema
6df6dab6f0
Remove explicit transparent border on button.
...
done as part of CURA-8559
2021-11-16 10:38:00 +01:00
Jaime van Kessel
82e2f038ac
Convert more items to controls 2 for toolbox
2021-11-16 10:23:32 +01:00
Jaime van Kessel
ef9b5506ce
Convert postprocessing plugin to controls 2
2021-11-16 10:07:58 +01:00
Jelle Spijker
cc92a9dc1c
Merge pull request #10841 from Ultimaker/master
...
Merge master into libArachne
2021-11-16 08:04:41 +01:00
Ghostkeeper
5e60cc6208
Merge branch 'bremco-graphics_buffer_update'
2021-11-15 15:20:10 +01:00
Ghostkeeper
dc28370178
Remove implicit casts and comparisons of int to float
...
We can't change this index to an integer, because varying variables can't be integer, even though this variable will only really be tested on vertex level. Not sure if varying was the right choice, but I don't want to change that.
This prevents a crash, probably only occurring on certain GPUs.
Contributes to issue CURA-8657.
2021-11-15 15:19:57 +01:00
Remco Burema
24eaad4c6d
Make switching Marketplace-tabs work with search-bar.
...
Reset search-bar (text) when switching tabs. Also hide search-bar (at least for now) when dealing with the managed packages tab.
part of CURA-8559
2021-11-12 15:37:59 +01:00