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

CSCEXAM-1215 Changes to question editor #1007

Closed
wants to merge 9 commits into from
Closed

CSCEXAM-1215 Changes to question editor #1007

wants to merge 9 commits into from

Conversation

VirmasaloA
Copy link
Collaborator

No description provided.

@@ -87,6 +87,14 @@ export class LibraryResultsComponent implements OnInit, OnChanges {
this.selected.emit(selections);
};

calculateExams = (question: LibraryQuestion): number => {
Copy link
Collaborator

@lupari lupari Oct 12, 2023

Choose a reason for hiding this comment

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

Saisko tän vähän lyhennettyä? Esim
question.examSectionQuestions.map(esq => esq.examSection.name).length tjsp.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Itseasiassa tuossahan on turhaa kaikki paitsi viimeinen rivi?

@@ -171,6 +172,8 @@ export class ExamQuestionComponent implements OnInit {
.map((optionType) => this.Question.getOptionTypeTranslation(optionType));
};

sortByString = (prop: string[]): Array<string> => prop.sort();
Copy link
Collaborator

@lupari lupari Oct 12, 2023

Choose a reason for hiding this comment

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

Array<string> => string[] ?

<div class="col warning-text" *ngIf="examNames.length > 1">
{{ 'sitnet_exam_question_edit_instructions_more_than_one' | translate }}
</div>
<div class="col warning-text" *ngIf="examNames.length == 1">
Copy link
Collaborator

Choose a reason for hiding this comment

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

===

Copy link
Collaborator

@lupari lupari left a comment

Choose a reason for hiding this comment

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

Kommitin nimi voisi olla englanniksi + muut huomiot

@@ -87,6 +87,14 @@ export class LibraryResultsComponent implements OnInit, OnChanges {
this.selected.emit(selections);
};

calculateExams = (question: LibraryQuestion): number => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Itseasiassa tuossahan on turhaa kaikki paitsi viimeinen rivi?

@@ -75,6 +76,8 @@ export class QuestionBodyComponent implements OnInit {

showWarning = () => this.examNames.length > 1;

sortByString = (prop: string[]): Array<string> => prop.sort();
Copy link
Collaborator

Choose a reason for hiding this comment

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

Array<string> => string[] ?

@VirmasaloA VirmasaloA changed the title CSCEXAM-1215 Kysymysten muokkauksen muutoksia CSCEXAM-1215 Changes to question editor Nov 7, 2023
@lupari
Copy link
Collaborator

lupari commented Feb 15, 2024

Ei taida olla enää validi?

@lupari lupari closed this Feb 15, 2024
@lupari lupari deleted the CSCEXAM-1215 branch February 19, 2024 16:58
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