-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
feat(new-trace): Implementing new header designs #88577
Conversation
❌ 4 Tests Failed:
View the top 3 failed test(s) by shortest run time
To view more test analytics, go to the Test Analytics Dashboard |
static/app/components/events/highlights/highlightsIconSummary.tsx
Outdated
Show resolved
Hide resolved
static/app/views/performance/newTraceDetails/traceHeader/breadcrumbs.tsx
Outdated
Show resolved
Hide resolved
static/app/views/performance/newTraceDetails/traceHeader/highlights.tsx
Outdated
Show resolved
Hide resolved
static/app/views/performance/newTraceDetails/traceHeader/highlights.tsx
Outdated
Show resolved
Hide resolved
static/app/views/performance/newTraceDetails/traceHeader/placeholder.tsx
Outdated
Show resolved
Hide resolved
static/app/views/performance/newTraceDetails/traceHeader/index.tsx
Outdated
Show resolved
Hide resolved
const representativeEvent = getRepresentativeEvent(props.tree, props.logs); | ||
const project = representativeEvent | ||
? projects.find(p => { | ||
if (OurLogKnownFieldKey.PROJECT_ID in representativeEvent) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: I think it makes sense to move this if
condition outside of the find
loop. Technically, it's running this check on each find
iteration, when you actually only need to do it once.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree, i pushed the change
static/app/views/performance/newTraceDetails/traceHeader/meta.tsx
Outdated
Show resolved
Hide resolved
static/app/views/performance/newTraceDetails/traceHeader/projects.tsx
Outdated
Show resolved
Hide resolved
This PR implements the following designs: <img width="945" alt="Screenshot 2025-04-03 at 11 10 21 AM" src="https://github.com/user-attachments/assets/ad761445-c2da-4cd4-b82e-3b4bda43bbe9" /> The `index.tsx` file was getting disorganized, split/added the components to this structure: <img width="461" alt="Screenshot 2025-04-03 at 11 23 26 AM" src="https://github.com/user-attachments/assets/28ccb786-0555-43ae-a55d-e931b279a4fc" /> --------- Co-authored-by: Abdullah Khan <[email protected]>
This PR implements the following designs:

The

index.tsx
file was getting disorganized, split/added the components to this structure: