Skip to content

fix: token input screen is closed after switching between Toolbox and browser #72

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Apr 8, 2025
Prev Previous commit
Next Next commit
fix: use password field for tokens
  • Loading branch information
fioan89 committed Apr 8, 2025
commit 43f0977cc08f30ed47c85e5255c3bd01e501f420
2 changes: 1 addition & 1 deletion src/main/kotlin/com/coder/toolbox/views/TokenStep.kt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import kotlinx.coroutines.flow.update
* enter their own.
*/
class TokenStep(private val context: CoderToolboxContext) : WizardStep {
private val tokenField = TextField(context.i18n.ptrl("Token"), "", TextType.General)
private val tokenField = TextField(context.i18n.ptrl("Token"), "", TextType.Password)
private val descriptionField = LabelField(context.i18n.pnotr(""))
private val linkField = LinkField(context.i18n.ptrl("Get a token"), "")
private val errorField = ValidationErrorField(context.i18n.pnotr(""))
Expand Down