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

Delay activation of manual device select button #2611

Merged
merged 1 commit into from May 9, 2022

Conversation

llewelld
Copy link
Contributor

When the app first starts up there can be a slight delay before the
configuration files have been downloaded and adb starts up.

During this time, if the "Select device manually" button is pressed by
the user, the device selection combobox will be empty, which can be
confusing for the user.

This change disables the button until initialisation is complete,
displaying a "Loading device list..." message in the meantime.

Copy link
Member

@amartinz amartinz left a comment

Choose a reason for hiding this comment

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

Thanks for the PR, triggering CI checks :)

src/ui/views/WaitForDevice.svelte Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Apr 26, 2022

Codecov Report

Merging #2611 (226da13) into master (c86c0e3) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #2611   +/-   ##
=======================================
  Coverage   76.20%   76.20%           
=======================================
  Files          29       29           
  Lines         954      954           
=======================================
  Hits          727      727           
  Misses        227      227           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c86c0e3...226da13. Read the comment docs.

When the app first starts up there can be a slight delay before the
configuration files have been downloaded and adb starts up.

During this time, if the "Select device manually" button is pressed by
the user, the device selection combobox will be empty, which can be
confusing for the user.

This change disables the button until initialisation is complete,
displaying a "Loading device list..." message in the meantime.
@NeoTheThird NeoTheThird merged commit f213fde into ubports:master May 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants