Fix only show add-on incompatibility warning to only show when updating to an incompatible API #17506
+2
−2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Link to issue number:
Closes #17490
Fix up of #17370
Summary of the issue:
NVDA still presents the add-on incompatibility message in some situations when updating to a backwards-compatible add-on API with incompatible add-ons installed.
Description of user facing changes
The add-on incompatibility message should no-longer be presented when updating to a backwards-compatible add-on API.
Description of development approach
Updated the logic in
UpdateAskInstallDialog
to match the new logic inUpdateResultDialog
, so they both only present the warning when updating to a backwards-incompatible API and incompatible add-ons are installed.Testing strategy:
Tested from source while spoofing to allow update checks, with version (and addon backcompat) set to 2025.1 and 2024.1 (to simulate both situations).
Known issues with pull request:
None.
Code Review Checklist:
@coderabbitai summary