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

Integration/component rendering #584

Draft
wants to merge 31 commits into
base: next
Choose a base branch
from

Conversation

AnastasiiaSvietlova
Copy link

Goal

Design

Changeset

Testing

AnastasiiaSvietlova and others added 30 commits November 29, 2024 14:47
ensure setAppState is available for both external and internal plugins
ensure setAppState is available for both external and internal plugins
* update current state in page load and navigation

* fix lint errors

* fix lint

* update setAppState in plugins

* fix lint

* fixed plugins type in core

* fix tests

* fix lint

* fix lint

* update tests

* fix tests

* fix tests

* add setAppState to react-navigation-native-plugin

* fix imports from core-performance

* fix tests

* fix lint

* fix: 🐛 use setAppState from configure method instead of the constructor

* chore: 🏷️ use shared SetAppState type to keep code DRY

* test: ✅ use SetAppState definition from core

* style: 🚨 remove unused AppState type

---------

Co-authored-by: Ben Wilson <[email protected]>
Copy link

Browser bundle size

NPM build

Package
Before 212.60 kB
After 214.21 kB
± +1,613 bytes ⚠️

CDN build

Unminified Minfied Minified + gzipped
Before 107.98 kB 40.93 kB 12.00 kB
After 108.60 kB 41.17 kB 12.08 kB
± +617 bytes ⚠️ +238 bytes ⚠️ +78 bytes ⚠️

Code coverage

Ok File (✨=New File) Lines Branches Functions Statements
/home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/core/lib/core.ts 100%
(+0%)
94.44%
(+0%)
93.75%
(+0.9%)
98.52%
(+0.09%)
🔴 /home/runner/work/bugsnag-js-performance/bugsnag-js-performance/packages/platforms/browser/lib/auto-instrumentation/route-change-plugin.ts 89.47%
(+0.59%)
75%
(+0%)
53.84%
(+0%)
89.83%
(+0.55%)

Total:

Lines Branches Functions Statements
89.67%(-0.3%) 77.58%(-0.71%) 85.84%(+0.05%) 88.45%(-0.41%)

Generated against b1e78ee on 24 February 2025 at 17:53:01 UTC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants