-
Notifications
You must be signed in to change notification settings - Fork 35
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
Implement API Rating field and widget #519
Comments
Co-pilot: @elnzv |
Related design file - https://github.com/apinf/docs/blob/master/docs/design/%23471_rating_field_widget.png |
Somehow add the amount of ratings to option one. Could it be number in parenthesis after the stars? This is vital since its different level of credibility if there is just two ratings or 200 ratings. |
This current feature development branch is focused on the basic, single-user rating widget. I have created a follow up design task to show the aggregate ratings (including number of ratings and average result). |
Ah, ok. |
I am able to get the individual rating in a column of the API Catalog. Also, users who are anonymous or who have not rated the API Backend will see an average of existing ratings. There is an open bug report/feature request for search/sort within collection helper columns on the upstream package. One problem I am getting is that we can not sort by the rating column, so users may not be able to 'show highest rated' by clicking the column title. |
I have gone with a four star max rating, as opposed to five. This is to encourage users to lean one way or the other, rather than going with a three star rating. |
I am not sure how to show both the aggregate rating and individual rating in the same table cell, but could create an additional column for 'average rating' or similar. This may not be the best in terms of space usage, but would differentiate the user rating from the aggregate. |
I am implementing the rating widget in a similar fashion to Netflix movie rating functionality. When a user has not rated an API backnd, they are shown the aggregate rating, e.g. red stars. When the user has rated an API backend, they are shown their individual rating, e.g. in yellow stars to differentiate. |
@brylie I like the approach on separating the user ratings and aggregated ratings with different color. |
PR Open: #572 |
+1 for the idea |
See also Kin Lane's thoughts on this https://www.linkedin.com/pulse/how-we-going-create-standard-poors-moodys-api-economy-kin-lane |
A lot of the ideas in that article seem also related to our API Metadata entry form task (#472). E.g. we can build an 'API Metadata' form that conforms to existing standards (including possibly Swagger specification), and provides fields such as outlined in the previous article. |
Feature
Create a rating feature for API Backends. Users can select a rating, and aggregate ratings are displayed on the API Backend page and API Backends catalog.
Design
Resources
Related
Related to #471
The text was updated successfully, but these errors were encountered: