Skip to content
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

fix: import status window UX #2075

Merged
merged 1 commit into from
Jan 11, 2023

Conversation

rafaelramalho19
Copy link
Contributor

Closes #2030

Demo

(1st part of the demo is with mouse clicks, 2nd is with the keyboard navigation for accessibility)

webui-popup-ux.mov

Potential side-effects

  • I changed src/reset.css to use :focus-visible instead of :focus, which makes the outline box around "tabbable" elements only appear with KEYBOARD and not MOUSE interactions.

@rafaelramalho19 rafaelramalho19 requested a review from a team as a code owner December 14, 2022 16:08
@rafaelramalho19 rafaelramalho19 temporarily deployed to Deploy December 14, 2022 16:14 — with GitHub Actions Inactive
@SgtPooki
Copy link
Member

The demo looks great! Thanks so much for throwing this together. I'm going to check out the code now.

Copy link
Member

@SgtPooki SgtPooki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@@ -11,7 +11,7 @@ button:not(.disabled) {
cursor: pointer;
}

button:not(.default):focus {
button:not(.default):focus-visible {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there is some (very-light) lack of browser support here, though greenfield browsers seem to support it fine. focus-visible is generally accepted as a better replacement.

https://caniuse.com/?search=focus-visible vs https://caniuse.com/mdn-css_selectors_focus

@SgtPooki SgtPooki merged commit 4104cc6 into ipfs:main Jan 11, 2023
ipfs-gui-bot pushed a commit that referenced this pull request Jan 27, 2023
## [2.22.0](v2.21.0...v2.22.0) (2023-01-27)

 CID `bafybeifeqt7mvxaniphyu2i3qhovjaf3sayooxbh5enfdqtiehxjv2ldte`

 ---

### Features

* different countly keys for kubo and webui.ipfs.io deployments ([#2081](#2081)) ([2e766fa](2e766fa))

### Bug Fixes

* import status window UX ([#2075](#2075)) ([4104cc6](4104cc6))
* webui update metrics to opt-out by default (part of 2074) ([#2084](#2084)) ([cac7663](cac7663))

### Trivial Changes

* pull new translations ([#2076](#2076)) ([ad9e4ff](ad9e4ff))
@ipfs-gui-bot
Copy link
Collaborator

🎉 This PR is included in version 2.22.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

UX improvements for import status pop-up window
3 participants