-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(web): install button and confirmation dialog fixes (#1717)
## Problems 1. The "Install" button is shown during the installation progress :disappointed_relieved: Thanks @imobachgs! 2. The install confirmation dialog could be accepted by mistake because of 'Continue' button receiving the focus by default https://trello.com/c/8ZWINXjs (internal/private link) ## Solutions 1. Do not show the "Install" button when it does not make sense 2. Set 'Cancel' button as focused by default via [autofocus](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus) attribute (a.k.a. `autoFocus` prop) ## Testing - New behavior covered by unit tests. ## Notes Constants for router paths were moved to a single _routes/paths_ file in order to avoid circular dependencies that made test suite fail after fe18300
- Loading branch information
Showing
30 changed files
with
249 additions
and
163 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
------------------------------------------------------------------- | ||
Wed Oct 30 22:26:29 UTC 2024 - David Diaz <[email protected]> | ||
|
||
- Render Install button only where it makes sense and prevent the | ||
user starting the installation by mistake | ||
(gh#agama-project/agama#1717). | ||
|
||
------------------------------------------------------------------- | ||
Mon Oct 28 19:26:29 UTC 2024 - David Diaz <[email protected]> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.