-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(medicaid submission): Medicaid Form Submission (#181)
* initial structure * More layout * setup react-hook-form and zod and finish layout * fix label issue and some fancy typescript to make it typesafe (tuples) * add open sans font * mostly working state * fix uploads * attachment stuff * make mike happy * yut * yut * make submission things happen for dashboard * yut * working * routing * crumbs * date thing * button fix thing * buttons and such * remove typo * rm * rm axios * free brittney * asdf * meh.. populate with the state * we should be able to clean this up * Pass title in the payload * error banner at bottom * basic loading spinner * modal by fire * blue hyperlinks * modals for success/failure * language * rm dropdown * danke ben * Fix other peoples issues * title fix. padma 1 * syntax padma 2 * open in new tab, but idk how to link to a speicifc faq question... padma 4.1 * correct FAQ... padma 5 * spa ce bewteen sentences... padma 10 * add faq page as new tab link, but still dont know how to link to speciifc question... padma 11.1 * add text... padma 12 * make required attachment required... padma 13 * drop timestamp.. padma 15 * add missing word... padma 18 * multi file, removable file, capped at 80... padma 20, 25 * language * add timestamp to zip * cancel modal * FAQ fixes, thanks wale/kevin. padma 4.2 and 11.2 * fixes * fix regex * fixes * uc * remove help text * modal updates * allow past dates * limit file types * remove unused * Auto upcase the ID field text * Check user has access to state * Check that the SPA ID does not already exist * format with slashes * Destructure per kevin * Abstract per kevin * Fix 29 * fix file size * change name --------- Co-authored-by: Mike Dial <[email protected]> Co-authored-by: Benjamin Paige <[email protected]>
- Loading branch information
1 parent
fa0ac18
commit 961fd0d
Showing
29 changed files
with
949 additions
and
134 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
export type FileTypeInfo = { | ||
extension: string; | ||
description: string; | ||
mime: string; | ||
}; | ||
|
||
export const FILE_TYPES: FileTypeInfo[] = [ | ||
{ extension: ".bmp", description: "Bitmap Image File", mime: "image/bmp" }, | ||
{ | ||
extension: ".csv", | ||
description: "Comma-separated Values", | ||
mime: "text/csv", | ||
}, | ||
{ | ||
extension: ".doc", | ||
description: "MS Word Document", | ||
mime: "application/msword", | ||
}, | ||
{ | ||
extension: ".docx", | ||
description: "MS Word Document (xml)", | ||
mime: "application/vnd.openxmlformats-officedocument.wordprocessingml.document", | ||
}, | ||
{ | ||
extension: ".gif", | ||
description: "Graphics Interchange Format", | ||
mime: "image/gif", | ||
}, | ||
{ | ||
extension: ".jpeg", | ||
description: "Joint Photographic Experts Group", | ||
mime: "image/jpeg", | ||
}, | ||
{ | ||
extension: ".odp", | ||
description: "OpenDocument Presentation (OpenOffice)", | ||
mime: "application/vnd.oasis.opendocument.presentation", | ||
}, | ||
{ | ||
extension: ".ods", | ||
description: "OpenDocument Spreadsheet (OpenOffice)", | ||
mime: "application/vnd.oasis.opendocument.spreadsheet", | ||
}, | ||
{ | ||
extension: ".odt", | ||
description: "OpenDocument Text (OpenOffice)", | ||
mime: "application/vnd.oasis.opendocument.text", | ||
}, | ||
{ | ||
extension: ".png", | ||
description: "Portable Network Graphic", | ||
mime: "image/png", | ||
}, | ||
{ | ||
extension: ".pdf", | ||
description: "Portable Document Format", | ||
mime: "application/pdf", | ||
}, | ||
{ | ||
extension: ".ppt", | ||
description: "MS Powerpoint File", | ||
mime: "application/vnd.ms-powerpoint", | ||
}, | ||
{ | ||
extension: ".pptx", | ||
description: "MS Powerpoint File (xml)", | ||
mime: "application/vnd.openxmlformats-officedocument.presentationml.presentation", | ||
}, | ||
{ | ||
extension: ".rtf", | ||
description: "Rich Text Format", | ||
mime: "application/rtf", | ||
}, | ||
{ extension: ".tif", description: "Tagged Image Format", mime: "image/tiff" }, | ||
{ extension: ".txt", description: "Text File Format", mime: "text/plain" }, | ||
{ | ||
extension: ".xls", | ||
description: "MS Excel File", | ||
mime: "application/vnd.ms-excel", | ||
}, | ||
{ | ||
extension: ".xlsx", | ||
description: "MS Excel File (xml)", | ||
mime: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", | ||
}, | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.