Skip to content

Fix only show add-on incompatibility warning to only show when updating to an incompatible API#17506

Merged
SaschaCowley merged 4 commits into
masterfrom
addonIncompatWarning
Dec 12, 2024
Merged

Fix only show add-on incompatibility warning to only show when updating to an incompatible API#17506
SaschaCowley merged 4 commits into
masterfrom
addonIncompatWarning

Conversation

@SaschaCowley

@SaschaCowley SaschaCowley commented Dec 12, 2024

Copy link
Copy Markdown
Member

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 in UpdateResultDialog, 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:

  • Documentation:
    • Change log entry
    • User Documentation
    • Developer / Technical Documentation
    • Context sensitive help for GUI changes
  • Testing:
    • Unit tests
    • System (end to end) tests
    • Manual testing
  • UX of all users considered:
    • Speech
    • Braille
    • Low Vision
    • Different web browsers
    • Localization in other languages / culture than English
  • API is compatible with existing add-ons.
  • Security precautions taken.

@coderabbitai summary

@SaschaCowley SaschaCowley marked this pull request as ready for review December 12, 2024 00:20
@SaschaCowley SaschaCowley requested a review from a team as a code owner December 12, 2024 00:20
Comment thread source/versionInfo.py Outdated
@seanbudd

Copy link
Copy Markdown
Member

Have you tested the case where we should show the warning as well?

@SaschaCowley

Copy link
Copy Markdown
Member Author

@seanbudd I have now, and it works as expected. PR description updated accordingly.

@SaschaCowley SaschaCowley merged commit c3e899a into master Dec 12, 2024
@SaschaCowley SaschaCowley deleted the addonIncompatWarning branch December 12, 2024 22:58
@github-actions github-actions Bot added this to the 2025.1 milestone Dec 12, 2024
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.

NVDA still warns about incompatible add-ons when updating to a compatible version

2 participants