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

Fix: Trace Root transaction name #612

Merged
merged 2 commits into from
Dec 5, 2024
Merged

Fix: Trace Root transaction name #612

merged 2 commits into from
Dec 5, 2024

Conversation

Shubhdeep12
Copy link
Collaborator

Before opening this PR:

  • I added a Changeset Entry with pnpm changeset:add
  • I referenced issues that this PR addresses

#607
image

@Shubhdeep12 Shubhdeep12 requested a review from BYK December 5, 2024 04:17
Copy link

vercel bot commented Dec 5, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
spotlightjs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 5, 2024 4:17am

Copy link

codecov bot commented Dec 5, 2024

Codecov Report

Attention: Patch coverage is 29.78723% with 33 lines in your changes missing coverage. Please review.

Project coverage is 31.32%. Comparing base (7ea060b) to head (be00781).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
packages/overlay/src/ui/Tag/Tag.tsx 29.62% 19 Missing ⚠️
...races/TraceDetails/components/TraceRootTxnName.tsx 30.76% 9 Missing ⚠️
...aces/TraceDetails/components/TraceDetailHeader.tsx 20.00% 4 Missing ⚠️
...ons/sentry/components/explore/traces/TraceList.tsx 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #612      +/-   ##
==========================================
+ Coverage   31.28%   31.32%   +0.04%     
==========================================
  Files          91       92       +1     
  Lines        5396     5421      +25     
  Branches       99       99              
==========================================
+ Hits         1688     1698      +10     
- Misses       3708     3723      +15     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@BYK BYK left a comment

Choose a reason for hiding this comment

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

Thanks!

@@ -9,7 +10,10 @@ export default function TraceDetailHeader({ trace }: TraceDetailHeaderProps) {
return (
<div className="border-b-primary-700 bg-primary-950 flex items-center gap-x-2 border-b px-6 py-4">
<TraceIcon trace={trace} />
<h1 className="max-w-full flex-1 truncate text-2xl">{trace.rootTransactionName}</h1>
<h1 className="flex w-full flex-1 items-center truncate text-2xl">
Trace:&nbsp;&nbsp;
Copy link
Member

Choose a reason for hiding this comment

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

Do we really need the two &nbsp; spaces here? 😅

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yeah just to give some space between tag and "Trace:"

@Shubhdeep12 Shubhdeep12 merged commit 76bc486 into main Dec 5, 2024
16 of 17 checks passed
@Shubhdeep12 Shubhdeep12 deleted the fix/gh-607 branch December 5, 2024 15:43
BYK pushed a commit that referenced this pull request Dec 11, 2024
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and publish to npm
yourself or [setup this action to publish
automatically](https://github.com/changesets/action#with-publishing). If
you're not ready to do a release yet, that's fine, whenever you add more
changesets to main, this PR will be updated.


# Releases
## @spotlightjs/[email protected]

### Minor Changes

- Add Sentry SDK for monitoring
([#620](#620))

### Patch Changes

-   Fix Spotlight UI not using correct sidecar URL w/ non-default port
    ([#618](#618))

- Don't alter body styles at all
([#615](#615))

-   Make in-browser direct Sentry SDK link more graceful at the start
    ([#614](#614))

-   Updated dependencies

\[[`7ea060b832a67cf39676d7fbdbbecb02bb2830e3`](7ea060b),

[`705595349718abb1dea188efc92ab02a4268f323`](7055953),

[`76bc48618812f260b8788b83926fa36fbd9ade35`](76bc486),

[`4716ddeda0e52289b0f9bc9889ffcf957a69d1a8`](4716dde),

[`a77a8698bd892762b149b555058eb345fac2c686`](a77a869),

[`6240009c99fa4699f25325e356b32dc8849e3b92`](6240009)]:
    -   @spotlightjs/[email protected]
    -   @spotlightjs/[email protected]

## @spotlightjs/[email protected]

### Patch Changes

-   Updated dependencies

\[[`455f6966d0602af38fd0835627d11dea03b88362`](455f696),

[`4716ddeda0e52289b0f9bc9889ffcf957a69d1a8`](4716dde),

[`6240009c99fa4699f25325e356b32dc8849e3b92`](6240009),

[`f0bb9a98b4df7ce49c9fd73a093dc7b2005305b9`](f0bb9a9)]:
    -   @spotlightjs/[email protected]

## @spotlightjs/[email protected]

### Patch Changes

-   Updated dependencies

\[[`7ea060b832a67cf39676d7fbdbbecb02bb2830e3`](7ea060b),

[`705595349718abb1dea188efc92ab02a4268f323`](7055953),

[`76bc48618812f260b8788b83926fa36fbd9ade35`](76bc486),

[`4716ddeda0e52289b0f9bc9889ffcf957a69d1a8`](4716dde),

[`a77a8698bd892762b149b555058eb345fac2c686`](a77a869),

[`6240009c99fa4699f25325e356b32dc8849e3b92`](6240009)]:
    -   @spotlightjs/[email protected]
    -   @spotlightjs/[email protected]

## @spotlightjs/[email protected]

### Patch Changes

- Use a maintained version of ReactJsonViewer
([#611](#611))

- - Added a createTab helper function
([#606](#606))

- Added Trace root transaction name in Trace detail header
([#612](#612))

- Don't alter body styles at all
([#615](#615))

-   Make in-browser direct Sentry SDK link more graceful at the start
    ([#614](#614))

## @spotlightjs/[email protected]

### Patch Changes

- Fix sidecar package build, export all from dist with types
([#616](#616))

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.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