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

feat(js): adds id for sidebar item #29113

Merged
merged 3 commits into from
Oct 6, 2021
Merged

feat(js): adds id for sidebar item #29113

merged 3 commits into from
Oct 6, 2021

Conversation

scefali
Copy link
Contributor

@scefali scefali commented Oct 6, 2021

It's difficult to write a CSS selector for sidebar items in Pendo because we don't have IDs and class names are auto-generated. This PR adds an id to the sidebar items which should be unique as I am prepending with sidebar-item.

@scefali scefali requested a review from a team October 6, 2021 17:59
@scefali scefali requested a review from a team as a code owner October 6, 2021 17:59
@evanpurkhiser
Copy link
Member

I would change the scope component to just js, growth isn't really a "scope".

https://develop.sentry.dev/code-review/#commit-message-format

@scefali scefali changed the title feat(growth): adds default data-test-id for sidebar item feat(js): adds default data-test-id for sidebar item Oct 6, 2021
@scefali
Copy link
Contributor Author

scefali commented Oct 6, 2021

I would change the scope component to just js, growth isn't really a "scope".

https://develop.sentry.dev/code-review/#commit-message-format

@evanpurkhiser fair, just updated it

Copy link
Member

@scttcper scttcper left a comment

Choose a reason for hiding this comment

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

makes sense to me

edit: why did this comment and not approve

@scefali scefali changed the title feat(js): adds default data-test-id for sidebar item feat(js): adds id for sidebar item Oct 6, 2021
@scefali scefali merged commit acb1889 into master Oct 6, 2021
@scefali scefali deleted the feat/pendo-css-selectors branch October 6, 2021 21:16
@github-actions github-actions bot locked and limited conversation to collaborators Oct 22, 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