Nicolai Olsen a899899204a Different icons when the activity is from another user 23 Mar 2021 Nicolai Olsen 40cd79f98f0 Conditional styling for disabled activity rows 23 Mar 2021 Nicolai Olsen c14de1c903b Added margin for clearing the button with scroll + added fill color for cancel button. 23 Mar 2021 Nicolai Olsen 3588a750ed1 Activity card is now only showing if activity is not cancelled. 23 Mar 2021 Nicolai Olsen 3d78aaef101 Removed unused CarePlanService dependency 23 Mar 2021 Nicolai Olsen 22c0f3e38cb editCarePlan now successfully changes and submits activity statuses 23 Mar 2021 Nicolai Olsen 5eaedab4d2a More stub-data 23 Mar 2021 Nicolai Olsen 3a462f587c3 Fixed a bug where note & activity edit would not carry over note.id & version. 23 Mar 2021 Nicolai Olsen 52db3779370 Fixed a bug where activity edit would not carry old values from other unchanged properties. 23 Mar 2021 Nicolai Olsen 7faaf7534f1 M merged with develop. 23 Mar 2021 Nicolai Olsen 6d4a4c8fa89 Added temporary stubData 23 Mar 2021 Nicolai Olsen fb411420757 Fixed elvis operator 23 Mar 2021 Nicolai Olsen 48320ca93c1 Inserted elvis-operators to avoid accessing null-values. 22 Mar 2021 Nicolai Olsen ff82b253d61 Temp comment 22 Mar 2021 Nicolai Olsen bda0f93db6a Fixed unit test 22 Mar 2021 Nicolai Olsen 5d050682589 Fixed unit test 22 Mar 2021 Nicolai Olsen 24bf327df2c Updated api version to 0.0.7 22 Mar 2021 Nicolai Olsen 3ce09666b4d Changed *ngFor to *ngIf since activity.note is no longer an array 22 Mar 2021 Anders Ringsmose 54ec1e8e464 Remove DataCardResponse from interface. Just use DataCard directly 22 Mar 2021 Nicolai Olsen 6d1135b534f M Pull request #33: Feature/extnol/api services rework Merge in WEC/egraviditet from feature/extnol/api-services-rework to develop
* commit 'eb02ccd15124b4c0df24b2331949a4a0506cd011': (43 commits)
Replaced daysInMensCycle with daysInMensCycleMax
getters and setters for daysInMensCycleMin & Max methods.
Moved url responsibilities around.
Added comment for 'strange bug' with window.location.reload
Made unit-tests for observation.service
... 22 Mar 2021 Nicolai Olsen b5765cd6ed9 Checkmark for toggleAll checkbutton is now set upon being visible. 17 Mar 2021 Nicolai Olsen 7eca10c3c86 Fixed broken unit-tests 17 Mar 2021 Nicolai Olsen c3cdaeee706 note is now sent as null if the content is empty. 17 Mar 2021 Nicolai Olsen 91bee2f5633 Hiding/Showing certain buttons on the activity depending on the status. Now showing associated icons. 17 Mar 2021 Nicolai Olsen b778643c039 Added comment 17 Mar 2021 Nicolai Olsen bdd3015356a toggleAll checkbox is now again enabled at all times. selectedActivities are initialized when modal is shown with prechecked activities. toggleAll now only toggles 'allowed' activities. 17 Mar 2021 Nicolai Olsen ba6d6185aaa toggleAll checkbox is now disabled when either an activity is finished or from another user, to avoid marking 'unmarkable' activities. 17 Mar 2021 Nicolai Olsen 9d3ba9ae29f Commented out additionalActivities due to backend not supporting it. 17 Mar 2021 Nicolai Olsen a9ae2d43f51 edit-plan-modal displayed titles are now trimmed to a max length of 40 chars. 17 Mar 2021 Nicolai Olsen af49590bafb Merge with api-services-rework 17 Mar 2021 Nicolai Olsen eb02ccd1512 Replaced daysInMensCycle with daysInMensCycleMax 17 Mar 2021 Nicolai Olsen ffd9e6784fc getters and setters for daysInMensCycleMin & Max methods. 17 Mar 2021 Nicolai Olsen 839cbb6eb09 Moved url responsibilities around. 17 Mar 2021 Nicolai Olsen 02dfe865a88 Added comment for 'strange bug' with window.location.reload 17 Mar 2021 Nicolai Olsen d6d54e1256c Made unit-tests for observation.service 17 Mar 2021 Nicolai Olsen 1b1f24c7ca5 Made unit-tests for care-plan.service 17 Mar 2021 Nicolai Olsen 6498f2e366a cleaned up unit-tests 17 Mar 2021 Nicolai Olsen dcf18dbb694 Removed data-source.service 17 Mar 2021 Nicolai Olsen 227dc6500b5 Moved dataSource unit tests to data-card. 17 Mar 2021 Nicolai Olsen 663d9cb8bcc Added comment. 17 Mar 2021 Nicolai Olsen d2af3b49e7e Moved DataSource logic into the respective api-services, updated all components and unit-tests to not use DataSourceService anymore. 17 Mar 2021 Nicolai Olsen b17aaeb17c1 Refactor ngOnInit logic into separate setup functions. 16 Mar 2021 Nicolai Olsen ebc6aeab7b4 Removed BASE_PATH provided variable 16 Mar 2021 Nicolai Olsen be832449ce2 Made setup helper functions to clean up ngOnInit function. 16 Mar 2021 Nicolai Olsen 89469339b03 Using first() pipe instead of manually trying to unsubscribe 16 Mar 2021 Nicolai Olsen ecf01e4a4da Changed data load orders. UserContext -> DataCard -> episodeOfCare, scan, clinical. Publishing episodeOfCare everytime it is set -> CarePlan. 16 Mar 2021 Nicolai Olsen 7bafad1f6eb Now disables checkbuttons for activities from other users. 16 Mar 2021 Nicolai Olsen cf9681077ec Reverting commit. Fixing in api-services-rework branch. 16 Mar 2021 Nicolai Olsen 0c164a62de1 Fixed a bug where /datacard could be called without /userContext call being done, resulting in no login info. 16 Mar 2021 Nicolai Olsen 85dbe436f2c Now using 'real' data. 16 Mar 2021