-
Notifications
You must be signed in to change notification settings - Fork 22
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
#6065: fix rendering of user-defined bricks in the sidebar #6067
Conversation
Codecov Report
@@ Coverage Diff @@
## main #6067 +/- ##
==========================================
- Coverage 67.99% 67.98% -0.02%
==========================================
Files 1105 1105
Lines 34556 34580 +24
Branches 6520 6523 +3
==========================================
+ Hits 23497 23509 +12
- Misses 11059 11071 +12
|
@@ -160,8 +160,7 @@ const PanelBody: React.FunctionComponent<{ | |||
console.debug("Running panel body for panel payload", payload); | |||
|
|||
const block = await blockRegistry.lookup(blockId); | |||
// In the future, the renderer brick should run in the contentScript, not the panel frame | |||
// TODO: https://github.com/pixiebrix/pixiebrix-extension/issues/1939 |
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.
This issue should be safe to close once this PR is merged, right?
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.
Yes, we can close #1939 once we merge in this PR
No loom links were found in the first post. Please add one there if you'd like to it to appear on Slack. Do not edit this comment manually. |
What does this PR do?
run
method ofExternalBrick
(now called UserDefinedBrick) to run the pipeline in the contentScriptReviewer Tips
brickFactory.ts
runEffectPipeline
torunHeadlessPipeline
and has it return it's valueDiscussion
@mod
to bricks #6052Demos
Added directly to sidebar:
Embedded in Document Builder:
Referencing a
@mod
variable inside of the user-defined brick:Future Work
contentScript
directly once Target current tab from any iframe webext-messenger#72 is implementedPost-Merge Actions
Checklist