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

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

SaschaCowley
Copy link
Member

@SaschaCowley SaschaCowley commented Dec 12, 2024

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
source/versionInfo.py Outdated Show resolved Hide resolved
@seanbudd
Copy link
Member

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

@SaschaCowley
Copy link
Member Author

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

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