Allow changes to the reflection to be made after it's been submitted #13

Merged
ansv7779 merged 20 commits from 3412-supervisor-edit-reflection into develop 2024-11-21 19:20:48 +01:00
Owner

Replaces

Fixes card 3213 and 3412

There are minimum requirements for the reflection document submitted by authors at the end of the thesis process. Before now there was no way to handle the case when the reflection did not meet these minimum requirements.

This change makes it possible in two ways;

  1. The supervisor can request improvements to be made requiring the author to re-submit a new reflection inside SciPro
  2. The supervisor can directly edit the reflection themselves if it has been submitted out-of-band or for any other reason

How to test

  1. Set up/find a project that has had a final seminar.
  2. Switch to an author
  3. Submit a reflection (and final thesis if required)
  4. Switch to the supervisor
  5. Go to the "Finishing up" page and switch to the author's tab
  6. Scroll down to the reflection criteria (Ö6) and view the reflection
  7. Request a new one
  8. Go back to step 2
Replaces #12 Fixes card 3213 and 3412 There are minimum requirements for the reflection document submitted by authors at the end of the thesis process. Before now there was no way to handle the case when the reflection did not meet these minimum requirements. This change makes it possible in two ways; 1. The supervisor can request improvements to be made requiring the author to re-submit a new reflection inside SciPro 2. The supervisor can directly edit the reflection themselves if it has been submitted out-of-band or for any other reason ## How to test 1. Set up/find a project that has had a final seminar. 2. Switch to an author 3. Submit a reflection (and final thesis if required) 4. Switch to the supervisor 5. Go to the "Finishing up" page and switch to the author's tab 6. Scroll down to the reflection criteria (Ö6) and view the reflection 7. Request a new one 8. Go back to step 2
ansv7779 added 9 commits 2024-10-03 14:00:37 +02:00
Use the same language as the GUI to make it easier when talking about the states.
Can not send the notification from the Notifications class since that class is registered in the test-context and for some reason HSQLDB fails with some unknown check constraint violation with absolutely no information about why.

For some reason it is not possible to debug HSQLDB with breakpoints to step through and see exactly why it fails, so registering a new single purpose class in the cross-cutting module (that's not available in test) is used as a work-around.
Useful if they students submit a revised version via e-mail or similar, or maybe to fix some glaring typos.
ansv7779 added 5 commits 2024-10-16 10:29:42 +02:00
ansv7779 added 1 commit 2024-11-04 10:16:32 +01:00
ansv7779 added 1 commit 2024-11-07 15:20:12 +01:00
# Conflicts:
#	core/src/main/java/se/su/dsv/scipro/reflection/ReflectionServiceImpl.java
#	view/src/main/java/se/su/dsv/scipro/crosscutting/CrosscuttingModule.java
ansv7779 added 1 commit 2024-11-19 13:17:19 +01:00
# Conflicts:
#	core/src/main/java/se/su/dsv/scipro/notifications/dataobject/ProjectEvent.java
#	core/src/main/java/se/su/dsv/scipro/project/Author.java
niat8586 reviewed 2024-11-20 13:14:09 +01:00
@ -25,2 +25,3 @@
EXPORTED_SUCCESS, REVIEWER_GRADING_INITIAL_ASSESSMENT_DONE, FIRST_MEETING, OPPOSITION_FAILED,
PARTICIPATION_APPROVED, COMPLETED, PARTICIPATION_FAILED
PARTICIPATION_APPROVED, COMPLETED, PARTICIPATION_FAILED, REFLECTION_IMPROVEMENTS_REQUESTED,
REFLECTION_IMPROVEMENTS_SUBMITTED
Owner

Move the Event enum to its own file, it has grown to be very big.
That way we can separate the enums and also add comments as explanation for the different events.

Suggesting this to be done in a separate issue marked as technical debt.

Move the Event enum to its own file, it has grown to be very big. That way we can separate the enums and also add comments as explanation for the different events. Suggesting this to be done in a separate issue marked as technical debt.
niat8586 added 1 commit 2024-11-20 14:14:26 +01:00
ansv7779 added 1 commit 2024-11-20 14:18:41 +01:00
niat8586 approved these changes 2024-11-20 14:19:57 +01:00
Owner

👍

👍
ansv7779 added 1 commit 2024-11-21 19:10:13 +01:00
Currently, it only shows "Reflection submitted"
ansv7779 merged commit ff4c5b58b4 into develop 2024-11-21 19:20:48 +01:00
ansv7779 deleted branch 3412-supervisor-edit-reflection 2024-11-21 19:20:48 +01:00
Sign in to join this conversation.
No description provided.