-
Notifications
You must be signed in to change notification settings - Fork 117
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
Ratings intergration #1371
Ratings intergration #1371
Conversation
c4e2116
to
19337bb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we also get that lib/ratings.dart we talked about and import '/ratings.dart'
instead?
Hope the comments aren't too blunt - great work overall, thanks a lot!
Removed the ratingsListModelProvider, opting to use ratingsModelProvider instead and nesting the calls deeper in the widget tree
baeb57e
to
dd14cbc
Compare
dd14cbc
to
1889537
Compare
Not quite sure what to make of CI failures:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cleaned up imports and regenerated mocks. Also removed the loading spinner from the card, we can check back later with Ana to see if it's necessary, but I think it doesn't look great :)
LGTM 👍
* feat: get ratings from new ratings service * test: fix all failing tests * test: ratings tests on details_page * refactor: removing ratingsListModelProvider Removed the ratingsListModelProvider, opting to use ratingsModelProvider instead and nesting the calls deeper in the widget tree. * style: formatting and small code tweaks * fix: relative imports * feat: remove loading spinner from snap card * chore: update mocks --------- Co-authored-by: Dennis Loose <[email protected]>
* feat: get ratings from new ratings service * test: fix all failing tests * test: ratings tests on details_page * refactor: removing ratingsListModelProvider Removed the ratingsListModelProvider, opting to use ratingsModelProvider instead and nesting the calls deeper in the widget tree. * style: formatting and small code tweaks * fix: relative imports * feat: remove loading spinner from snap card * chore: update mocks --------- Co-authored-by: Dennis Loose <[email protected]>
* feat: get ratings from new ratings service * test: fix all failing tests * test: ratings tests on details_page * refactor: removing ratingsListModelProvider Removed the ratingsListModelProvider, opting to use ratingsModelProvider instead and nesting the calls deeper in the widget tree. * style: formatting and small code tweaks * fix: relative imports * feat: remove loading spinner from snap card * chore: update mocks --------- Co-authored-by: Dennis Loose <[email protected]>
Creating as a draft until I finish updating the tests, but probably best to start getting eyes on this now
ratingsModelProvider
for getting rating of snap in the details_page.ratingsService
that wraps the ratings client that can be found here