-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(backend/frontend): retake quiz bb-357 (#404)
* feat(frontend): onboarding and quiz in order bb-242 * feat(frontend/backend): save user quiz actions bb-242 * feat(frontend): save onboarding user answers bb-242 * feat(frontend): show onboarding on initial bb-242 * feat(frontend): step quiz to introduction bb-242 * fix(frontend): resolve code style issue bb-242 * feat(frontend/backend): move onboarding to a new route bb-242 * feat(frontend/backend): route validations bb-242 * feat(frontend/backend): onboarding quiz flow bb-242 * fix(frontend): resolve navigation and default value bb-242 * fix(frontend): fix code style inconsistencies bb-242 * fix(frontend): remove unnecessary imports bb-242 * fix(frontend/backend): use boolean instead of answers bb-242 * fix(frontend/backend): has answer validation bb-242 * feat: implemented backend part of feature bb-357 * feat: added swagger for the new endpoint bb-357 * refactor: renamed methos of controller, service, repository an dto for get categories bb-357 * refactor: changed the name of api endpoint bb-357 * fix(frontend/backend): resolve code style errors and rerender bb-242 * fix(frontend/backend): fix merge conflicts bb-242 * fix(frontend): test commit bb-242 * fix(frontend): fix code building bb-242 * refactor: unified endpoints, updated swagger doc, added validation schema bb-357 * refactor: rewritten scoreEntities initialization in findByIds bb-357 * fix: reinstalled node_modules bb-357 * fix: rebuilt packages bb-357 * Revert "fix(frontend): fix code building bb-242" This reverts commit e6581ba. * fix(frontend): move logic from root to protected route bb-242 * fix(backend): remove onboarding and quiz answer on entity bb-242 * fix(backend): add onboarding and quiz relation to update bb-242 * fix(frontend): remove dispatch on balance wheel bb-242 * feat: edit mode toggle bb-357 * fix: unexpected switch toggle, :disabled pseudo-class for buttons bb-357 * fix: removed redundant style from edit-mode-switch css module bb-357 * refactor: removed redundant api endpoint bb-357 * refactor: inverted logic of findCategories method of category service bb-357 * refactor: added dot to categories validation message enum bb-357 * refactor: changed isDisabled and isSelected values for editModeSwitch commponent bb-357 * refactor: simplified repository methods, renamed handleModeToggle to onModeToggle bb-357 * fix(frontend/backend): remove unnecessary codes bb-242 * refactor: removed redundant api endpoint from categories bb-357 * fix(frontend): button disabled fix bb-242 * feat: created thunk to get questions by categoryIds bb-357 * refactor: rewritten handle next step as a redux action bb-357 * fix(frontend): resolve code style errors bb-242 * fix(frontend): rename CompletedQuestions bb-242 * fix(frontend): remove unnecessary code bb-242 * fix(frontend): remove repeating code bb-242 * fix(frontend): remove redundant functions bb-242 * refactor: gave better names to slice state variables bb-357 * feat: implemented retake quiz bb-357 * fix: removed extra questions category bug bb-357 * fix: removed redundant check from categoryIdsValidationSchema bb-357 * refactor: remade extractIdsFromAnswerEntities helper into a quiz-answer service method bb-357 * refactor: renamed method findByIds to findByCategoryIds on quiz-question repository bb-357 * fix: double categories quiz on registration bug fixed bb-357 * refactor: moved scoresEditmodal to root page component bb-357 * refactor: made switch component more versatile bb-357 * refactor: rewritten findQuestions method of quiz-question service bb-357 * refactor: made switch component generic bb-357 * refactor: rewritten andWhere id queries into whereIn bb-357 * fix: removed redundant check, added missing prop value to switch on user wheel bb-357 * refactor: changed styling, fixed stuck on analyzing bug bb-357 * fix: onboarding not showing when registering a second user bb-357 * refactor: simplified extract category ids from questions helper bb-357 * refactor: destructured query for findQuestions method of quiz questions service bb-357 * refactor: removed undefined from categoryIds property on QuizAnswersRequestDto bb-357 * refactor: getModal on user-wheel component returns null as default case bb-357 * refactor: changed id names in where clauses on repositories bb-357 * fix: removed redundant check inside of next question reducer function for quiz slice bb-357 * refactor: added first item index constant bb-357 * refactor: rewritten getModal into an arrow function bb-357 * refactor(frontend): update function name, move constant out of component bb-357 --------- Co-authored-by: Mikoyzskie <[email protected]> Co-authored-by: Farid Shabanov <[email protected]> Co-authored-by: Farid Shabanov <[email protected]>
- Loading branch information
1 parent
833d5ed
commit bbc02a8
Showing
64 changed files
with
714 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,5 @@ | ||
export { type QuizQuestionDto, type QuizQuestionRequestDto } from "shared"; | ||
export { | ||
type CategoriesGetRequestQueryDto, | ||
type QuizQuestionDto, | ||
type QuizQuestionRequestDto, | ||
} from "shared"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export { type CategoriesGetRequestQueryDto } from "shared"; |
5 changes: 4 additions & 1 deletion
5
apps/backend/src/modules/quiz/libs/validation-schemas/validation-schemas.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
export { quizUserAnswersValidationSchema } from "shared"; | ||
export { | ||
categoryIdsValidationSchema, | ||
quizUserAnswersValidationSchema, | ||
} from "shared"; |
Oops, something went wrong.