Open vi0letcr0w opened 4 years ago
It will be added. Unfortunately I don’t have an estimate time for it. If you need it right now you may want to grab an old version and bypass the sign in flow.
+1 would love to see this implemented. Could you select roughly where I should start looking in the code to add it?
@mentarus @vi0letcr0w
I was trying to implement this but I was stuck at getting a response with case type information. USCIS only sends responses with case types for cases that are in "received" stage. I do not have a recent receipt number so I am having a hard time to get valid response for testing.
Here is some info that might be useful.
In this file (src/app/services/data-providers/uscis-web-page/uscis-web-page.service.ts), analyzeResult(html: string)
. This function extracts information from the HTML page, and make a CaseStatus
object (src/app/classes/case-status/case-status.ts) with extracted info.
If case type is available, you should be able to find it in CaseStatus.text
. You may add a new key caseType
in CaseStatus
, and fill it with case type when it is available. The code for extracting case type can be found in older versions in other branches. Some slight changes may be necessary though.
Then the rest is to adjust the UI to display case type. (src/app/components/main/status-list/*)
Hope you can sort it out.
PRs are welcomed if you would like to contribute to this project.
Cheers.
has any one figured out how to add case type ?
Case type info was very helpful in the previous versions. Without "case type" info, it is impossible to analyze the data and have an understanding status of similar cases. Can you add the feature back to the new version? In Ver. 2019.07 which has "case type" feature, it is no longer possible to save the data as required sing in/up function is not working anymore. If this feature can't be added to the current version, can you remove the sign up/in requirement in Ver. 2019.07 ?