Add-on store sort by new#17091
Conversation
WalkthroughThe changes introduce enhancements to the add-on store, including a new attribute for tracking submission times of add-ons, a sorting configuration option, and a user interface update for displaying publication dates. Additionally, a settings dialog feature allows users to select the order of add-ons displayed, improving customization and usability. Changes
Assessment against linked issues
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
Early access features: enabledWe are currently testing the following features in early access:
Note:
|
|
@coderabbitai review |
|
@coderabbitai, I have changed the issue title addressing your comment. |
|
@nvdaes, thank you for updating the issue title! I appreciate your responsiveness. Actions performedComments resolved. |
|
@coderabbitai, can you suggest how to document manual testing for this? |
|
@nvdaes, to document manual testing for the changes introduced in this PR, you can follow these steps: 1. Verify the New Combo Box in Add-on Store Settings:
2. Test the Sorting Behavior:
3. Verify the Display of Publication Dates:
4. Edge Cases and Error Handling:
5. Documenting the Results:
By following these steps, you can ensure that the new features are thoroughly tested and that the documentation provides a clear record of the manual testing process. Let me know if you need further assistance or if there are specific areas you'd like to focus on! Actions performedComments resolved. |
|
@coderabbitai, I'm a blind person and I'd like to know if the size for the publication date column (50) is wider enough. |
|
Tip For best results, initiate chat on the files or code changes. @nvdaes, it appears that there isn't an explicit width setting for the publication date column in the codebase, or it might be set dynamically. Given this, it's challenging to determine if a width of 50 is sufficient without further context. To ensure that the publication date is fully visible, I recommend considering a slightly wider column, such as 60 or 70, to accommodate different date formats and potential localization variations. This conservative approach should help avoid any truncation of the date information. Let me know if you'd like further assistance or if you have any specific preferences! Analysis chainScripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Search for the implementation of the publication date column in the codebase.
rg --context 5 'publicationDate' | grep -i 'column\|width'
Length of output: 320 Script: #!/bin/bash
# Search for the width or size settings related to the publication date column.
rg --context 5 'width\|size' | grep -i 'publicationDate\|column'
Length of output: 66 |
|
@coderabbitai review |
|
@coderabbitai, do you think that this maybe improved in some way? |
There was a problem hiding this comment.
Actionable comments posted: 0
Outside diff range, codebase verification and nitpick comments (1)
tests/manual/addonStore.md (1)
41-48: Excellent addition of the "Sorting the add-ons list" section!The new section provides clear and concise instructions on how to sort the add-ons list in the add-on store. The mention of the publication date being displayed in the add-on list and details panel is helpful for users to understand how the sorting works. The instructions on manually adding a publication date to an add-on are useful for testing and debugging purposes, and the example JSON snippet is formatted correctly.
Please consider fixing the following grammar issue:
1. Open the store and check that add-ons are sorted according to your chosen option. If an add-on has a publication date, it will be shown in the add-on list and in the details panel. This can be used to check that add-ons have been sorted from recent to older, or from older to recent.Tools
LanguageTool
[grammar] ~44-~44: Did you mean: “according to”? according to: (as stated/in the opinion of)
Context: ...store and check that add-ons are sorted according with your chosen option. If an add-on has a ...(ACCORDING_TO)
|
@coderabbitai, I've fixed the grammar issue. Anything else that I can do? |
|
@nvdaes, thank you for fixing the grammar issue! After reviewing the changes, everything looks good, and I don't see any further issues that need to be addressed. Great job on this PR! 🎉 Actions performedComments resolved. |
@nvdaes - you should be able to solve this problem by creating a custom
|
|
@CyrilleB79 , thanks for your reply. Seems that I have fixed the mentioned issue where the date header wasn't shown, though I don't know if my approach is visually correct. |
Add ability to view new add-ons
Link to issue number:
Fixes #16681
Summary of the issue:
NVDA should have the ability to present new add-ons first.
Description of user facing changes
Description of development approach
Testing strategy:
Tested manually, adding a submissionTime key to the json file of various installed add-ons.
Known issues with pull request:
None
Code Review Checklist:
Summary by CodeRabbit
Summary by CodeRabbit
New Features
Improvements