Skip to content

Commit 35c6259

Browse files
authored
impl: swap button order (#75)
- we want "Connect" button to be highlighted - Toolbox highlights the first button in the action list
1 parent 96f6e32 commit 35c6259

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## Unreleased
44

5+
### Changed
6+
7+
- action buttons on the token input step were swapped to achieve better keyboard navigation
8+
59
## 0.1.3 - 2025-04-09
610

711
### Fixed

src/main/kotlin/com/coder/toolbox/views/AuthWizardPage.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,14 @@ class AuthWizardPage(
5959
}
6060
actionButtons.update {
6161
listOf(
62-
Action(context.i18n.ptrl("Back"), closesPage = false, actionBlock = {
63-
tokenStep.onBack()
64-
displaySteps()
65-
}),
6662
Action(context.i18n.ptrl("Connect"), closesPage = false, actionBlock = {
6763
if (tokenStep.onNext()) {
6864
displaySteps()
6965
}
66+
}),
67+
Action(context.i18n.ptrl("Back"), closesPage = false, actionBlock = {
68+
tokenStep.onBack()
69+
displaySteps()
7070
})
7171
)
7272
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy