-
Notifications
You must be signed in to change notification settings - Fork 4.5k
[BEAM-13247] [Playground] Embedding iframe #16606
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
Conversation
…ded Output/Log TabBar
…anged default ratio of the EmbeddedSplitView
# Conflicts: # playground/frontend/lib/modules/editor/components/editor_textarea.dart # playground/frontend/lib/modules/output/components/output.dart # playground/frontend/lib/modules/output/components/output_area.dart # playground/frontend/lib/modules/output/components/output_header/output_header.dart # playground/frontend/lib/modules/output/components/output_header/output_tabs.dart
…Frame, removed codeScrolling. Added new iFrame on the try-beam-playground page
| ); | ||
|
|
||
| _setTextScrolling(); | ||
| if (!widget.isEmbedded) { |
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.
Maybe it's better to rename it to the enableScrolling, so we can use it in the future on other pages.
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.
+1, being explicit is much cleaner.
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.
Thank you, renamed this one.
| children: [ | ||
| OutputTabs(tabController: tabController), | ||
| const OutputPlacements(), | ||
| isEmbedded ? const SizedBox() : const OutputPlacements(), |
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.
same here, showOutputPlacements
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.
Renamed this one too.
| PlaygroundState playground, | ||
| PlaygroundState newPlayground, | ||
| ) { | ||
| if (example != null) { |
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.
Unnest this code block by adding an early return. E.g.
if (example == null) {
return;
}
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.
Hello, @KonradJanica. Thank you for the review, I'll fix that in the next commit.
ElessarST
left a comment
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.
LGTM
|
thanks all LGTM! |
Implemented a new version of the embedded iFrame with:
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:
R: @username).[BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replaceBEAM-XXXwith the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.CHANGES.mdwith noteworthy changes.See the Contributor Guide for more tips on how to make review process smoother.
ValidatesRunnercompliance status (on master branch)Examples testing status on various runners
Post-Commit SDK/Transform Integration Tests Status (on master branch)
Pre-Commit Tests Status (on master branch)
See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.
GitHub Actions Tests Status (on master branch)
See CI.md for more information about GitHub Actions CI.