Skip to content

Conversation

@miamihotline
Copy link
Contributor

Implemented a new version of the embedded iFrame with:

  • adjustable height,
  • ability to run code (examples, arbitrary code) & get outputs,
  • ability to set the editability of the text field.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

  • Choose reviewer(s) and mention them in a comment (R: @username).
  • Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
  • Update CHANGES.md with noteworthy changes.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

ValidatesRunner compliance status (on master branch)

Lang ULR Dataflow Flink Samza Spark Twister2
Go --- Build Status Build Status Build Status Build Status ---
Java Build Status Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Python --- Build Status
Build Status
Build Status
Build Status
Build Status
Build Status Build Status ---
XLang Build Status Build Status Build Status Build Status Build Status ---

Examples testing status on various runners

Lang ULR Dataflow Flink Samza Spark Twister2
Go --- --- --- --- --- --- ---
Java --- Build Status
Build Status
Build Status
--- --- --- --- ---
Python --- --- --- --- --- --- ---
XLang --- --- --- --- --- --- ---

Post-Commit SDK/Transform Integration Tests Status (on master branch)

Go Java Python
Build Status Build Status Build Status
Build Status
Build Status

Pre-Commit Tests Status (on master branch)

--- Java Python Go Website Whitespace Typescript
Non-portable Build Status
Build Status
Build Status
Build Status
Build Status
Build Status Build Status Build Status Build Status
Portable --- Build Status Build Status --- --- ---

See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.

GitHub Actions Tests Status (on master branch)

Build python source distribution and wheels
Python tests
Java tests

See CI.md for more information about GitHub Actions CI.

…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) {
Copy link
Contributor

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.

Copy link

@KonradJanica KonradJanica Jan 25, 2022

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.

Copy link
Contributor Author

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(),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here, showOutputPlacements

Copy link
Contributor Author

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) {

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;
}

Copy link
Contributor Author

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.

Copy link
Contributor

@ElessarST ElessarST left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pabloem pabloem merged commit 178cb7b into apache:master Jan 28, 2022
@pabloem
Copy link
Member

pabloem commented Jan 28, 2022

thanks all LGTM!

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.

4 participants