-
-
Notifications
You must be signed in to change notification settings - Fork 81
Hide "Show All Reviews" button when all reviews are already shown #781
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
We could use "Reviews and Comments" from #67 (comment) even if we differ from Extensions web, "User Reviews".
Checking HIG, it seems like it this case it should be a pill styled button since reviews section is not a boxed list but a grid with card style childs, although in small window sizes like the one you've shared, it could look better that a pill button. See also https://developer.gnome.org/hig/patterns/controls/buttons.html#button-styles. I'll test and get back to you with screenshots. |
|
I agree. The pill shaped button is probably the best solution for both desktop/mobile, if you want to change it. The updated strings look good to me. |
We retrieve comments in the details view and the comment dialog using different queries. Therefore, we must display the button in extensions that have exactly five reviews/comments, as we do not know the total count until we query all comments when the dialog is opened. Also rewords strings containing comment or review to use both terms as they are both possible and adds pill style to the button. Close #781
We retrieve reviews/comments in the details view and the comment dialog using different queries. Because we do not know the total count until querying all of them in the dialog, we have to display the button for extensions with exactly five or more reviews/comments, rather than strictly more than five. Also rewords strings containing comment or review to use both terms as they are both possible and adds pill style to the button. Close #781
When an extension has less than six reviews there is no need to show them in the seperate comments dialog. Therefore it would make sense to hide the button to display the dialog.
(Version 0.6.1 on Fedora 41)
Also the naming is inconsistent. In some areas it's "Reviews" but in others "Comments".
(I don't know if it makes sense in the reviews section but maybe a Button Row or "Pill" style class could be used.)
The text was updated successfully, but these errors were encountered: