beamanator / rips-validation-cext Goto Github PK
View Code? Open in Web Editor NEWChrome Extension that adds some special features to RIPS
Chrome Extension that adds some special features to RIPS
An employee found that an input box has been hidden when the value is set to 9 because of this css selector. The selector should only match the vulnerability checkbox + label
Version 0.1.3 prevents attendance notes from being saved in "Add action" - NOT GOOD
Automatically set caseworker dropdowns (on Add Actions and Services) pages to the logged-in user. If user is not a caseworker, don't worry. Just don't select anything.
Right now we always add a 0 when phone number is 9 characters. This isn't useful when the first character is 0 because this phone number is still invalid, but the extension accepts it.
Now we should error (and not add initial 0) when phone number is 9 numbers and first is a 0.
Want to know how many times Archive is being hit, and maybe who is doing it - send it to my email address?
I'm still not clear what these values are used for, and they probably should be hidden. Some more analysis should be done before completely removing them :)
When RIPS times out, saving a page causes RIPS to log out, so all of the data is lost. This is needed for the following pages:
Add Action (high)
CBI (low)
Registration (low)
In Firebase: Somehow found that the 'unknown' user is saying the last login date is TOMORROW, and the count is 5, as of today. This SHOULD NOT BE POSSIBLE since this was implemented only recently.
All data with real usernames looks good - last login is today or in the past, and login count is max of 2 or 3.
When users log in to RIPS (hopefully right at the beginning), update their most recent log in date via the chrome extension
Purpose: track people who have installed the extension and from this, can tell who hasn't installed it.
Try to set up a link to client accounts from the relatives page - not necessarily needed for reporting or anything, but it would make it easier to access related clients probably
People keep giving me feedback that they can't follow the Extension Installation guide b/c it's not working. Often this is because people are trying to click on the screenshot in the google doc, instead of navigating to the tab with RIPS. This should be improved somehow.
Clients can be created or 'saved' (on CBI) with invalid data. Warnings will pop up when data is entered incorrectly, but form submission is not prevented!!
Or make it slightly less easy to see for now - then hide it once we confirm nobody is using it.
Each time someone clicks on a report (or actually runs the report), count it in Firebase
Specifically, improve view manipulator files. Suggested edit:
Only one name should go in First Name box, all other names go in Surname.
Should I automatically edit names, or pop up a warning for people? Probably can be automatic.
Users aren't automatically adding Dependents / Vulnerabilities because 1) they aren't shown on the Registration page, and 2) they aren't shown automatically in CBI page.
Solutions:
International #s can start with +2 or +20 - right now this extension will probably strip the + automatically, then tell you the number is invalid because it will most likely start with a non-zero digit.
This can be better!
This is not a bug with the validation extension, but with RIPS itself. I should fix this issue w/ the extension so that the issue can be fixed now!
A while ago I (and some colleagues) discovered that sometimes when you add / remove Vulns and click "Save" quickly, the page reloads & shows the old data. This is pretty reproducible, so there definitely is a bug somewhere. For a while, I didn't mention anything because the devs were working on bigger issues, but now I thought it would be a good time to bring this one up again.
One workaround I found is:
$('form#postClntVulSubmit').removeAttr('action').removeAttr('method').removeAttr('novalidate')
- removing the 'action'
, 'method'
, and 'novalidate'
attributes from the form surrounding the vulnerability checkboxes. I told the devs, they will hopefully let me know later this week if they have a better solution.
Examples: '<', '&', ' ', etc
these characters show up as HTML characters (&nsp, etc)
Columns that should probably be hidden:
Note?
Major Action?
In CBI - hide "Delete" Button b/c currently ANYONE can delete... Babs says NOBODY should b able to (except me)
Similar - think about "Archiving" - who should be allowed, who shouldn't, etc.
Currently when v0.1.3 is enabled, clicking delete button makes the page refresh but doesn't pop up the swal error saying the client was deleted - probably because of the submit listeners
Disable save button that we hid! Right now it's not hidden so it's possible it can be clicked on accident (maybe) but it would be safer if it was disabled.
Just in case another org wants to use the code, de-couple site-specific code.
Ex: Dependent & Vulnerability warnings
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.