-
Notifications
You must be signed in to change notification settings - Fork 22
NETOBSERV-2417: Display Loki labels in bold in filters dropdown #1133
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
base: main
Are you sure you want to change the base?
Conversation
- Add lokiLabels to frontend config - Populate lokiLabels from Loki config
|
@OlivierCazade: This pull request references NETOBSERV-2417 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.21.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
b3c5246 to
3f2ca4b
Compare
|
New image: It will expire after two weeks. To deploy this build, run from the operator repo, assuming the operator is running: USER=netobserv VERSION=884e9bf make set-plugin-image |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1133 +/- ##
==========================================
+ Coverage 53.60% 53.65% +0.05%
==========================================
Files 205 205
Lines 10513 10526 +13
Branches 1301 1303 +2
==========================================
+ Hits 5635 5648 +13
- Misses 4362 4363 +1
+ Partials 516 515 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
| key={index} | ||
| > | ||
| {f.name} | ||
| {isLokiLabel(f, config) ? <strong>{f.name}</strong> : f.name} |
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.
Do we need a tooltip somewhere to explain what bold text means here ?
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.
What kind of tooltip do you have in mind ? Do you have an example ?
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.
☝️ directly on the dropdown could work but be carefull as we already have one on the inputgroup
We also have some mentions in other places we could improve:
https://github.com/search?q=repo%3Anetobserv%2Fnetwork-observability-console-plugin+%22indexed+fields%22&type=code
filters (which use indexed fields) -> filters (in bold which use indexed fields)
|
/ok-to-test |
|
New image: It will expire after two weeks. To deploy this build, run from the operator repo, assuming the operator is running: USER=netobserv VERSION=f508365 make set-plugin-image |
|
@OlivierCazade I dont see any filters in bold🤔 The loki filters here in this dropdown should be bold right? |
|
@Amoghrd if you first load the main console plugin you probably need to clean cache and reload.
|
|
Yeah, I think had not refreshed when I took previously.
|
|
+1 for a short explanation text somewhere, e.g. something like: @Amoghrd I'm not sure to understand your comment on the dark mode; I haven't tested myself, but based on your screenshot, bold text appears on dark mode as well? |
|
My comment was that in dark mode bold is not apparent as in light mode. So an explanation is must. Italics might help to stand out in dark mode too is what I was suggesting😅 |
3f2ca4b to
1fe3b65
Compare
|
New changes are detected. LGTM label has been removed. |
|
PR needs rebase. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
@OlivierCazade: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |




Description
Display Loki labels in bold in filters dropdown
Dependencies
n/a
Checklist
If you are not familiar with our processes or don't know what to answer in the list below, let us know in a comment: the maintainers will take care of that.