-
Notifications
You must be signed in to change notification settings - Fork 5
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
Branch UI change #101
Branch UI change #101
Conversation
Change position of tag to align to the right side of the person card. Added color background for tag ui If there is no tag assign to the person, no tag ui will be displayed
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## ui-beautification #101 +/- ##
=======================================================
- Coverage 76.44% 75.68% -0.77%
Complexity 521 521
=======================================================
Files 82 82
Lines 1690 1707 +17
Branches 169 171 +2
=======================================================
Hits 1292 1292
- Misses 347 364 +17
Partials 51 51 ☔ View full report in Codecov by Sentry. |
TagType tagType = person.getTag().value; | ||
switch (tagType) { | ||
case Professor: | ||
tagColor = Color.HOTPINK; |
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.
Very Hot...
<!-- Spacer for aligning the tag at the right --> | ||
<Region HBox.hgrow="ALWAYS"/> |
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 comment that details the functionality of the following line
TagType tagType = person.getTag().value; | ||
switch (tagType) { | ||
case Professor: | ||
tagColor = Color.HOTPINK; |
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 choice of color!
</Label> | ||
<Label fx:id="nusId" text="\$first" styleClass="cell_big_label" /> | ||
<Label fx:id="name" text="\$first" styleClass="cell_big_label" /> |
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 edge case handling
97093ed
into
AY2324S2-CS2103T-T15-2:ui-beautification
No description provided.