-
Notifications
You must be signed in to change notification settings - Fork 85
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
OP-1043 | Implement soft deletion #2077
OP-1043 | Implement soft deletion #2077
Conversation
…//github.com/SteveGT96/openhospital-gui into SteveGT96-feature/OP-1043-users-and-groups-soft-delete
…//github.com/SteveGT96/openhospital-gui into SteveGT96-feature/OP-1043-users-and-groups-soft-delete
…//github.com/SteveGT96/openhospital-gui into SteveGT96-feature/OP-1043-users-and-groups-soft-delete
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks a lot!
…//github.com/SteveGT96/openhospital-gui into SteveGT96-feature/OP-1043-users-and-groups-soft-delete
…//github.com/SteveGT96/openhospital-gui into SteveGT96-feature/OP-1043-users-and-groups-soft-delete
…//github.com/SteveGT96/openhospital-gui into SteveGT96-feature/OP-1043-users-and-groups-soft-delete
…//github.com/SteveGT96/openhospital-gui into SteveGT96-feature/OP-1043-users-and-groups-soft-delete
…//github.com/SteveGT96/openhospital-gui into SteveGT96-feature/OP-1043-users-and-groups-soft-delete
…//github.com/SteveGT96/openhospital-gui into SteveGT96-feature/OP-1043-users-and-groups-soft-delete
…//github.com/SteveGT96/openhospital-gui into SteveGT96-feature/OP-1043-users-and-groups-soft-delete
…//github.com/SteveGT96/openhospital-gui into SteveGT96-feature/OP-1043-users-and-groups-soft-delete
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Although when editing a soft-deleted user or group it blocks the operation because the record "is already marked as deleted", I think we can live with it because why one should edit other fields on an already soft-deleted record? If really needed one can temporarly remove the "deleted" check, change the required fields and mark it again as deleted afterward.
Wdyt?
My Opinion at the beginning is that the edit boutton shoudn't be enabled after soft deletion. Instead, we should have just added a "Restore" button that is only shown when the selected item is soft deleted(by clicking on it, we restore the item and therefore make the item editable again). |
@mwithi, the pipeline is broken. |
it's fine, it's because it is taking informatici core instead of your core, IDKW.... on a next commit from your should be ok |
If you want to implement like that is ok also, but in GUI we never had something like "Restore" and we mostly stick to "Edit" term for any operation... we will update the DOC though, so well explained everything is possible. |
We could do that later in an enhancement task. |
I think checks are failing because GUI and CORE are not equally aligned with develop |
See OP-1043