Skip to content
This repository has been archived by the owner on Jul 7, 2022. It is now read-only.

Perform an action when the user enter a voice input #339

Merged
merged 17 commits into from
May 12, 2022

Conversation

KurohanaJuri
Copy link
Contributor

@KurohanaJuri KurohanaJuri commented May 11, 2022

This PR allows the user to play the blindfold chess.

If the command is recognized, the action will be performed. We also add 3 basic errors that will be display in the snackbar :

  • IllegalAction : The command is recognized but it's an illegal move
  • UnknownCommand : The command cannot be parsed, the input didn't respect the expected form/structure
  • InternalError : Default error, this need to be more specific (Will be done in another PR Create more specific errors for speech recognizer #341)

Closes #338

@KurohanaJuri KurohanaJuri self-assigned this May 11, 2022
@KurohanaJuri KurohanaJuri marked this pull request as draft May 11, 2022 21:06
@KurohanaJuri KurohanaJuri marked this pull request as ready for review May 12, 2022 11:15
Copy link
Contributor

@BadrTad BadrTad left a comment

Choose a reason for hiding this comment

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

Looks good just a comment about a piece of code

@codeclimate
Copy link

codeclimate bot commented May 12, 2022

Code Climate has analyzed commit 28e98cb and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 88.8% (80% is the threshold).

This pull request will bring the total coverage in the repository to 97.3%.

View more on Code Climate.

@KurohanaJuri KurohanaJuri enabled auto-merge (squash) May 12, 2022 19:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Perform an action when we receive a voice input
4 participants