Skip to content

Add-on store: display author and add-on id in details#15160

Merged
seanbudd merged 2 commits into
masterfrom
addAddonIdAuthor
Jul 23, 2023
Merged

Add-on store: display author and add-on id in details#15160
seanbudd merged 2 commits into
masterfrom
addAddonIdAuthor

Conversation

@seanbudd

@seanbudd seanbudd commented Jul 18, 2023

Copy link
Copy Markdown
Member

Link to issue number:

Raised in #14912 (comment)

Summary of the issue:

A user may wish to discover the internal ID of an add-on.
For an add-on installed from the datastore, both publisher and author fields can be displayed.

Description of user facing changes

Display the add-on ID in the details panel.
Show the "author" field for add-ons installed from the datastore.

Description of development approach

Testing strategy:

Tested viewing the details of internally and externally installed add-ons.

Known issues with pull request:

None

Change log entries:

N/A

Code Review Checklist:

  • Pull Request description:
    • description is up to date
    • change log entries
  • Testing:
    • Unit tests
    • System (end to end) tests
    • Manual testing
  • API is compatible with existing add-ons.
  • Documentation:
    • User Documentation
    • Developer / Technical Documentation
    • Context sensitive help for GUI changes
  • UX of all users considered:
    • Speech
    • Braille
    • Low Vision
    • Different web browsers
    • Localization in other languages / culture than English
  • Security precautions taken.

@seanbudd seanbudd requested a review from a team as a code owner July 18, 2023 01:50
@seanbudd seanbudd requested a review from michaelDCurran July 18, 2023 01:50
Comment thread source/gui/_addonStoreGui/controls/details.py Outdated
@seanbudd seanbudd requested a review from a team as a code owner July 21, 2023 02:22
@seanbudd seanbudd requested a review from Qchristensen July 21, 2023 02:22
model = detailsVM.model
inPublisher = isinstance(model, _AddonStoreModel) and term in model.publisher.casefold()
inAuthor = isinstance(model, _InstalledAddonModel) and term in model.author.casefold()
return (

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.

Could we also search for IDs since it is now a displayed information (and was already an information sometimes seen by user e.g. in the uninstall dialog boxes)?

Since the ID is often similar to the add-on's name in English, it may be especially useful for non-English speakers used though to know also English names of the add-ons.

Or maybe even better: for non-English users to be able to filter either on English add-on's name or non-English add-on's name. E.g. be able to filter on "Mise à Jour des Extensions" as well as on "Add-on Updater". If this is your choice, I will open a separate issue since it's beyond the scope of this PR.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Searching via add-on ID has already been added just below in line 309

@seanbudd seanbudd merged commit 1ffad7d into master Jul 23, 2023
@seanbudd seanbudd deleted the addAddonIdAuthor branch July 23, 2023 23:15
@nvaccessAuto nvaccessAuto added this to the 2023.2 milestone Jul 23, 2023
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