adarshjp / Semantic-Cueing

Semantic Cueing is a system which helps to provide a speech therapy to patients with cognitive disabilities.
http://semantic-cueing.herokuapp.com/
1 stars 1 forks source link

Admin Side : UI updation #214

Closed ajay-acer closed 2 years ago

adarshjp commented 2 years ago

Is #104 #216 fixed?

ajay-acer commented 2 years ago

Is #104 #216 fixed?

216 is fixed and working properly here. Test it once.

104 not completed.

Delete question and test is pending. Alert is not necessary for edit question/test.

adarshjp commented 2 years ago

Question Test Execution

1) Start the test 2) Take a hint 3) Pause 4) Resume

In the above case, is the score deducted for taking a hint?

adarshjp commented 2 years ago

Pls handle patient deleted case image

ajay-acer commented 2 years ago

Question Test Execution

  1. Start the test
  2. Take a hint
  3. Pause
  4. Resume

In the above case, is the score deducted for taking a hint?

No points deducted. Points are deducted only when patient press next button.

adarshjp commented 2 years ago

Delete Question: Let's say, 5 Q's are used in a test, and that is completed. Can I delete that 5 Qs? Assume it is not used in any other test

ajay-acer commented 2 years ago

Delete Question: Let's say, 5 Q's are used in a test, and that is completed. Can I delete that 5 Qs? Assume it is not used in any other test

No. As of now. But we can implement this.

adarshjp commented 2 years ago

Question Test Execution

  1. Start the test
  2. Take a hint
  3. Pause
  4. Resume

In the above case, is the score deducted for taking a hint?

No points deducted. Points are deducted only when patient press next button.

Points should be deducted ⚠️

ajay-acer commented 2 years ago

Question Test Execution

  1. Start the test
  2. Take a hint
  3. Pause
  4. Resume

In the above case, is the score deducted for taking a hint?

No points deducted. Points are deducted only when patient press next button.

Points should be deducted ⚠️

There is no option to do this. We need to store number of hints taken somewhere to implement this.

adarshjp commented 2 years ago

Yes this needs to be implemented as this is a severe bug Can we store total score as default and make a API req each time to reduce it when hint is taken? Or any other better approach is fine which has the minimal impact on code base Will raise a new issue for this.

adarshjp commented 2 years ago

We are also looking into optimising the fetch question API in test execution

This is subject to your availability

ajay-acer commented 2 years ago

Yes this needs to be implemented as this is a severe bug Can we store total score as default and make a API req each time to reduce it when hint is taken? Or any other better approach is fine which has the minimal impact on code base Will raise a new issue for this.

Now if patient takes 2 hints and then pause the test. When again test is resumed the that question is treated as fresh question. So we need to store 1 field hintstaken with default value 0. This is updated only when patient presses pause button.

ajay-acer commented 2 years ago

Test this pr first. Delete question issue when test status completed will be implemented in this pr. Test execution part can be discussed in next pr.

adarshjp commented 2 years ago

What is the status of this PR now? I expect you to take #218 #219 in separate PR

adarshjp commented 2 years ago

Kindly list the things implemented in this PR

ajay-acer commented 2 years ago

Kindly list the things implemented in this PR

Admin home page Register View patients (button d-none if active, and delete alert) View doctor ( delete alert) Edit user Login page