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

Abstract access to injected globals #1224

Merged

Conversation

mszabo-wikia
Copy link
Contributor

Which problem is this PR solving?

Short description of the changes

Create a wrapper module for accessing globals injected by the build system. This makes it easier to rename or adjust those later.

@codecov
Copy link

codecov bot commented Feb 28, 2023

Codecov Report

Patch coverage: 90.00% and project coverage change: +0.03 🎉

Comparison is base (9c6546d) 95.44% compared to head (b9067d0) 95.47%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1224      +/-   ##
==========================================
+ Coverage   95.44%   95.47%   +0.03%     
==========================================
  Files         243      244       +1     
  Lines        7570     7578       +8     
  Branches     1898     1898              
==========================================
+ Hits         7225     7235      +10     
+ Misses        345      343       -2     
Impacted Files Coverage Δ
packages/jaeger-ui/src/utils/constants.tsx 66.66% <66.66%> (ø)
packages/jaeger-ui/src/site-prefix.tsx 80.00% <100.00%> (ø)
packages/jaeger-ui/src/utils/configure-store.js 83.33% <100.00%> (ø)
packages/jaeger-ui/src/utils/prefix-url.tsx 100.00% <100.00%> (ø)
packages/jaeger-ui/src/utils/tracking/ga.tsx 95.77% <100.00%> (+0.06%) ⬆️
packages/jaeger-ui/src/utils/tracking/index.tsx 100.00% <100.00%> (ø)
...mponents/TracePage/TraceStatistics/tableValues.tsx 97.93% <0.00%> (+0.68%) ⬆️
...nents/TracePage/TraceTimelineViewer/SpanBarRow.tsx 100.00% <0.00%> (+5.55%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@@ -0,0 +1,35 @@
// Copyright (c) 2023 Uber Technologies, Inc.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
// Copyright (c) 2023 Uber Technologies, Inc.
// Copyright (c) 2023 The Jaeger Authors.

Create a wrapper module for accessing globals injected by the build
system. This makes it easier to rename or adjust those later.

Signed-off-by: Máté Szabó <mszabo@fandom.com>
@mszabo-wikia mszabo-wikia force-pushed the create-config-abstraction branch from dda3b97 to b9067d0 Compare March 1, 2023 00:27
Copy link
Member

@yurishkuro yurishkuro left a comment

Choose a reason for hiding this comment

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

👍

@yurishkuro yurishkuro merged commit 24591c2 into jaegertracing:main Mar 1, 2023
Binrix pushed a commit to Binrix/jaeger-ui that referenced this pull request Apr 18, 2023
## Which problem is this PR solving?
- Split from jaegertracing#1212

## Short description of the changes
Create a wrapper module for accessing globals injected by the build
system. This makes it easier to rename or adjust those later.

Signed-off-by: Máté Szabó <mszabo@fandom.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.

2 participants