Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate rescript components to typescript; uninstall ReScript (#8316)
* upgrade eslint and prettier packages * run project wide format * use prettier for tailwind lint rules * Rewrite component to typescript (Authored-by: Shivank @skks1212) * fix unused classname * unplug rescript * add critical care index page * fix issue with dropdown clipping in popup modal * adds icons for daily round sections * fix nested `p` tag error * fix pain chart not working for updates * fix range form field's text input being able to go beyond range * fix checbox not working * fix range form field unable to parse strings as floats * fix neurological monitoring sending incorrect values for some options * fix nursing care layout * add translations to editor index * fix pressure sore not working * replace gray shade with secondary * fix cypress * fix log update sections not compliant with vite hmr update rules * fix bunch of issues with range form field * Fix issues with "Nursing Care" section * Fix issues with "Dialysis" section * Fix issues with "Bloog Sugar" section * Fix issues with "Dialysis" section * Fix issues with "ABG Analaysis" section * Fix issues with "IO Balance" section * Fix issues with "Pupil Size" component * Fix issues with "Neurological Monitoring" section and RadioFormFIeld * fix uncontrolled input error in range form field * Added support for IV and NIV Respiratory Support and fix issues with Resp. support section * improve type definitions for Human Body component and Pressure Sore * Fix issues with "Pressure Sore" section * Visual improvements to Human Chart component * Fix issues with "Pain Chart" in Vitals section * Update preview componets in Consultation Dashboard to use newer components * Check for linked ventilators when filing resp. support section * update cypress tests * fix prine position padding and LOC layout * update LOC choices * update vertical spacing of radio form field * Nursing Care: reduced vertical spacing * Fix I/O Balance select menu not functional * ABG Analaysis: Correct pH value slider range to max 10 instead of 14 * Respiratory Support: Adds missing range value description for tidal volume * remove unused field `consciousness_level_detail` * Fix showig constricted when cannot be assessed selected * Fixes issue when right pupil's checkbox label causes to toggle left pupil's checbox value to change due to same id * Reduce spacing in Glasgow Coma Scale * Fix whitespace breaks in neurological monitoring preview: LOC * Adds missing support for progress note round type sections * Fix spacing between title of pressure sore and pain scale preview tabs * Fix size and spacing of Range Form Field's numeric input and unit selector * Fix pain scale and pressure sore popup not closing on clicking save button * Show Dialog Modal for mobile screens for Pressure sore and Pain scale region editors * ensure consistent colors for pressure sore and painscale buttons and body regions based on score * fix lint issues * prettify files that are not pretty * improve i18n support and code quality refactor * Critical Care details page part 1 (5 of 11 sections) * Resp. support section preview * Pressure Sore section preview * Nursing Care section preview * I/O balance section preview * Vitals section preview * submit BP mean to backend * add success notifications for completing * fix pressure sore colors * remove unused dependencies * Revert "remove unused dependencies" This reverts commit c0e6d5c.
- Loading branch information