Skip to content

Questions#6

Open
Ady1s wants to merge 30 commits into
masterfrom
questions
Open

Questions#6
Ady1s wants to merge 30 commits into
masterfrom
questions

Conversation

@Ady1s
Copy link
Copy Markdown

@Ady1s Ady1s commented Nov 7, 2024

I have created questions and their answers. modal windows, question list and local storage are used.

@Ady1s Ady1s requested a review from jakubforman November 7, 2024 14:11
@Ady1s Ady1s closed this Nov 7, 2024
@Ady1s Ady1s reopened this Nov 7, 2024
@Ady1s Ady1s requested a review from a user November 7, 2024 14:16
Copy link
Copy Markdown

@ghost ghost left a comment

Choose a reason for hiding this comment

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

  • Dodělej services
  • Smaž nebo začni používat tvůj model

@Ady1s Ady1s requested review from a user and JackKybl November 20, 2024 10:30
Comment thread src/app/services/my-service.service.ts Outdated
* 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 }[]> {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nepoužíváš tu questionModel

Comment thread src/app/services/my-service.service.ts Outdated
* @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> {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nepoužíváš tu questionModel

Copy link
Copy Markdown
Contributor

@JackKybl JackKybl left a comment

Choose a reason for hiding this comment

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

Používej model question

@Ady1s Ady1s requested a review from JackKybl November 26, 2024 09:41
@Ady1s
Copy link
Copy Markdown
Author

Ady1s commented Nov 28, 2024

@JackKybl pwosím podívej se na můj pull request strašně to potřebuju >_<

@Ady1s Ady1s closed this Nov 28, 2024
@Ady1s Ady1s reopened this Nov 28, 2024
@Ady1s
Copy link
Copy Markdown
Author

Ady1s commented Nov 28, 2024

@JackKybl pwosím podívej se na můj pull request potřebuju to >_<

Comment thread src/app/models/questions.model.ts Outdated
@@ -0,0 +1,6 @@
export interface QuestionModel {
question: string,
answers: { answer: string, correct: boolean }[],
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Udělej pro to model

@Ady1s Ady1s requested a review from JackKybl December 3, 2024 09:41
@Ady1s
Copy link
Copy Markdown
Author

Ady1s commented Dec 3, 2024

still waiting for model check :D

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants