sentry-demos / empower

Monorepo for web app (Empower Plant) and its backend implementations in multiple languages/frameworks used in SE-demos, as well as for testing and sample events across the company. NOTE: used to be called "application-monitoring".
https://application-monitoring-react-dot-sales-engineering-sf.appspot.com/
1 stars 4 forks source link

Access current scope in more proper way #543

Open cstavitsky opened 2 months ago

cstavitsky commented 2 months ago

Retains functionality from https://github.com/sentry-demos/empower/pull/542, but I took a closer look at docs and this is the more 'correct' way to access current scope

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 0% with 32 lines in your changes missing coverage. Please review.

Project coverage is 2.09%. Comparing base (e56a5a1) to head (33a7268). Report is 2 commits behind head on master.

Files Patch % Lines
react/src/index.js 0.00% 27 Missing and 5 partials :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #543 +/- ## ====================================== Coverage 2.09% 2.09% ====================================== Files 37 37 Lines 813 813 Branches 99 99 ====================================== Hits 17 17 Misses 772 772 Partials 24 24 ``` | [Flag](https://app.codecov.io/gh/sentry-demos/empower/pull/543/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sentry-demos) | Coverage Δ | | |---|---|---| | [api](https://app.codecov.io/gh/sentry-demos/empower/pull/543/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sentry-demos) | `4.83% <ø> (ø)` | | | [frontend](https://app.codecov.io/gh/sentry-demos/empower/pull/543/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sentry-demos) | `0.20% <0.00%> (ø)` | | | [Files](https://app.codecov.io/gh/sentry-demos/empower/pull/543?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sentry-demos) | Coverage Δ | | |---|---|---| | [react/src/index.js](https://app.codecov.io/gh/sentry-demos/empower/pull/543?src=pr&el=tree&filepath=react%2Fsrc%2Findex.js&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sentry-demos#diff-cmVhY3Qvc3JjL2luZGV4Lmpz) | `0.00% <0.00%> (ø)` | | | [Components](https://app.codecov.io/gh/sentry-demos/empower/pull/543/components?src=pr&el=components&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sentry-demos) | Coverage Δ | | |---|---|---| | [checkout_module](https://app.codecov.io/gh/sentry-demos/empower/pull/543/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sentry-demos) | `4.83% <ø> (ø)` | | | [product_component](https://app.codecov.io/gh/sentry-demos/empower/pull/543/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sentry-demos) | `0.35% <ø> (ø)` | |