Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
epoc-editor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
GitLab upgrade completed. Current version is 17.11.3.
Show more breadcrumbs
learninglab
epoc
epoc-editor
Commits
63ff9f31
Commit
63ff9f31
authored
6 months ago
by
VIAUD Nathan
Browse files
Options
Downloads
Patches
Plain Diff
refactor: explanation -> feedback
parent
85bd2adc
No related branches found
No related tags found
1 merge request
!159
Resolve "explanations -> feedback"
Pipeline
#1076187
passed
6 months ago
Stage: build
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
package-lock.json
+5
-5
5 additions, 5 deletions
package-lock.json
src/shared/services/graph.service.ts
+5
-5
5 additions, 5 deletions
src/shared/services/graph.service.ts
with
10 additions
and
10 deletions
package-lock.json
+
5
−
5
View file @
63ff9f31
{
"name": "epoc-editor",
"version": "0.1.
9
-beta",
"version": "0.1.
10
-beta",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "epoc-editor",
"version": "0.1.
9
-beta",
"version": "0.1.
10
-beta",
"license": "CeCILL-B",
"dependencies": {
"@electron/notarize": "^1.2.2",
...
...
@@ -336,9 +336,9 @@
}
},
"node_modules/@epoc/epoc-types": {
"version": "2.0.0-beta.1
4
",
"resolved": "https://registry.npmjs.org/@epoc/epoc-types/-/epoc-types-2.0.0-beta.1
4
.tgz",
"integrity": "sha512-
23bFBFXpVzNzYjZuFLtT4J68NaIVn3EuiB+v5A+BBhU4YLnlJq0sqwznPGmsn+ae89Uun+mBMy9HjzqXwQXmww
==",
"version": "2.0.0-beta.1
7
",
"resolved": "https://registry.npmjs.org/@epoc/epoc-types/-/epoc-types-2.0.0-beta.1
7
.tgz",
"integrity": "sha512-
wP5+pyqQcx7UFGgTbGyp5kTxMnrRikGKTpnfZ6PDCvjDM+/sbQJT6k0ivkrEicdau94swTL8gJNYIilEk8IyGg
==",
"license": "CeCILL-B"
},
"node_modules/@esbuild/android-arm": {
...
...
This diff is collapsed.
Click to expand it.
src/shared/services/graph.service.ts
+
5
−
5
View file @
63ff9f31
...
...
@@ -248,7 +248,7 @@ function newQuestion(epoc: EpocV1, questionNode: any): string {
};
});
type
=
questionNode
.
formType
;
}
else
if
(
questionNode
.
formType
===
'
custom
'
){
}
else
if
(
questionNode
.
formType
===
'
custom
'
)
{
//? responses need to contain values but we don't need them for custom questions
responses
=
[
'
sample response
'
];
...
...
@@ -267,13 +267,13 @@ function newQuestion(epoc: EpocV1, questionNode: any): string {
score
:
questionNode
.
formValues
?.
score
||
0
,
responses
,
correctResponse
,
explanation
:
questionNode
.
formValues
?.
explanation
||
''
,
feedback
:
questionNode
.
formValues
?.
explanation
||
''
,
};
if
(
questionNode
.
formType
===
'
custom
'
)
{
if
(
questionNode
.
formType
===
'
custom
'
)
{
(
question
as
CustomQuestion
).
template
=
template
;
(
question
as
CustomQuestion
).
data
=
{};
for
(
const
value
of
questionNode
.
formValues
.
data
)
{
for
(
const
value
of
questionNode
.
formValues
.
data
)
{
(
question
as
CustomQuestion
).
data
[
value
.
key
]
=
value
.
value
;
}
}
...
...
@@ -314,7 +314,7 @@ export const graphService = {
getPreviousNode
,
getNextNode
,
openContextMenu
,
getProjectJSON
getProjectJSON
,
};
let
openedConditionIndex
:
number
|
null
=
null
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment