-
Notifications
You must be signed in to change notification settings - Fork 149
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
Show label on the app detail and list page #3011
Conversation
/trigger web-test |
@nakabonne: Your requested web-test has been scheduled in response to this comment. |
/trigger web-test |
@nakabonne: Your requested web-test has been scheduled in response to this comment. |
Code coverage for javascript is
|
Updated to show them on the application list page as well. |
Code coverage for javascript is
|
Since we're looking into updating the Environment when adding a label that has |
/hold |
/rebase |
@nakabonne: Rebased this pull request in response to this comment. |
f01c054
to
7a8cce7
Compare
Code coverage for javascript is
|
/hold cancel |
Code coverage for javascript is
|
@@ -217,6 +221,14 @@ export const ApplicationDetail: FC<ApplicationDetailProps> = memo( | |||
{env.name} | |||
</Typography> | |||
)} | |||
{app?.labelsMap.map((label, i) => ( | |||
<Chip | |||
label={label[0] + ":" + label[1]} |
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.
How about adding a space between the value and key as key: value
?
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.
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.
Applied!
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.
Thank you. 👍
Can't wait to see it. Great job! |
pkg/app/web/src/components/applications-page/application-list/index.tsx
Outdated
Show resolved
Hide resolved
Code coverage for javascript is
|
…index.tsx Co-authored-by: Le Van Nghia <nghialv2607@gmail.com>
/lgtm |
/trigger web-test |
@khanhtc1202: Your requested web-test has been scheduled in response to this comment. |
/approve |
Code coverage for javascript is
|
/trigger web-test |
@khanhtc1202: Your requested web-test has been scheduled in response to this comment. |
/changelog |
@nghialv: Changelog has been generated in response to this comment. DetailsChangelog since v0.23.0Notable Changes
Internal Changes
|
What this PR does / why we need it:
With it we can see labels on the application detail page as well as the application list page.
On the detail page:
On the list:
Which issue(s) this PR fixes:
Fixes #3009
Does this PR introduce a user-facing change?: