Skip to content

feat(starfish): Change how span samples are accessed - #54738

Merged
AbhiPrasad merged 1 commit into
masterfrom
abhi-span-summary-change
Aug 15, 2023
Merged

feat(starfish): Change how span samples are accessed#54738
AbhiPrasad merged 1 commit into
masterfrom
abhi-span-summary-change

Conversation

@AbhiPrasad

@AbhiPrasad AbhiPrasad commented Aug 14, 2023

Copy link
Copy Markdown
Contributor

As per our newest set of requirements, update the span summary view table to now have the transaction name link to the span sample popout.

There is no longer anything linked to the average duration marker.

My only question is the usage of pageFilter hook to get project - should I query for the project instead given we are going to support querying multiple projects?

In the next PR I'm going to take a look at revamping the span sample chart based on design review given we want to change the triangles again.

image

@AbhiPrasad
AbhiPrasad requested a review from a team August 14, 2023 23:34
@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Aug 14, 2023

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I made the label a link

image

I can also add a button if that makes more sense here

@AbhiPrasad
AbhiPrasad requested a review from gggritso August 15, 2023 14:41

@gggritso gggritso left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, thanks! As for pageFilter I think using it is fine since the span summary page is for a given project. That's a loose constraint though, so fetching the project.id from the backend would be safer if you want to do that

@AbhiPrasad

Copy link
Copy Markdown
Contributor Author

That's a loose constraint though, so fetching the project.id from the backend would be safer if you want to do that

Going to do this in a follow up PR, and add the project icon while I'm at it

@AbhiPrasad
AbhiPrasad force-pushed the abhi-span-summary-change branch from 57d3e5e to cbe1108 Compare August 15, 2023 15:09
@AbhiPrasad
AbhiPrasad enabled auto-merge (squash) August 15, 2023 15:14
@AbhiPrasad
AbhiPrasad merged commit d2879f3 into master Aug 15, 2023
@AbhiPrasad
AbhiPrasad deleted the abhi-span-summary-change branch August 15, 2023 15:37
AbhiPrasad added a commit that referenced this pull request Aug 16, 2023
In #54738 we made some updates
to the span sample drawer. This PR builds on top of it, specifically re:
passing down projects.

The PR removes the usage of pagefilters in favour of injected project id
props and then adds a project avatar on the span sample page.
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 31, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants