Skip to content

Integrate Hints into new Top Instructions#9559

Merged
Hamms merged 17 commits into
stagingfrom
topInstructions-integrate-hints
Jul 22, 2016
Merged

Integrate Hints into new Top Instructions#9559
Hamms merged 17 commits into
stagingfrom
topInstructions-integrate-hints

Conversation

@Hamms

@Hamms Hamms commented Jul 18, 2016

Copy link
Copy Markdown
Contributor

Spec

Integrates Hints (both Authored and Contextual) into new top instructions.

hints

Also includes some styling additions and tweaks:

Chat-style bubbles (for appropriate skins):
image
image

Minecraft styling (pending approval)
image

Comment thread apps/src/authoredHints.js
var hints = this.contextualHints_.concat(this.hints_ || []);
return hints.filter(function (hint) {
return hint.alreadySeen === false;
});

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.

Do you need the || [] here and below? I thought setting redux initial state would ensure that they're always defined.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

good catch!

@balderdash

Copy link
Copy Markdown
Contributor

LGTM

},
};

var TopInstructions = React.createClass({

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.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

possibly; I can explore that idea, but I'd like to do so in a separate PR

@joshlory

Copy link
Copy Markdown
Contributor

Hmm, seeing different styles for hints on Minecraft. The arrows are clipped on the right side:

screen shot 2016-07-22 at 11 27 20 am

Let me know if you can't repro locally and I'll see if something isn't rebuilding for me.

@Hamms

Hamms commented Jul 22, 2016

Copy link
Copy Markdown
Contributor Author

I can repro; will fix

@Hamms Hamms force-pushed the topInstructions-integrate-hints branch from f031dd1 to ea5c048 Compare July 22, 2016 22:25
@Hamms Hamms merged commit 906f3ad into staging Jul 22, 2016
deploy-code-org added a commit that referenced this pull request Jul 25, 2016
906f3ad Merge pull request #9559 from code-dot-org/topInstructions-integrate-hints (Elijah Hamovitz)
40e882e Merge pull request #9546 from code-dot-org/animation-sizes (Caley Brock)
b3a9bbb Merge pull request #9660 from code-dot-org/pd-workshop-join-section (Andrew Oberhardt)
ea5c048 Merge branch 'staging' into topInstructions-integrate-hints (Elijah Hamovitz)
de6955d missing semicolon fix (Caley Brock)
6bc0459 PR feedback: renamed unit test variables and added comment (Andrew Oberhardt)
85f27bb code review: fix typo (Caley Brock)
2653697 staging content changes (-Ram) (Continuous Integration)
f0fcf5c Remove not needed comment (Caley Brock)
8fb23f7 Merge pull request #9675 from code-dot-org/levelbuilder (Ram Kandasamy)
ad499a1 Modify p5play to initialize sprite height and width and not change them during update (Caley Brock)
79e2eff levelbuilder content changes (-Ram) (Continuous Integration)
851caa6 Merge pull request #9620 from code-dot-org/photo-credit (Tanya Parker)
0e067b3 Merge pull request #9661 from code-dot-org/peer_review_in_course_ui (Mehal Shah)
df67e16 I am annoyed that this works (Mehal Shah)
ac5bcd1 staging content changes (-Ram) (Continuous Integration)
6043087 Automatically built. (Continuous Integration)
c43f297 remove custom scroll handler, instead hide native scrollbar (Elijah Hamovitz)
@Hamms Hamms deleted the topInstructions-integrate-hints branch August 9, 2016 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants