Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

Jwen/redesign profile add ranking #273

Merged
merged 23 commits into from
May 10, 2022
Merged

Conversation

jiabaow
Copy link
Collaborator

@jiabaow jiabaow commented May 9, 2022

Screen Shot 2022-05-09 at 20 46 23

@jiabaow jiabaow self-assigned this May 9, 2022
@codeclimate
Copy link

codeclimate bot commented May 9, 2022

Code Climate has analyzed commit f04bca4 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (80% is the threshold).

This pull request will bring the total coverage in the repository to 82.3% (0.0% change).

View more on Code Climate.

@jiabaow jiabaow marked this pull request as ready for review May 9, 2022 18:45
@jiabaow jiabaow linked an issue May 9, 2022 that may be closed by this pull request
@MaximeZmt MaximeZmt self-requested a review May 9, 2022 18:53

@Test
fun clickBackToMain(){
val inputProfile = User("Lalisa Bon","bit.ly/3IUnyAF", "[email protected]", 12, 8)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a test class so shouldn't be an issue, but would it be possible to put links in strings.xml? It would help others with understanding where that link leads to

"BTS" to 4,
"Imagine Dragons" to 5,
"Billie Eilish" to 6)
val inputProfile = User("Lalisa Bon","bit.ly/3IUnyAF", "[email protected]",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same thing with the link here. It seems to be the same one as the previous comment

@@ -95,7 +93,7 @@ class ProfileActivityTest {

@Test
fun checkProfileData() {
val inputProfile = User("Lalisa Bon","bit.ly/3IUnyAF", "[email protected]", 12, 8, 29, 0)
val inputProfile = User("Lalisa Bon","bit.ly/3IUnyAF", "[email protected]", 12, 8)
Copy link
Collaborator

@Tsathogguaa Tsathogguaa May 9, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here, basically if possible, all the URLS lol

Copy link
Collaborator

@Tsathogguaa Tsathogguaa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good code! As mentioned in some comments, some of the URLs could possibly be put into strings.xml to avoid future confusion as to what those URLs are. If this is not doable, then maybe declaring it as a variable at the top with a small explanatory comment of what the URL is could be useful. If you could do it or if someone else is willing to pick it up, I'll approve right away!

Copy link
Owner

@MaximeZmt MaximeZmt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice layout !! It is so much better now :)
I just found an issue with it:
When the score is displayed and click on edit username.
the keyboard will pop up and will move the scoreboard container above (probably missing constraints)

see images below

photo_2022-05-09_21-27-03

Copy link
Collaborator

@Tsathogguaa Tsathogguaa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the change! Good code!

@jiabaow jiabaow requested a review from MaximeZmt May 10, 2022 06:33
Copy link
Owner

@MaximeZmt MaximeZmt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice improvement, such a great ui now 👍

@jiabaow jiabaow merged commit e568830 into main May 10, 2022
@jiabaow jiabaow deleted the jwen/redesign-profile-add-ranking branch May 10, 2022 07:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

change statistic display in Profile. (#246)
3 participants