mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 13:03:59 -06:00
Allow for opt-in of DF User name for Sentry crash reports
This will help us with triage of bugs for our customers. Contributes to CURA-11482
This commit is contained in:
parent
34e7ea8185
commit
2bcdacef72
2 changed files with 54 additions and 3 deletions
|
@ -124,6 +124,9 @@ UM.PreferencesPage
|
|||
UM.Preferences.resetPreference("info/send_engine_crash")
|
||||
sendEngineCrashCheckbox.checked = boolCheck(UM.Preferences.getValue("info/send_engine_crash"))
|
||||
|
||||
UM.Preferences.resetPreference("info/anonymous_engine_crash_report")
|
||||
sendEngineCrashCheckboxAnonymous.checked = boolCheck(UM.Preferences.getValue("info/anonymous_engine_crash_report"))
|
||||
|
||||
UM.Preferences.resetPreference("info/automatic_update_check")
|
||||
checkUpdatesCheckbox.checked = boolCheck(UM.Preferences.getValue("info/automatic_update_check"))
|
||||
|
||||
|
@ -859,11 +862,12 @@ UM.PreferencesPage
|
|||
font: UM.Theme.getFont("medium_bold")
|
||||
text: catalog.i18nc("@label", "Privacy")
|
||||
}
|
||||
|
||||
UM.TooltipArea
|
||||
{
|
||||
width: childrenRect.width
|
||||
height: visible ? childrenRect.height : 0
|
||||
text: catalog.i18nc("@info:tooltip", "Should slicing crashes be automatically reported to Ultimaker? Note, no models, IP addresses or other personally identifiable information is sent or stored.")
|
||||
text: catalog.i18nc("@info:tooltip", "Should slicing crashes be automatically reported to Ultimaker? Note, no models, IP addresses or other personally identifiable information is sent or stored, unless you give explicit permission.")
|
||||
|
||||
UM.CheckBox
|
||||
{
|
||||
|
@ -874,6 +878,47 @@ UM.PreferencesPage
|
|||
}
|
||||
}
|
||||
|
||||
ButtonGroup
|
||||
{
|
||||
id: curaCrashGroup
|
||||
buttons: [sendEngineCrashCheckboxAnonymous, sendEngineCrashCheckboxUser]
|
||||
}
|
||||
|
||||
UM.TooltipArea
|
||||
{
|
||||
width: childrenRect.width
|
||||
height: visible ? childrenRect.height : 0
|
||||
visible: Cura.API.account.isLoggedIn
|
||||
text: catalog.i18nc("@info:tooltip", "Send crash reports without any personally identifiable information or models data to UltiMaker.")
|
||||
anchors.left: parent.left
|
||||
anchors.leftMargin: UM.Theme.getSize("default_margin").width
|
||||
Cura.RadioButton
|
||||
{
|
||||
id: sendEngineCrashCheckboxAnonymous
|
||||
text: catalog.i18nc("@option:radio", "Anonymous crash reports")
|
||||
enabled: sendEngineCrashCheckbox.checked
|
||||
checked: boolCheck(UM.Preferences.getValue("info/anonymous_engine_crash_report"))
|
||||
onClicked: UM.Preferences.setValue("info/anonymous_engine_crash_report", true)
|
||||
}
|
||||
}
|
||||
UM.TooltipArea
|
||||
{
|
||||
width: childrenRect.width
|
||||
height: visible ? childrenRect.height : 0
|
||||
visible: Cura.API.account.isLoggedIn
|
||||
text: catalog.i18nc("@info:tooltip", "Send crash reports with your registered UltiMaker account email adress to UltiMaker. No model data is being send.")
|
||||
anchors.left: parent.left
|
||||
anchors.leftMargin: UM.Theme.getSize("default_margin").width
|
||||
Cura.RadioButton
|
||||
{
|
||||
id: sendEngineCrashCheckboxUser
|
||||
text: catalog.i18nc("@option:radio", "Crash reports with email adress")
|
||||
enabled: sendEngineCrashCheckbox.checked
|
||||
checked: !boolCheck(UM.Preferences.getValue("info/anonymous_engine_crash_report")) && Cura.API.account.isLoggedIn
|
||||
onClicked: UM.Preferences.setValue("info/anonymous_engine_crash_report", false)
|
||||
}
|
||||
}
|
||||
|
||||
UM.TooltipArea
|
||||
{
|
||||
width: childrenRect.width
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue