Skip to content

Fix logic error making it impossible to uninstall multiple add-ons#15966

Merged
seanbudd merged 1 commit into
nvaccess:betafrom
lukaszgo1:uninstallMultiple
Dec 26, 2023
Merged

Fix logic error making it impossible to uninstall multiple add-ons#15966
seanbudd merged 1 commit into
nvaccess:betafrom
lukaszgo1:uninstallMultiple

Conversation

@lukaszgo1

Copy link
Copy Markdown
Contributor

This should go into beta, as it fixes a bug introduced in 2024.1 development cycle. For the same reason I do not include a change log entry,as it is unnecessary. cc @CyrilleB79

Link to issue number:

None

Summary of the issue:

When trying to uninstall multiple add-ons nothing was happening, and according to the log none of the selected add-ons was relevant for remove action.

Description of user facing changes

It is now possible to uninstall multiple add-ons in the Add-ons Store.

Description of development approach

The condition which was checking if the given add-on can be removed is inverted, so that the removal is possible when add-on can indeed be removed.

Testing strategy:

Selected two add-ons in the store, executed 'remove' from the context menu, made sure the removal process works.

Known issues with pull request:

None known

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.

@lukaszgo1 lukaszgo1 requested a review from a team as a code owner December 26, 2023 17:39
@lukaszgo1 lukaszgo1 requested review from seanbudd and removed request for a team December 26, 2023 17:39

@seanbudd seanbudd left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @lukaszgo1

@seanbudd seanbudd merged commit 3c44b1c into nvaccess:beta Dec 26, 2023
@nvaccessAuto nvaccessAuto added this to the 2024.2 milestone Dec 26, 2023
@seanbudd seanbudd modified the milestones: 2024.2, 2024.1 Dec 26, 2023
@CyrilleB79

Copy link
Copy Markdown
Contributor

Thanks @lukaszgo1 for fixing this error introduced by my PR.

I am quite sure to have tested this scenario, but probably not re-tested after doing some changes while reviewing the PR.

@lukaszgo1 lukaszgo1 deleted the uninstallMultiple branch December 27, 2023 11:07
Adriani90 pushed a commit to Adriani90/nvda that referenced this pull request Mar 13, 2024
…vaccess#15966)

Summary of the issue:
When trying to uninstall multiple add-ons nothing was happening, and according to the log none of the selected add-ons was relevant for remove action.

Description of user facing changes
It is now possible to uninstall multiple add-ons in the Add-ons Store.

Description of development approach
The condition which was checking if the given add-on can be removed is inverted, so that the removal is possible when add-on can indeed be removed
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.

4 participants