Conversation
…it and remove questions. created a question list that remains saved after refreshing the page.
…tive form. page functionally, functional
# Conflicts: # src/app/app.component.ts # src/app/app.routes.ts
…tions.model.ts for models to ts
ghost
suggested changes
Nov 14, 2024
ghost
left a comment
There was a problem hiding this comment.
- Dodělej services
- Smaž nebo začni používat tvůj model
JackKybl
reviewed
Nov 20, 2024
| * Pokud otázky nejsou nalezeny, vrátí prázdné pole. | ||
| * @returns {Promise<{ question: string; answers: string[]; showAnswers: boolean }[]>} - Seznam otázek a odpovědí. | ||
| */ | ||
| async loadState(): Promise<{ question: string; answers: string[]; showAnswers: boolean }[]> { |
Contributor
There was a problem hiding this comment.
nepoužíváš tu questionModel
JackKybl
reviewed
Nov 20, 2024
| * @param {Array} questions - Pole otázek a odpovědí. | ||
| * @returns {Promise<void>} - Vrací prázdnou promise, která označuje úspěšné dokončení operace. | ||
| */ | ||
| async saveState(questions: { question: string; answers: string[]; showAnswers: boolean }[]): Promise<void> { |
Contributor
There was a problem hiding this comment.
nepoužíváš tu questionModel
JackKybl
requested changes
Nov 20, 2024
Contributor
JackKybl
left a comment
There was a problem hiding this comment.
Používej model question
Author
|
@JackKybl pwosím podívej se na můj pull request strašně to potřebuju >_< |
Author
|
@JackKybl pwosím podívej se na můj pull request potřebuju to >_< |
JackKybl
reviewed
Nov 28, 2024
| @@ -0,0 +1,6 @@ | |||
| export interface QuestionModel { | |||
| question: string, | |||
| answers: { answer: string, correct: boolean }[], | |||
Author
|
still waiting for model check :D |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I have created questions and their answers. modal windows, question list and local storage are used.