Releases: Beamanator/RIPS-Validation-CExt
Release v1.1.0 - Workaround for Delete Bug
Fixes bug in RIPS where a user can easily delete a client on the Client Basic Information page, just by pressing "Enter" while the main form is active / clicked on.
People try to press "Enter" to save time updating clients (instead of scrolling back up the page to click on the legit "Save" button), but somehow this triggers the same action as the Delete button. Previously, this extension hid the "Delete" button from users, but with OR without this extension, this bug appears.
Now, pressing "Enter" just triggers a console.log
statement warning the user that the default action has been suppressed. This workaround can be removed easily once the erroneous functionality is fixed by the RIPS devs.
Release v1.0.0
At this point, the chrome extension does the following:
Validation:
- Validates Phone Numbers ("Preferred" & "Other")
- Validates UNHCR Numbers
- Formats: Old, new, etc. (fix)
- Validates DOB
DOM manipulation:
- Removes delete button for everyone except "Staff" user
Release v0.1.20 - Privacy Report + Small Fixes
New:
- Reference to Privacy Policy
- Consistent Report title format when hovering over text
Fixes:
- Small text changes in comments or output
Other:
- Removed more old code