-
Notifications
You must be signed in to change notification settings - Fork 48
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
Storybook Addon Fixes #449
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #449 +/- ##
=======================================
Coverage 91.94% 91.94%
=======================================
Files 340 340
Lines 26838 26838
Branches 1946 1946
=======================================
+ Hits 24675 24677 +2
+ Misses 2149 2147 -2
Partials 14 14 ☔ View full report in Codecov by Sentry. |
/canary |
MODULE.bazel
Outdated
# urls = ["https://github.com/player-ui/rules_player/archive/refs/tags/v1.0.1.tar.gz"], | ||
# integrity = "sha256-zIbxx1Bh/X4E8OwbPJz1nY9mOd2uAgmTZyf1Hs2mq+U=" | ||
# ) | ||
git_override( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We'll probably want the rules to be published before this gets merged
return node.type; | ||
} | ||
|
||
function XLRObjectDocs(props: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moving this here would be great. We'll probably need to figure out how we want to go about deprecating the webpack xlr plugin
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there anything that would stop us from just not publishing new versions? It wouldn't work with the updated storybook plugin updates for v7 anyway
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably not, we would just need to make sure we announce it somewhere well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add it to the docs, readme, or repo wiki?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The usage instructions were already updated on the storybook page: https://github.com/player-ui/player/pull/449/files#diff-bb7fbe3850070f90366f286656bbc59ebfb8a8734d46fd8796cd1738f99d40e1R71
f6ab517
to
26d12e0
Compare
26d12e0
to
3c64a80
Compare
parameters: { | ||
assetDocs: ["ActionAsset"], | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We'll definitely need to document this new approach
return node.type; | ||
} | ||
|
||
function XLRObjectDocs(props: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably not, we would just need to make sure we announce it somewhere well
return node.type; | ||
} | ||
|
||
function XLRObjectDocs(props: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add it to the docs, readme, or repo wiki?
Requires: player-ui/rules_player#63
Will let us remove/deprecate the storybook-webpack plugin here
Release Notes
📦 Published PR as canary version:
0.7.5--canary.449.15808
Try this version out locally by upgrading relevant packages to 0.7.5--canary.449.15808
Version
Published prerelease version:
0.9.0-next.1
Changelog
Release Notes
Storybook Addon Fixes (#449)
[Hermes] Android integration (#410)
Initial integration with the Hermes JavaScript runtime. This shows a tremendous size improvement over the existing J2V8 integration of ~70% (7.6 MB -> 2.3 MB, architecture dependent).
Opt-in
For now, the default runtime integration provided by the Android Player will still be
com.intuit.playerui:j2v8-android
, but Hermes can be opted in manually by excluding the J2V8 transitive dependency and including the Hermes artifact:Most of the setup for this integration is done simply by including the right dependency (and excluding the wrong one), however, the
hermes-android
integration also relies on the SoLoader for loading the native libraries. All that's needed is to initialize theSoLoader
(should be on your classpath with thehermes-android
dependency) with an AndroidContext
somewhere before you use theAndroidPlayer
, potentially in your activitiesonCreate
:🚀 Enhancement
Authors: 3