Skip to content

Blockly.Xml code cleanup : fields - #1489

Merged
rachel-fenichel merged 2 commits into
RaspberryPiFoundation:developfrom
rachel-fenichel:cleanup/field_to_dom
Nov 30, 2017
Merged

Blockly.Xml code cleanup : fields#1489
rachel-fenichel merged 2 commits into
RaspberryPiFoundation:developfrom
rachel-fenichel:cleanup/field_to_dom

Conversation

@rachel-fenichel

Copy link
Copy Markdown
Collaborator

The basics

  • I branched from develop
  • My pull request is against develop
  • My code follows the style guide

The details

Resolves

None

Proposed Changes

Extracts field serialization and deserialization code into separate functions in Blockly.Xml.

Reason for Changes

Blockly.Xml has 100+ line functions for serialization and deserialization. This structure makes it clear what information is needed for each tag.

Test Coverage

Unit tests pass.
Loading random blocks in the playground, exporting to XML, and then importing from XML works.

@googlebot

Copy link
Copy Markdown

So there's good news and bad news.

👍 The good news is that everyone that needs to sign a CLA (the pull request submitter and all commit authors) have done so. Everything is all good there.

😕 The bad news is that it appears that one or more commits were authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that here in the pull request.

Note to project maintainer: This is a terminal state, meaning the cla/google commit status will not change from this State. It's up to you to confirm consent of the commit author(s) and merge this pull request when appropriate.

@rachel-fenichel
rachel-fenichel changed the base branch from master to develop November 30, 2017 20:12

@picklesrus picklesrus left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@rachel-fenichel
rachel-fenichel merged commit a6603b4 into RaspberryPiFoundation:develop Nov 30, 2017
@rachel-fenichel
rachel-fenichel deleted the cleanup/field_to_dom branch November 30, 2017 21:12
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.

3 participants