79 Commits

Author SHA1 Message Date
Remco Burema
27cb1d2d9f
Also have/keep the uninstalled status displayed.
'isRecentlyInstalled' was both for installing _and_ uninstalling. Will add the rename to the refactor later on.

part of CURA-8587
2021-12-08 14:04:19 +01:00
Remco Burema
a61c3e9eff
Peristance of 'Installed' text.
part of CURA-8587
2021-12-07 21:23:54 +01:00
Jelle Spijker
3be6747e5d
Trying to set a persistent install managebutton
Contributes to: CURA-8587
2021-12-07 18:25:46 +01:00
Jelle Spijker
14bc196154
Hidden other manage buttons when the other is confirmed
Contributes to: CURA-8587
2021-12-07 16:09:07 +01:00
Jelle Spijker
bb9696c39f
Reset button if user declines license
Contributes to: CURA-8587
2021-12-07 15:06:46 +01:00
Jelle Spijker
5b3e9079ed
Don't show en-/disable button when un-/installed
Contributes to: CURA-8587
2021-12-07 12:46:45 +01:00
Jelle Spijker
ca76bcc29c
Show a conformation message after a successful manage action
Contributes to: CURA-8587
2021-12-07 12:23:04 +01:00
Jelle Spijker
1c0e484069
Only show manage buttons in manage tab or detail view
Contributes to: CURA-8587
2021-12-07 11:25:16 +01:00
Ghostkeeper
c6501d6ade
Use capital letters for busy text
It seems though that the wrong text is shown here. In any case this looks more consistent.

Contributes to issue CURA-8587.
2021-12-06 16:25:50 +01:00
Ghostkeeper
e3eb82b022
Align read more label to the text, not the parent box
This is the same alignment as the ellipsis shown when the description is abbreviated. Looks correct, and it should be correct.

Contributes to issue CURA-8587.
2021-12-06 16:21:58 +01:00
Jaime van Kessel
09710c2d9f Remove unneeded connection
The connection isn't needed to handle a signal. There is an easier shorthand

CURA-8587
2021-12-06 12:02:14 +01:00
Jaime van Kessel
18837a32b8 Move verifiedIcon to it's own file
Cleaning up the size of the package card a bit
2021-12-06 11:54:14 +01:00
Jaime van Kessel
ea85e59e50 Fix margin
CURA-8587
2021-12-06 11:34:19 +01:00
Jelle Spijker
863e92d0d2
Fixed state of manage buttons
Contributes to: CURA-8587
2021-12-06 09:14:40 +01:00
casper
58ee0d19fd Vertically align author components with manage buttons
To comply with UX design

cura 8587
2021-12-04 10:28:25 +01:00
Jelle Spijker
e37f08790f
Fixed a merge conflict
And not in a neat way. I'm a shamed to say copy-paste was used extensively.

Contributes to: CURA-8587
2021-12-03 13:51:43 +01:00
Remco Burema
b5e06f6c67
Fix tooltip targetpoint. 2021-12-01 13:48:18 +01:00
Ghostkeeper
d8e212581b
Show placeholder texts when compatibility lists are empty
When there are no compatible printers, we show that there is no information. After all, all materials should be compatible with some printer.
When there are no compatible support materials, we simply show 'None', because a material could be incompatible with all known support material types.

Contributes to issue CURA-8585.
2021-11-30 19:11:02 +01:00
Ghostkeeper
249a07269e
Specify spacing between external link buttons
Contributes to issue CURA-8585.
2021-11-30 19:02:27 +01:00
Ghostkeeper
58cefcb68c
Add additional buttons at the bottom for materials with links to data sheets
And where to buy it.

Contributes to issue CURA-8585.
2021-11-30 19:00:08 +01:00
Ghostkeeper
39f540ff52
Add information on compatibilities with air manager
Similar to the Material Station.

Contributes to issue CURA-8585.
2021-11-30 18:25:24 +01:00
Ghostkeeper
aba3e755f4
Show compatibility with material station
Contributes to issue CURA-8585.
2021-11-30 18:22:55 +01:00
Ghostkeeper
cfdb01caaf
Show list of compatible support materials
Contributes to issue CURA-8585.
2021-11-30 18:13:06 +01:00
Ghostkeeper
fd026e472f
Show compatible printers for materials
Contributes to issue CURA-8585.
2021-11-30 18:08:42 +01:00
Ghostkeeper
7529483cb0
Don't show download count for bundled plug-ins
I considered rewriting the section title property to be QML-only and translate it from the QML, but this is a bit simpler in the end, even though there is data duplication now.

Contributes to issue CURA-8565.
2021-11-30 14:42:12 +01:00
Ghostkeeper
cac623b509
Use medium font size for extended description
The design appears more balanced then, quoth the designer of the layout.

Contributes to issue CURA-8565.
2021-11-30 10:49:49 +01:00
Ghostkeeper
f385e3d639
Don't show elision or read more if there is no description at all
Apparently Qt marks it as 'truncated' then, even though it's not really. Don't show the ... nor the 'read more' button if there is nothing more to read.

Contributes to issue CURA-8565.
2021-11-29 19:59:43 +01:00
Ghostkeeper
d96284ee3e
Only show formatted description in detail page
We can't show rich text in the package list, because the we use the onLineLaidOut signal there, which doesn't work with Rich Text. So for the package list we should NOT use the formatted version of the description because that will contain ugly HTML tags that the user wouldn't want to see. Show the original description there. Use the formatted description only in the detail page where we don't use onLineLaidOut.

Contributes to issue CURA-8565.
2021-11-29 19:35:57 +01:00
Ghostkeeper
b5c7dfe9a2
Format links in descriptions to be clickable
Took some fiddling to get the regex right. But it's nice now.

Contributes to issue CURA-8565.
2021-11-29 19:29:33 +01:00
Ghostkeeper
ffd1a4d812
Add button to visit plug-in website
There are a lot of buttons leading to websites now: An arrow leading to the author website. An author name leading to the author website. A 'read more' label leading to the plug-in website and this new button leading to the plug-in website. Maybe we should raise this with the designer.

Contributes to issue CURA-8565.
2021-11-29 18:46:56 +01:00
Ghostkeeper
e173fa2d9d
Add package description in full to detail card
I realise that this might cause the card to become taller than the window. Might need to do something about that.

Contributes to issue CURA-8565.
2021-11-29 18:33:58 +01:00
Ghostkeeper
0546f58e57
Add extended description header
Wrapping the whole content so far in another column so that we can have a wider part below, automatically aligned.

Contributes to issue CURA-8565.
2021-11-29 18:26:28 +01:00
Ghostkeeper
cfd29b268d
Use actual download count for packages
Quite easy. It turned out the model already had this information, due to foresight when the card itself got implemented.

Contributes to issue CURA-8565.
2021-11-29 18:05:53 +01:00
Ghostkeeper
0dcc28032a
Add download count design to detail card
Just the design. The data is just a placeholder so far.

Contributes to issue CURA-8565.
2021-11-29 18:03:42 +01:00
Ghostkeeper
443ba67455
Align ellipsis to text again
It used to be fine, but the font of the button got made different from the font of the description. It should be the same as the description, so this should remain correct even if the fonts change again.

Contributes to issue CURA-8565.
2021-11-29 17:49:11 +01:00
Ghostkeeper
d7058ef520
Change card summary information into a column
This is necessary because we can't anchor to the bottom of the card here, and because we want to swap out the description for a download count in the extended detail card.

Contributes to issue CURA-8565.
2021-11-29 17:40:53 +01:00
Ghostkeeper
8ecd2f86a4
Communicate to PackageCard whether it is a detailed card or not
If it is detailed, it currently hides the short description. That is not quite enough, but we'll expand that behaviour.

Contributes to issue CURA-8565.
2021-11-29 16:38:24 +01:00
Ghostkeeper
616bf479e5
Set position and width of card in details page
This means that the card itself shouldn't specify a width. It should get a width from how it's used.

Contributes to issue CURA-8565.
2021-11-29 16:11:15 +01:00
Jaime van Kessel
09a569fdd1 Change fonts to default
No idea why they were medium, but the design clearly shows that it should be the default font
2021-11-26 14:39:26 +01:00
Jaime van Kessel
60b174177f Also set correct size for package card title 2021-11-26 14:39:02 +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
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
Remco Burema
dcb9456848
Fix CApitalization and spurious space.
part of CURA-8561
2021-11-18 08:44:06 +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
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