Skip to content

Only show disable action for installed add-on contexts#15922

Merged
seanbudd merged 3 commits into
betafrom
fix-15919
Dec 14, 2023
Merged

Only show disable action for installed add-on contexts#15922
seanbudd merged 3 commits into
betafrom
fix-15919

Conversation

@seanbudd

@seanbudd seanbudd commented Dec 14, 2023

Copy link
Copy Markdown
Member

Link to issue number:

Fixes #15919

Summary of the issue:

Add-ons which are already disabled have a disabled action available in the add-on store updatable tab.
A similar problem exists for add-ons pending removal.

Description of user facing changes

You can no longer disable or remove add-ons from the updatable add-ons tab.
This is consistent with the enable action (currently disabled from the updatable tab).

Description of development approach

Add filtering to remove updating actions from available statuses for disabling and removing add-ons.

Testing strategy:

Manual testing using STR in #15919
Also tested by removing an add-on, and attempting to re-remove it from the updatable add-ons tab.

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.

@seanbudd seanbudd requested a review from a team as a code owner December 14, 2023 02:50
@seanbudd seanbudd requested review from michaelDCurran and removed request for a team December 14, 2023 02:50
@seanbudd seanbudd added this to the 2024.1 milestone Dec 14, 2023
@seanbudd seanbudd merged commit 4ed9d97 into beta Dec 14, 2023
@seanbudd seanbudd deleted the fix-15919 branch December 14, 2023 22:30
Adriani90 pushed a commit to Adriani90/nvda that referenced this pull request Mar 13, 2024
Fixes nvaccess#15919

Summary of the issue:
Add-ons which are already disabled have a disabled action available in the add-on store updatable tab.
A similar problem exists for add-ons pending removal.

Description of user facing changes
You can no longer disable or remove add-ons from the updatable add-ons tab.
This is consistent with the enable action (currently disabled from the updatable tab).

Description of development approach
Add filtering to remove updating actions from available statuses for disabling and removing add-ons.
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.

2 participants