Skip to content

Allow update all add-ons button to be pressed only once#17713

Merged
SaschaCowley merged 1 commit into
masterfrom
fixUpdateSpam
Feb 21, 2025
Merged

Allow update all add-ons button to be pressed only once#17713
SaschaCowley merged 1 commit into
masterfrom
fixUpdateSpam

Conversation

@seanbudd

@seanbudd seanbudd commented Feb 20, 2025

Copy link
Copy Markdown
Member

Link to issue number:

Fixes #17110

Summary of the issue:

Ever since #16636, users have been able to press the "update all" button to execute downloading and installing all the add-ons multiple times.
This is because the update all button is disabled after the add-ons have finished downloading, not immediately after it is clicked, preventing subsequent activations.

Description of user facing changes

Users are unable to press update all button multiple times until add-ons finish downloading.

Description of development approach

Disable update all button immediately after first activation.

Testing strategy:

Manual testing by simulating slow internet updating multiple add-ons

Known issues with pull request:

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

@seanbudd seanbudd requested a review from a team as a code owner February 20, 2025 04:26
@SaschaCowley SaschaCowley merged commit 30ce88b into master Feb 21, 2025
@SaschaCowley SaschaCowley deleted the fixUpdateSpam branch February 21, 2025 02:52
@github-actions github-actions Bot added this to the 2025.1 milestone Feb 21, 2025
gexgd0419 pushed a commit to gexgd0419/nvda that referenced this pull request Feb 22, 2025
Fixes nvaccess#17110

Summary of the issue:
Ever since nvaccess#16636, users have been able to press the "update all" button to execute downloading and installing all the add-ons multiple times. This is because the update all button is disabled after the add-ons have finished downloading, not immediately after it is clicked, preventing subsequent activations.

Description of user facing changes
Users are unable to press update all button multiple times until add-ons finish downloading.

Description of development approach
Disable update all button immediately after first activation.

Testing strategy:
Manual testing by simulating slow internet updating multiple 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.

Add-on store: when you click the update all button several times, one add-on downloads many times

2 participants