Skip to content

Improve logging of add-ons pending install forcing a restart#15892

Merged
seanbudd merged 3 commits into
masterfrom
log-15719
Dec 12, 2023
Merged

Improve logging of add-ons pending install forcing a restart#15892
seanbudd merged 3 commits into
masterfrom
log-15719

Conversation

@seanbudd

@seanbudd seanbudd commented Dec 8, 2023

Copy link
Copy Markdown
Member

Link to issue number:

Relates to #15719

Summary of the issue:

When triaging #15719, important information from the log is missing.
The reporter is stuck with a pending restart dialog appearing every time they close the add-on store.
For reasons other than a pending install, the first add-on found to be modified is logged.
For pending installs, all add-ons pending an install should be logged.

Description of user facing changes

None

Description of development approach

Log all add-ons pending install when triggering the restart dialog

Testing strategy:

Tested by installing an external add-on and an add-on from the store, ensure these both are logged.

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 8, 2023 04:33
@AppVeyorBot

Copy link
Copy Markdown

See test results for failed build of commit 6d04ccf4e6

Comment thread source/gui/addonStoreGui/controls/storeDialog.py Outdated
@seanbudd seanbudd added this to the 2024.1 milestone Dec 11, 2023

@lukaszgo1 lukaszgo1 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM!

@seanbudd seanbudd merged commit bf32c3e into master Dec 12, 2023
@seanbudd seanbudd deleted the log-15719 branch December 12, 2023 01:40
Adriani90 pushed a commit to Adriani90/nvda that referenced this pull request Mar 13, 2024
…s#15892)

Relates to nvaccess#15719

Summary of the issue:
When triaging nvaccess#15719, important information from the log is missing.
The reporter is stuck with a pending restart dialog appearing every time they close the add-on store.
For reasons other than a pending install, the first add-on found to be modified is logged.
For pending installs, all add-ons pending an install should be logged.

Description of user facing changes
None

Description of development approach
Log all add-ons pending install when triggering the restart dialog
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.

3 participants