Skip to content

Fix offline dev update confirm handler not starting upload#2393

Merged
samfreund merged 1 commit intoPhotonVision:mainfrom
MirrorCY:fix-dev-offline-update
Mar 10, 2026
Merged

Fix offline dev update confirm handler not starting upload#2393
samfreund merged 1 commit intoPhotonVision:mainfrom
MirrorCY:fix-dev-offline-update

Conversation

@MirrorCY
Copy link
Copy Markdown
Contributor

Description

What changed? Why? (the code + comments should speak for itself on the "how")

Fixes a bug where offline update did not start after confirming the dev-version warning dialog.

The confirm action was using an incorrect file reference in template context, so the selected JAR was not passed correctly to the upload handler. The dialog closed, but no upload request was sent.
This change corrects the confirm handler so the selected file is passed properly and the upload/install flow starts as expected.

Fix #2392

Meta

Merge checklist:

  • Pull Request title is short, imperative summary of proposed changes
  • The description documents the what and why, including events that led to this PR
  • If this PR changes behavior or adds a feature, user documentation is updated
  • If this PR touches photon-serde, all messages have been regenerated and hashes have not changed unexpectedly
  • If this PR touches configuration, this is backwards compatible with all settings going back to the previous seasons's last release (seasons end after champs ends)
  • If this PR touches pipeline settings or anything related to data exchange, the frontend typing is updated
  • If this PR addresses a bug, a regression test for it is added
  • If this PR adds a dependency, the license has been checked for compatibility and steps taken to follow it

@MirrorCY MirrorCY requested a review from a team as a code owner March 10, 2026 12:17
@github-actions github-actions Bot added the frontend Having to do with PhotonClient and its related items label Mar 10, 2026
@samfreund samfreund merged commit ab09e7f into PhotonVision:main Mar 10, 2026
59 checks passed
@samfreund samfreund mentioned this pull request Mar 11, 2026
8 tasks
SpeedSlicer pushed a commit to SpeedSlicer/photonvision that referenced this pull request Mar 30, 2026
…ion#2393)

Fixes a bug where offline update did not start after confirming the
dev-version warning dialog.

The confirm action was using an incorrect file reference in template
context, so the selected JAR was not passed correctly to the upload
handler. The dialog closed, but no upload request was sent.
This change corrects the confirm handler so the selected file is passed
properly and the upload/install flow starts as expected.
cswilson252 pushed a commit to cswilson252/photonvision that referenced this pull request Apr 22, 2026
…ion#2393)

Fixes a bug where offline update did not start after confirming the
dev-version warning dialog.

The confirm action was using an incorrect file reference in template
context, so the selected JAR was not passed correctly to the upload
handler. The dialog closed, but no upload request was sent.
This change corrects the confirm handler so the selected file is passed
properly and the upload/install flow starts as expected.
samfreund added a commit that referenced this pull request May 5, 2026
We recently had an error that would've been caught by type checking in the frontend (see #2393). This PR implements type checking so that future errors will be caught.

Additionally, this PR contains miscellaneous frontend cleanup that's tangentially related to type-checking.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

frontend Having to do with PhotonClient and its related items

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Offline Update does nothing after confirming dev version warning dialog

2 participants