Skip to content

Maker API Setup Page#9701

Merged
bcjordan merged 24 commits into
stagingfrom
maker-api-setup
Jul 28, 2016
Merged

Maker API Setup Page#9701
bcjordan merged 24 commits into
stagingfrom
maker-api-setup

Conversation

@bcjordan

@bcjordan bcjordan commented Jul 26, 2016

Copy link
Copy Markdown
Contributor

No description provided.

bcjordan added 19 commits July 18, 2016 12:04
- Float image right.
- Format errors and identifiers as code.
- Open links in new window.
- Use asset version of board image.
- Move makerlab dependencies bundle into makerlab/dependencies file
- Remove semicolons after ES6 functions
- Add default "waiting" state for steps which haven't been reached.
- Refactor to use a promise chain for spin/check/fail handling
- Turn off success LEDs after a bit, add extremely necessary thumbs up during song and extra beep at the end
<div className="setup-status" style={{'fontSize': '26px'}}>
<SetupStep stepStatus={this.state['status-is-chrome']}
stepId="is-chrome"
stepName="Chrome version 33+"/>

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.

Styleguide says:

<SetupStep
  stepStatus={this.state['status-is-chrome']}
  stepId="is-chrome"
  stepName="Chrome version 33+"
/>

Comment thread apps/src/makerlab/BoardController.js Outdated
BoardController.prototype.pinMode = function (pin, modeConstant) {
this.board_.pinMode(pin, modeConstant);
};
const resetComponent = (component) => {

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.

Our styleguide isn't particular, but I'm actually not a fan of an arrow function in this case; I've been trying to use them only when I want the function to be anonymous, and the pattern here effectively names it.

@bcjordan

Copy link
Copy Markdown
Contributor Author

Circle passed (they had infra issue, succeeded on retry): https://circleci.com/gh/code-dot-org/code-dot-org/18001

@bcjordan bcjordan merged commit 54298f2 into staging Jul 28, 2016
@bcjordan bcjordan deleted the maker-api-setup branch July 28, 2016 17:28
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.

2 participants