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

Animated Feedback for Correct/Incorrect Answers #10

Open
milindvishnoi opened this issue May 28, 2020 · 1 comment
Open

Animated Feedback for Correct/Incorrect Answers #10

milindvishnoi opened this issue May 28, 2020 · 1 comment
Labels
Domain: User Experience This issue pertains to a developer's emotions and attitudes when building Grey Software. hacktoberfest-accepted Priority: Medium This issue is useful, and needs some attention. Type: Enhancement An issue that adds new feature or technology.

Comments

@milindvishnoi
Copy link
Contributor

No description provided.

@milindvishnoi milindvishnoi added Domain: User Experience This issue pertains to a developer's emotions and attitudes when building Grey Software. Priority: Medium This issue is useful, and needs some attention. Type: Enhancement An issue that adds new feature or technology. labels May 28, 2020
@ArsalaBangash
Copy link
Member

Implementation Details

VueX

showingAnimatedFeedback: false

setShowingAnimatedFeedback mutation

showFeedback action() {
setShowingAnimatedFeedback(true)
setTimeout(() => {setShowingAnimatedFeedback(false)}600)
}

View

What we want to do is fade out the challenge screen and show a lottie animation. We can use this vue plugin to integrate lottie.

You can find animations on lottie files or from the Boltz Repo's assets

Considerations:

  • Maybe we should pause the timer during the animated feedback
  • Show a simple red background fade in and out when a question is answered incorrectly
  • Show correct animations after 1, 3, 5, 8, 10, and then every 2 afterwards.
  • Pick randomly from the boltz animations, but don't select animation twice before the others are used

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Domain: User Experience This issue pertains to a developer's emotions and attitudes when building Grey Software. hacktoberfest-accepted Priority: Medium This issue is useful, and needs some attention. Type: Enhancement An issue that adds new feature or technology.
Projects
None yet
Development

No branches or pull requests

2 participants