-
Notifications
You must be signed in to change notification settings - Fork 0
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
Feat/Finalize and improve the aesthetics of the progression UI #234
Conversation
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.
Good PR, the new icon is very good.
I made a little suggestion that you could make, but I approved the PR as it wasn't a big changes so you can merge.
Just a question, do you need to source the icon ?
@@ -170,6 +170,14 @@ fun ProgressScreen( | |||
} | |||
DashboardStateProgression.Training -> { | |||
|
|||
if (currentWorkout?.workoutSessions?.isEmpty() == true) { |
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.
You can put : currentWorkout?.workoutSessions.isNullOrEmpty()
instead of a == true check,
Not really important, resolve if you think its fine like this
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.
I agree that this is better, it is changed thank you!
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.
The changes look good, the medals are much cleaner.
I approved but here's a few suggestions, I'll let you decide if you want to take them into account or not:
eventsJoined = 0, | ||
achievements = emptyList()) | ||
|
||
coEvery { progressionRepository.getOrAddProgression(eq(mockedUser.uid)) } answers |
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.
I see that it has already been done in the file so no need to change, but you should not mix 2 mocking libraries in the same file.
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.
I apologize, I did not know that it was bad to do that. Thank you for letting me know!
Quality Gate passedIssues Measures |
I spend quite some time to generate the current set of medals, as a lot of generated images were really bad. In order to keep the coherence of the medals, I will keep theme like this and try to generate a new set in order to match the color you proposed!
I agree, but as per my last comment, I also did not manage to generate something coherent (and beautiful enough) for the friends icons. If I manage to find better for the friends, I will do another PR but I really think that the medals needed to change quickly because the bronze and the platinum had the same logo. |
Overview
The objective of this short Pull request is to finalize the last details of the progression UI.
Changes
Screenshot