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

Allow devices to have empty firmware when checking for deployments #1749

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

elinol
Copy link
Contributor

@elinol elinol commented Jan 10, 2025

Fixes a bug (#1748 ) where the liveview crashes when trying to show a device without firmware metadata.

Copy link
Contributor

@nshoes nshoes left a comment

Choose a reason for hiding this comment

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

Good catch! Thank you.

@nshoes
Copy link
Contributor

nshoes commented Jan 10, 2025

Oops, approved too soon... could we get a test for this? :)

@elinol
Copy link
Contributor Author

elinol commented Jan 10, 2025

Yes, I was thinking so too. First thing monday!

Copy link
Collaborator

@joshk joshk left a comment

Choose a reason for hiding this comment

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

Sooooo, I have an idea I would like to run past everyone.

How about we list all deployments, and include in the drop down the aarch and platform of the deployment, allowing for the device to be added to the deployment, and instead add a note under the dropdown or a flash message that the device will be removed from the deployment upon connection if the aarch and platform of the device doesn't match.

This feels like a nicer user experience as a device can be manually added, if it be via api or UI, and placed in a deployment (if tags aren't used for matching). If we don't allow this then we require the device to connect, which can remove users from there flow of learning the system.

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.

3 participants