Skip to content

Improve first use experience for Upload before Port selected #7958

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 3 commits into from
Sep 3, 2018

Conversation

PaulStoffregen
Copy link
Contributor

Fixes #7943

When running the IDE for the first time, this appears if Upload is attempted before selecting a Port.

capture

Copy link
Collaborator

@matthijskooijman matthijskooijman left a comment

Choose a reason for hiding this comment

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

Looks good to me now. For the final merge, it would make sense to squash that last commit into the first one, though.

@PaulStoffregen
Copy link
Contributor Author

PaulStoffregen commented Aug 31, 2018

Looked at this just a little more. UploaderFactory seems to handle a null boardPort well. It's only used for network uploaders. It checks for null and those aren't considered if it's null. It's not used for SerialUploader, so null is ok.

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.

4 participants