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

Add View Option for raw/unadjusted trace #153

Merged
merged 4 commits into from
Dec 24, 2017
Merged

Conversation

yurishkuro
Copy link
Member

Fixes #152

Signed-off-by: Yuri Shkuro <ys@uber.com>
@@ -104,7 +104,12 @@ export default function TracePageHeader(props: TracePageHeaderProps) {
<Dropdown.Menu>
<Dropdown.Item>
<a rel="noopener noreferrer" target="_blank" href={`/api/traces/${traceID}`}>
Copy link
Member Author

Choose a reason for hiding this comment

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

@tiffon I don't see this file in #151, it probably needs adjustment with the prefix as well

Copy link
Member

Choose a reason for hiding this comment

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

@yurishkuro Yes, this needs the prefixUrl(...).

Also, is the trailing / in the raw version URL intentional?

/api/traces/${traceID}/?raw=true

Seems like the only difference should be the query string is appended?

/api/traces/${traceID}?raw=true

@codecov
Copy link

codecov bot commented Dec 23, 2017

Codecov Report

Merging #153 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #153   +/-   ##
=======================================
  Coverage   92.66%   92.66%           
=======================================
  Files          85       85           
  Lines        1881     1881           
  Branches      366      366           
=======================================
  Hits         1743     1743           
  Misses        126      126           
  Partials       12       12
Impacted Files Coverage Δ
src/components/TracePage/TracePageHeader.js 92.85% <ø> (ø) ⬆️
src/components/SearchTracePage/TraceSearchForm.js 86.51% <100%> (ø) ⬆️

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 8d673fa...fa904d1. Read the comment docs.

@black-adder
Copy link
Contributor

add this to the change log so it can go out with 1.1?

Copy link
Member

@tiffon tiffon left a comment

Choose a reason for hiding this comment

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

Requesting change of raw URL to not the trailing slash .../${traceID}/ or confirmation that it is intentional.

Yuri Shkuro and others added 3 commits December 23, 2017 19:15
Signed-off-by: Yuri Shkuro <ys@uber.com>
Signed-off-by: Joe Farro <joef@uber.com>
Signed-off-by: Joe Farro <joef@uber.com>
@tiffon
Copy link
Member

tiffon commented Dec 24, 2017

@yurishkuro The prefixUrl(...) needs to be in master in the event of package.json#homepage is changed; it's not just relevant to the query-config PR (#151).

I went ahead and added it (and fixed a failing unit test).

@tiffon tiffon merged commit 0e00d93 into master Dec 24, 2017
@yurishkuro yurishkuro deleted the fix-152-trace-json-raw branch January 29, 2020 15:04
vvvprabhakar pushed a commit to vvvprabhakar/jaeger-ui that referenced this pull request Jul 5, 2021
* Add View Option for raw/unadjusted trace

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

* Remove /

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

* Add missing prefixUrl adjustment

Signed-off-by: Joe Farro <joef@uber.com>

* Fix failing unit test

Signed-off-by: Joe Farro <joef@uber.com>

Signed-off-by: vvvprabhakar <vvvprabhakar@gmail.com>
yurishkuro pushed a commit that referenced this pull request Nov 14, 2024
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [npm-run-all2](https://redirect.github.com/bcomnes/npm-run-all2) |
[`6.2.2` ->
`7.0.1`](https://renovatebot.com/diffs/npm/npm-run-all2/6.2.2/7.0.1) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/npm-run-all2/7.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/npm-run-all2/7.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/npm-run-all2/6.2.2/7.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/npm-run-all2/6.2.2/7.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>bcomnes/npm-run-all2 (npm-run-all2)</summary>

###
[`v7.0.1`](https://redirect.github.com/bcomnes/npm-run-all2/blob/HEAD/CHANGELOG.md#v701)

[Compare
Source](https://redirect.github.com/bcomnes/npm-run-all2/compare/v7.0.0...v7.0.1)

##### Commits

- Revert engine range bump back to Node 18
[`b2e849b`](https://redirect.github.com/bcomnes/npm-run-all2/commit/b2e849bf8d31135751dd7458724344dd1bca120e)

###
[`v7.0.0`](https://redirect.github.com/bcomnes/npm-run-all2/blob/HEAD/CHANGELOG.md#v700---2024-10-21)

[Compare
Source](https://redirect.github.com/bcomnes/npm-run-all2/compare/v6.2.6...v7.0.0)

##### Merged

- Prevent a throw when looking up undefined results
[`#158`](https://redirect.github.com/bcomnes/npm-run-all2/pull/158)

##### Commits

- **Breaking change:** Bump node engines ^18.17.0 || >=20.5.0
[`49b95f0`](https://redirect.github.com/bcomnes/npm-run-all2/commit/49b95f0c4905504a94d1a7ce87fbb7e77ab60df5)
- Merge pull request
[#&#8203;156](https://redirect.github.com/bcomnes/npm-run-all2/issues/156)
from bcomnes/rm-rf-rimraf
[`c661ffc`](https://redirect.github.com/bcomnes/npm-run-all2/commit/c661ffc942e09a68b1a553190d3a550dc0f6a39c)
- Remove rimraf
[`c77e085`](https://redirect.github.com/bcomnes/npm-run-all2/commit/c77e0856c65115b32788c3e9a1e441ba69fbd430)

###
[`v6.2.6`](https://redirect.github.com/bcomnes/npm-run-all2/blob/HEAD/CHANGELOG.md#v626---2024-10-21)

[Compare
Source](https://redirect.github.com/bcomnes/npm-run-all2/compare/ee3bf122e700102b9ab27b1d172d98856765f4a4...v6.2.6)

##### Commits

- Prevent a throw when looking up undefined results
[`d928f9a`](https://redirect.github.com/bcomnes/npm-run-all2/commit/d928f9ad59c00a20797c90d35b62ef0aecf0c364)

###
[`v6.2.5`](https://redirect.github.com/bcomnes/npm-run-all2/compare/v6.2.4...ee3bf122e700102b9ab27b1d172d98856765f4a4)

[Compare
Source](https://redirect.github.com/bcomnes/npm-run-all2/compare/v6.2.4...ee3bf122e700102b9ab27b1d172d98856765f4a4)

###
[`v6.2.4`](https://redirect.github.com/bcomnes/npm-run-all2/blob/HEAD/CHANGELOG.md#v624)

[Compare
Source](https://redirect.github.com/bcomnes/npm-run-all2/compare/v6.2.3...v6.2.4)

##### Merged

- Switch to JS-based `which` command
[`#154`](https://redirect.github.com/bcomnes/npm-run-all2/pull/154)

##### Fixed

- Switch to JS-based `which` command
[`#153`](https://redirect.github.com/bcomnes/npm-run-all2/issues/153)

###
[`v6.2.3`](https://redirect.github.com/bcomnes/npm-run-all2/blob/HEAD/CHANGELOG.md#v623)

[Compare
Source](https://redirect.github.com/bcomnes/npm-run-all2/compare/v6.2.2...v6.2.3)

##### Commits

- Merge pull request
[#&#8203;151](https://redirect.github.com/bcomnes/npm-run-all2/issues/151)
from bcomnes/fix-pnpm-agian
[`c43fa2b`](https://redirect.github.com/bcomnes/npm-run-all2/commit/c43fa2b677442c710a29654a333b15c8de4f00ab)
- Avoid passing config fields as flags for pnpm
[`dc2d7da`](https://redirect.github.com/bcomnes/npm-run-all2/commit/dc2d7da61cf0898d0bc2b25747e588325e06b9a9)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/jaegertracing/jaeger-ui).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMS41IiwidXBkYXRlZEluVmVyIjoiMzkuMTEuNSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiY2hhbmdlbG9nOmRlcGVuZGVuY2llcyJdfQ==-->

Signed-off-by: Mend Renovate <bot@renovateapp.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.

3 participants