Skip to content

Conversation

@samfreund
Copy link
Member

@samfreund samfreund commented Nov 14, 2025

Description

This adds a template modal that can be used for confirming that the user wants to delete something. The main goal is to reduce complication and duplicated code, and standardize the way we handle deletion.

closes #2175

Meta

Merge checklist:

  • Pull Request title is short, imperative summary of proposed changes
  • The description documents the what and why
  • This PR has been linted.
  • 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 settings back to v2025.3.2
  • 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

@github-actions github-actions bot added the frontend Having to do with PhotonClient and its related items label Nov 14, 2025
@samfreund samfreund force-pushed the confirm-prop branch 2 times, most recently from 2896a7d to 916f306 Compare November 15, 2025 23:34
@samfreund samfreund changed the title Refactor deletion, confirmation, and renaming Modal template for deletion confirmation Nov 16, 2025
@samfreund samfreund marked this pull request as ready for review November 16, 2025 00:03
@samfreund samfreund requested a review from a team as a code owner November 16, 2025 00:03
@samfreund samfreund requested a review from DevonRD November 16, 2025 04:32
@DevonRD DevonRD merged commit d27b3d0 into PhotonVision:main Nov 18, 2025
41 checks passed
@samfreund samfreund deleted the confirm-prop branch December 17, 2025 16:22
spacey-sooty pushed a commit to spacey-sooty/photonvision that referenced this pull request Dec 22, 2025
## Description

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

<!-- Fun screenshots or a cool video or something are super helpful as
well. If this touches platform-specific behavior, this is where test
evidence should be collected. -->

<!-- Any issues this pull request closes or pull requests this
supersedes should be linked with `Closes #issuenumber`. -->

This adds a template modal that can be used for confirming that the user
wants to delete something. The main goal is to reduce complication and
duplicated code, and standardize the way we handle deletion.

closes PhotonVision#2175

## Meta

Merge checklist:
- [x] Pull Request title is [short, imperative
summary](https://cbea.ms/git-commit/) of proposed changes
- [x] The description documents the _what_ and _why_
- [x] This PR has been
[linted](https://docs.photonvision.org/en/latest/docs/contributing/linting.html).
- [ ] 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 settings back to v2025.3.2
- [ ] 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

---------

Co-authored-by: Devolian <[email protected]>
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.

Standardize confirmation dialogs

2 participants