Optional hints

Pass information from an experimental URL parameter back to Blockly for the experiment in which users may have to press a button to see the hint.  Changes to Blockly are in https://github.com/code-dot-org/blockly/pull/757
I was following the model of existing code.  I'm happy to simplify mine,
since I don't need the complexity.


On Fri, Jul 18, 2014 at 5:04 PM, Brian Jordan <notifications@github.com>
wrote:

> In app/models/experiment_activity.rb:
>
> > @@ -49,4 +49,14 @@ def self.is_experimenting_feedback?
> >
> >    FEEDBACK_EXPERIMENT_SOURCES = [LevelSourceHint::CROWDSOURCED,
> >                                   LevelSourceHint::STANFORD, nil]
> > +
> > +  private
> > +  @is_experimenting_hint_
> visibility = false
> > +  def self.is_experimenting_hint_visibility?
>
> Could these be constants? Or is there an eye towards having more involved
> logic?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/code-dot-org/dashboard/pull/1047/files#r15139896>.
>