Skip to content

[APM] Add section titles to span detail modal - #20717

Merged
formgeist merged 8 commits into
elastic:masterfrom
formgeist:apm-span-details-add-titles
Jul 13, 2018
Merged

formgeist merged 8 commits into
elastic:masterfrom
formgeist:apm-span-details-add-titles

Conversation

@formgeist

@formgeist formgeist commented Jul 12, 2018 •

Copy link
Copy Markdown
Contributor

Fixes #18184

Adding titles for DB statement and stacktrace on the Span details modal.

screen shot 2018-07-12 at 14 17 31

@formgeist formgeist added v7.0.0 Team:APM - DEPRECATED Use Team:obs-ux-infra_services. enhancement New value added to drive a business result labels Jul 12, 2018
@formgeist formgeist self-assigned this Jul 12, 2018
@formgeist
formgeist requested a review from sorenlouv July 12, 2018 12:18
@elasticmachine

Copy link
Copy Markdown
Contributor

Pinging @elastic/apm-ui

font-size: ${fontSize};
color: ${colors.gray1};
`;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Beautiful!
We already have a couple of headers. Maybe we could go over them at some point.

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.

@sqren Made sense to re-use those, although added a new smaller size to match the other style I created.

export const HeaderXSmall = styled.h4`
margin: ${px(units.plus)} 0;
font-size: ${fontSize};
${props => props.css};

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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.

Uhhh, that's very nice 👍

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

yeah, it let's us have some standard headers, that can still be modified locally.

@sorenlouv sorenlouv left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🎉

@elasticmachine

Copy link
Copy Markdown
Contributor

💔 Build Failed

@formgeist

Copy link
Copy Markdown
Contributor Author

retest

@elasticmachine

Copy link
Copy Markdown
Contributor

💔 Build Failed

@formgeist

Copy link
Copy Markdown
Contributor Author

@sqren do you think I need to update the tests first?

@sorenlouv

sorenlouv commented Jul 12, 2018 •

Copy link
Copy Markdown
Contributor

Ah, yes. Snapshots will need updating. From x-pack folder run this:

node scripts/jest apm --updateSnapshot

@elasticmachine

Copy link
Copy Markdown
Contributor

💚 Build Succeeded

@formgeist
formgeist merged commit ecefab5 into elastic:master Jul 13, 2018
formgeist added a commit that referenced this pull request Jul 13, 2018
* Adding fontSize from variables

* SectionHeader style added

* Adding section headers

Needed titling for DB statement and Stacktrace on the page

* Pluralization

* Adding fontSize variable

* Creating new header title style

* Moving title into Stacktrace container

* Updated snapshots
@formgeist
formgeist deleted the apm-span-details-add-titles branch July 13, 2018 08:33
patrykkopycinski pushed a commit to patrykkopycinski/kibana that referenced this pull request May 6, 2026
* Adding fontSize from variables

* SectionHeader style added

* Adding section headers

Needed titling for DB statement and Stacktrace on the page

* Pluralization

* Adding fontSize variable

* Creating new header title style

* Moving title into Stacktrace container

* Updated snapshots
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New value added to drive a business result Team:APM - DEPRECATED Use Team:obs-ux-infra_services. v7.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants