Improve login flow a smidge by showing an error message and re-enabling the sign in button on failure

This commit is contained in:
2026-11-05 09:56:36 -06:00
parent 27b0d92ccf
commit f5e8055bf5
6 changed files with 54 additions and 3 deletions

View File

@@ -68,10 +68,14 @@ module W3DHubLauncher
# FIXME: Retry? Show error? ???
pp settings_result
end
else
dialog(
Dialog::Alert,
title: "Failed to sign in",
message: "If you have failed 3 or more times in a row, wait about 15 minutes and try again."
)
btn.enabled = true
end
# FIXME: Show error message!
pp result
end
end
end