19 Commits

Author SHA1 Message Date
Jaime van Kessel
955b2950e8
Change tertiary button to use link text color
CURA-7627
2020-08-04 13:30:01 +02:00
Nino van Hooff
294afdb7ca Connect sync timer to sync() for consistency and add unit tests.
Also rename a function to camelCase

CURA-7473
2020-06-26 16:09:33 +02:00
Nino van Hooff
4f1a18f102 Add Install Pending Updates button to Account popup
CURA-7473
2020-06-26 11:37:01 +02:00
Nino van Hooff
6a02abefcd Change copy of "Your are in sync with your account"
to "Account synced"

Don't think the duplication I found is necessary, but I don't dare to
deduplicate it as I found some logic inconsistencies

CURA-7418
2020-06-17 15:34:13 +02:00
Kostas Karmas
60e38402fb Remove system palette
The SystemPalette was not properly reflecting the text color in the
dark theme (the icon remained black). For that reason, the palette
is removed and color for the icon have been added in the themes.

CURA-7418
2020-06-16 14:50:06 +02:00
Kostas Karmas
78bd5520bd Add theme color for sync state icon
CURA-7418
2020-06-16 14:41:23 +02:00
Kostas Karmas
87a97afd84 Add newlines at the end of files
CURA-7418
2020-06-16 13:35:28 +02:00
Jaime van Kessel
0edb93176a
Fix some layout issues
CURA-7418
2020-06-15 14:09:01 +02:00
Jaime van Kessel
a7e7ddf4b5
Add the digital factory button
CURA-7418
2020-06-15 13:33:47 +02:00
Jaime van Kessel
d33529f932
Use property & states instead of listening to changed signal
It makes a lot more sense to me to use states and an actual property.

CURA-7418
2020-06-11 17:31:19 +02:00
Jaime van Kessel
f4c5a134c2
Move palette to syncstate
It should be there, since that is the only place it's being used

CURA-7418
2020-06-11 17:02:37 +02:00
Kostas Karmas
fad02193ab Fix sync button not appearing when opening popup after clicking away
This was achieved by adding an IDLE state, which is the default state
when opening the account management popup. The state is now reseted
when the popup opens instead of when it closes. In addition, now either
the "You are in sync with your account" label or the "Check account for
updates" button will appear in the popup based on the state, not both.

Finally, with theses changes, if the popup is open and an autosync
occurs, the user will be informed that the account is synced and he/she
will have to close and reopen the popup in order to trigger a manual
update.

CURA-7290
2020-05-26 09:49:58 +02:00
Nino van Hooff
e6639eb8eb Do not reserve height for manual sync button
CURA-7290
2020-05-13 17:36:24 +02:00
Nino van Hooff
f78fa884c1 Only show the manual sync button after the account popup was closed
CURA-7290
2020-05-13 17:19:20 +02:00
Nino van Hooff
6caa0360b9 Change SyncRow copy
CURA-7290
2020-05-13 16:35:39 +02:00
Nino van Hooff
97d1c3200b Remove unused aliases from SyncState.qml
CURA-7290
2020-05-13 16:14:21 +02:00
Nino van Hooff
1ae050bbc5 Expose Account.SyncState as an Enum to QML
Provides a single source of truth

CURA-7290
2020-05-08 11:09:48 +02:00
Nino van Hooff
50ae2064b5 Refactor SyncState logic to SyncState.qml
CURA-7290
2020-05-06 11:47:38 +02:00
Nino van Hooff
637a241d99 Use single qml file for sync states
CURA-7290
2020-05-04 15:13:38 +02:00