Campr-Project-Management / campr

Campr Workspace App
GNU Affero General Public License v3.0
39 stars 9 forks source link

Status Report - Project condition interaction with trend chart #67

Closed HannesCAMPR closed 4 years ago

HannesCAMPR commented 4 years ago

Describe the bug When changing project condition in the status report module, the project trend chart does not change in real-time when the status changes. If you save the report, the trend chart changes.

To Reproduce Steps to reproduce the behavior:

  1. Go to module "Status Report"
  2. Create a new status report
  3. Change the project condition using the "traffic light" on the top of the page
  4. Trend chart is supposed change, but changes only occur when saving using the button in the bottom of the page

Expected behavior Real-time change of project trend chart without the need to save

Screenshots 200622_status report trend chart

Desktop (please complete the following information):

Tanzorr commented 4 years ago

Put a link for this page, please.

HannesCAMPR commented 4 years ago

https://campr-tutorials.campr.cloud/#/projects/1/status-reports You need to create a new status report. To create a project trend line you need multiple status report that also need to be some time apart.

HannesCAMPR commented 4 years ago

Feedback: I can see the chart doing something while clicking on the traffic light. But the reaction is incorrect and doesn‘t follow the trend chart rules. The former report is green and I change a new report to green, yellow or red, and the chart refreshes but alwasy shows „+1“. After saving the report, it shows it correct.