Skip to content

Conversation

@priscilawebdev
Copy link
Member

@priscilawebdev priscilawebdev commented Oct 20, 2021

Everything is feature flagged [organizations:native-stack-trace-v2]

We are currently implementing the new native stack trace design and this PR is only one of many that are to come.

This first implementation brings:

  • The new component traceEventDataSection, which deals with the SortBy, Options and Raw actions

  • The traceEventDataSection component folder contains the SortOptions and DisplayOptions component. The Display Option Dropdown is very similar to what we have in the breadcrumbs and images loaded, so we plan to create a reusable core component in the future.

  • A new Threads interfaced named ThreadsV2 which uses the traceEventDataSection component

ps: Not all checked display options will work now as the stack trace content (frames) needs to be updated. This will be the next PR - #29532

Before:

image

image

After

image

image

@github-actions
Copy link
Contributor

github-actions bot commented Oct 22, 2021

size-limit report

Path Base Size (3aac79f) Current Size Change
src/sentry/static/sentry/dist/entrypoints/app.js 52.74 KB 52.75 KB +0.01% 🔺
src/sentry/static/sentry/dist/entrypoints/sentry.css 70.89 KB 70.89 KB 0%

@priscilawebdev priscilawebdev changed the title ref(threads-interface): Add new version ref(threads-interface): Add Native Stack Trace V2 Oct 22, 2021
@priscilawebdev priscilawebdev changed the base branch from master to ref/restructure-crash-content-files October 22, 2021 13:53
@priscilawebdev priscilawebdev changed the title ref(threads-interface): Add Native Stack Trace V2 ref(threads-interface): Add Native Stack Trace V2 [INGEST-508] Oct 22, 2021
@priscilawebdev priscilawebdev force-pushed the ref/add-threads-interface-new-version branch from af84185 to 3db037e Compare October 22, 2021 14:06
@priscilawebdev priscilawebdev force-pushed the ref/add-threads-interface-new-version branch from 8e1aefc to 934c85a Compare October 22, 2021 14:09
@priscilawebdev priscilawebdev marked this pull request as ready for review October 22, 2021 14:10
@priscilawebdev priscilawebdev requested a review from a team as a code owner October 22, 2021 14:10
Comment on lines +99 to +101
<Button size="small" href={getDownloadHref()}>
{t('Download')}
</Button>
Copy link
Member

Choose a reason for hiding this comment

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

Does everyone have permission to download this or should it be disabled for some roles?

Copy link
Member Author

@priscilawebdev priscilawebdev Oct 25, 2021

Choose a reason for hiding this comment

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

According to the old code, everyone have permission to download the file, but good question! I will raise this question internally too

Copy link
Member Author

Choose a reason for hiding this comment

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

there is another condition though that I will implement in a follow-up

Copy link
Member Author

Choose a reason for hiding this comment

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

Base automatically changed from ref/move-stack-trace-files to master October 25, 2021 14:46
@priscilawebdev priscilawebdev merged commit 395eed6 into master Oct 29, 2021
@priscilawebdev priscilawebdev deleted the ref/add-threads-interface-new-version branch October 29, 2021 08:15
@github-actions github-actions bot locked and limited conversation to collaborators Nov 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants