"reviews" widget not displaying properly
Bug #1301309 reported by
dobey
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unity8 (Ubuntu) |
Fix Released
|
High
|
Andrea Cimitan |
Bug Description
When adding reviews to the preview with the "reviews" widget, the reviews are not properly displayed. The author and review text are missing from display, though they are required attributes in the API. Only the rating stars are shown for the review. Also, the rating stars seem to not always display correctly either, as I added a review with a "rating" of 1, and all 5 stars were filled in the display.
This was tested by adding fake data of { { 3, "author", "This is a review" }, { 1, "author2", "This is another review."} } in the widget.
Related branches
lp://staging/~cimi/unity8/lp1301309
- Albert Astals Cid (community): Approve
- PS Jenkins bot (community): Needs Fixing (continuous-integration)
- Michael Terry: Needs Information
-
Diff: 47 lines (+8/-4)2 files modifiedqml/Dash/Previews/PreviewRatingDisplay.qml (+4/-2)
qml/Dash/Previews/PreviewRatingInput.qml (+4/-2)
Changed in unity8: | |
status: | New → Triaged |
Changed in unity8: | |
status: | Triaged → In Progress |
Changed in unity8: | |
status: | In Progress → Fix Released |
Changed in unity8 (Ubuntu): | |
assignee: | nobody → Andrea Cimitan (cimi) |
importance: | Undecided → High |
no longer affects: | unity8 |
To post a comment you must log in.
FWIW, this is example data against which the widget is tested, we need to verify that's the format we're getting from the scopes.
[ { author: "Some dude", rating: 4.5, review: "Very cool app" },
{ author: "Yet Another dude", rating: 5, review: "Very cool app" }, ]