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

Add logic to initiate the cooperation closing process #1026

Merged

Conversation

ShadowOfTheSpace
Copy link
Contributor

@ShadowOfTheSpace ShadowOfTheSpace commented Dec 4, 2024

  • Added the status request to close to the COOPERATION_STATUS_ENUM and NOTIFICATION_TYPE_ENUM enums
  • Added correct logic to change the needAction

Scenario where Student initiates cooperation closure:

  • Cooperation before Student request
    image_2024-12-04_11-37-56

  • Request from Student to close cooperation
    image_2024-12-04_11-39-41

  • Cooperation after Student request (needAction changed to tutor)
    image_2024-12-04_11-40-01

Scenario where Tutor initiates cooperation closure:

  • Cooperation before Tutor request
    image_2024-12-04_11-41-07

  • Request from Tutor close cooperation
    image_2024-12-04_11-42-06

  • Cooperation after Tutor request (needAction changed to student)
    image_2024-12-04_11-42-27

Copy link

sonarcloud bot commented Dec 4, 2024

@RomanRozbytskyi RomanRozbytskyi self-requested a review December 4, 2024 15:09
@ShadowOfTheSpace ShadowOfTheSpace merged commit f73d300 into develop Dec 4, 2024
4 checks passed
@ShadowOfTheSpace ShadowOfTheSpace deleted the feature/1019/initiate-cooperation-closing-process branch December 4, 2024 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

(SP: 1) Add logic to initiate the cooperation closing process
5 participants