Skip to content
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

Allow customizing trace quality menu title #592

Merged
merged 6 commits into from
Jun 10, 2020

Conversation

yurishkuro
Copy link
Member

And change default title to Trace Quality

Yuri Shkuro added 2 commits June 10, 2020 15:55
Signed-off-by: Yuri Shkuro <ys@uber.com>
Signed-off-by: Yuri Shkuro <ys@uber.com>
@codecov
Copy link

codecov bot commented Jun 10, 2020

Codecov Report

Merging #592 into master will increase coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #592      +/-   ##
==========================================
+ Coverage   93.54%   93.56%   +0.01%     
==========================================
  Files         217      217              
  Lines        5296     5296              
  Branches     1362     1362              
==========================================
+ Hits         4954     4955       +1     
+ Misses        301      300       -1     
  Partials       41       41              
Impacted Files Coverage Δ
packages/jaeger-ui/src/components/App/TopNav.tsx 92.30% <ø> (ø)
...ackages/jaeger-ui/src/constants/default-config.tsx 100.00% <ø> (ø)
...eViewer/TimelineHeaderRow/TimelineViewingLayer.tsx 91.52% <0.00%> (+1.69%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ea53cc2...9e67533. Read the comment docs.

@@ -64,7 +64,7 @@ if (getConfigValue('qualityMetrics.menuEnabled')) {
NAV_LINKS.push({
to: qualityMetrics.getUrl(),
matches: qualityMetrics.matches,
text: 'Quality Metrics',
text: getConfigValue('qualityMetrics.menuLabel') || 'Trace Quality',
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please update the config type definition here
and instead of || 'Trace Quality' please use the default config object

Yuri Shkuro added 4 commits June 10, 2020 16:48
Signed-off-by: Yuri Shkuro <ys@uber.com>
Signed-off-by: Yuri Shkuro <ys@uber.com>
Signed-off-by: Yuri Shkuro <ys@uber.com>
Signed-off-by: Yuri Shkuro <ys@uber.com>
Copy link
Collaborator

@everett980 everett980 left a comment

Choose a reason for hiding this comment

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

LGTM

@yurishkuro yurishkuro merged commit 09fb23f into master Jun 10, 2020
@yurishkuro yurishkuro deleted the customize-trarce-quality-menu-title branch June 10, 2020 21:47
vvvprabhakar pushed a commit to vvvprabhakar/jaeger-ui that referenced this pull request Jul 5, 2021
* Allow customizing Quality Metrics menu title

Signed-off-by: Yuri Shkuro <ys@uber.com>

* Change default title

Signed-off-by: Yuri Shkuro <ys@uber.com>

* Move defaults

Signed-off-by: Yuri Shkuro <ys@uber.com>

* prettier

Signed-off-by: Yuri Shkuro <ys@uber.com>

* comment

Signed-off-by: Yuri Shkuro <ys@uber.com>

* default

Signed-off-by: Yuri Shkuro <ys@uber.com>
Signed-off-by: vvvprabhakar <vvvprabhakar@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants