Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reward dialog obscures challenge solution #72

Closed
pixelzoom opened this issue May 10, 2018 · 7 comments
Closed

Reward dialog obscures challenge solution #72

pixelzoom opened this issue May 10, 2018 · 7 comments
Assignees

Comments

@pixelzoom
Copy link
Contributor

In phetsims/equality-explorer#104, @amanda-phet identified a problem with the use of the reward dialog (RewardDialog). When you reach a certain score, it opens immediately and obscures the challenge solution.

This problem was also discovered in Make A Ten, see phetsims/make-a-ten#284.

Identify whether these are other sims that have this problem.

@amanda-phet
Copy link

@phet-steele can you create a QA task (for yourself or someone else) to identify other sims with rewardnode where this issue is relevant?

@pixelzoom
Copy link
Contributor Author

@phet-steele The common-code implementation (VEGAS/RewardNode) is currently used only in Equality Explorer and the vegas demo application. Make A Ten has its own implementation (which should be replaced with VEGAS/RewardNode, see phetsims/make-a-ten#279). Unknown whether other sims have a similar dialog. If they do, they are not using common code, and an issue should also be created to make them use VEGAS/RewardNode.

@phet-steele
Copy link

@amanda-phet identified a problem with the use of the reward dialog (RewardDialog)

(VEGAS/RewardNode) is currently used only in Equality Explorer and the vegas demo application. Make A Ten has its own implementation...

@amanda-phet @pixelzoom what am I looking for? Sims with relevant issues in RewardDialog, or RewardNode? Or both?

@pixelzoom
Copy link
Contributor Author

pixelzoom commented May 11, 2018

You're looking for sims that open a dialog that obscures the challenge solution. They will not use RewardDialog because it is a new component; they will have their own Dialog, or perhaps something that quacks like a Dialog (as in Make A Ten, where a Panel is used). RewardNode (objects falling behind the dialog) is afaik not implicated in this issue.

@pixelzoom pixelzoom removed their assignment May 11, 2018
@phet-steele
Copy link

@pixelzoom @amanda-phet I went ahead and looked for both, hopefully I'm correct about most of this. I'm not too happy about the lack of RewardNode usage! 😄

I only looked at published sims, which excludes:

  • Build a Fraction
  • Estimation (slight chuckle)
  • Fractions: Equality
  • Fractions Intro
  • Fractions: Mixed Numbers

The following sims were also ignored. They have game-like designs, but are vastly different than anything else:

  • Function Builder
  • Function Builder: Basics
  • Unit Rates

Area Builder

RewardNode RewardDialog LevelCompletedNode
NO NO YES
  • No overlap on completion. The reward appears alone after "Next" is pressed on the last challenge:

screen shot 2018-05-11 at 10 18 56 am

Area Model Algebra/Multiplication

RewardNode RewardDialog LevelCompletedNode
YES NO YES
  • No overlap on completion. The reward appears alone after "Next" is pressed on the last challenge:

screen shot 2018-05-11 at 10 34 01 am

Arithmetic

RewardNode RewardDialog LevelCompletedNode
NO NO YES
  • Questionable overlap. The reward appears about ~1.5 seconds (guesstimate) after the last answer is submitted.

screen shot 2018-05-11 at 10 46 01 am

Balancing Act

RewardNode RewardDialog LevelCompletedNode
NO NO YES
  • No overlap on completion. The reward appears alone after "Next" is pressed on the last challenge:

screen shot 2018-05-11 at 10 52 25 am

Balancing Chemical Equations

RewardNode RewardDialog LevelCompletedNode
YES (but as BCERewardNode) NO YES
  • No overlap on completion. The reward appears alone after "Next" is pressed on the last challenge:

screen shot 2018-05-11 at 11 00 58 am

Build an Atom

RewardNode RewardDialog LevelCompletedNode
YES (but as BAARewardNode) NO YES
  • No overlap on completion. The reward appears alone after "Next" is pressed on the last challenge:

screen shot 2018-05-11 at 11 12 16 am

Equality Explorer

RewardNode RewardDialog LevelCompletedNode
YES (but as EqualityExplorerRewardNode) YES NO

screen shot 2018-05-11 at 11 17 25 am

Expression Exchange

RewardNode RewardDialog LevelCompletedNode
YES (but as EERewardNode) NO NO
  • Important: Uses a completely custom Dialog: AllLevelsCompletedDialog
  • Non-problematic overlap. The reward appears immediately after the last answer is "reached" (subtly different than "submitted"):

screen shot 2018-05-11 at 11 26 32 am

Fraction Matcher

RewardNode RewardDialog LevelCompletedNode
YES NO YES
  • Non-problematic overlap. The reward appears after "OK" is pressed on the last challenge:

screen shot 2018-05-11 at 11 34 03 am

Graphing Lines/Graphing Slope-Intercept

RewardNode RewardDialog LevelCompletedNode
YES (but as GLRewardNode) NO YES (but as ResultsNode)
  • No overlap on completion. The reward appears alone after "Next" is pressed on the last challenge:

screen shot 2018-05-11 at 11 42 16 am

Make a Ten

RewardNode RewardDialog LevelCompletedNode
YES (but as MakeATenRewardNode) NO NO
  • Important: Uses a completely custom Dialog: RewardPanel
  • Questionable overlap. The reward appears immediately after the last answer is "reached" (subtly different than "submitted"):

screen shot 2018-05-11 at 11 47 44 am

Reactants, Products and Leftovers

RewardNode RewardDialog LevelCompletedNode
YES (but as RPALRewardNode) NO YES (but as ResultsNode)
  • No overlap on completion. The reward appears alone after "Next" is pressed on the last challenge:

screen shot 2018-05-11 at 11 53 27 am

@pixelzoom
Copy link
Contributor Author

pixelzoom commented May 11, 2018

To summarize for @amanda-phet...

There is "questionable" overlap in Equality Explorer (phetsims/equality-explorer#104), Make A Ten (phetsims/make-a-ten#284) and Arithmetic (phetsims/arithmetic#183).

It is @amanda-phet's call on whether/how to address this.

pixelzoom added a commit to phetsims/equality-explorer that referenced this issue May 11, 2018
…outBounds, and options allow customization, phetsims/vegas#72

Signed-off-by: Chris Malley <[email protected]>
pixelzoom added a commit that referenced this issue May 11, 2018
…outBounds, and options allow customization, #72

Signed-off-by: Chris Malley <[email protected]>
pixelzoom added a commit that referenced this issue May 11, 2018
@pixelzoom
Copy link
Contributor Author

This needs to be addressed on a per-sim basis (no common-code solution), and each sim that has this problem has an associated issue. So closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants