care_fe
care_fe copied to clipboard
Log update- vitals
Is your feature request related to a problem? Please describe. In Log updates (Critical round), Vitals section, there is a section to mark details of pain.
Against a region, user can mark scale of pain from 0-5.
Here the text "Low" , "Normal", "High" comes written next to the number.
Describe the solution you'd like
It is not useful to tag pain as "Normal"
Only retain "Low" only at 0 and "High" at 5.
- [ ] remove the appearance of "normal" against 1-4 painscale
@aparnacoronasafe can you please assign me this issue
@saloni0419 done!
@aparnacoronasafe I have solved the issue, i am not able to push it on Git Hub i am running the command right but on git commit it is showing no filed staged. I have forked, cloned right added a new branch, and git add. , git status. I have done all these still showing the error. Can you please help me
@saloni0419 what does git status
and git diff
show?
@rithviknishad git diff shows nothing and git status shows
Seems weird. Are you in the right directory? 😅
cc: @sainak @Ashesh3
@saloni0419 it's better to use the integrated terminal or the visual git manager included in your editor
Most of the problems can be solved with a simple on/off so close your terminal and editor and open them again in the correct path
@sainak I have done it I have even reforked it. but I will try to get it in the integrated terminal
i did it again still shows the same issue
![]()
i did it again still shows the same issue
Can you verify if your changes are still there in the respective files?
@Ashesh3 yes I have changed the file but it showing modified husky.sh
here is the ss of change in UI. i have solved this issue and changed the code
here is the ss of change in UI. i have solved this issue and changed the code
Could you point out the full path of the file you edited in order to make this change? (Entire path /d/...../.../...
)
D:\Open Source\care_fe\src\Components\CriticalCareRecording\Pain\CriticalCare__PainInputModal.bs.js
D:\Open Source\care_fe\src\Components\CriticalCareRecording\Pain\CriticalCare__PainInputModal.bs.js
@saloni0419 the above file is generated from src/Components/CriticalCareRecording/Pain/CriticalCare__PainInputModal.res the issue that you are working on requires changes in rescript files
As Aakash said above, you need to make changes to src/Components/CriticalCareRecording/Pain/CriticalCare__PainInputModal.res
file, and the same will auto reflect in your preview, then try to git add that file, make the commit and push changes.
okay I am doing it
I am just new to rescript files and just wanted to know, that I have changed the code in .res file, now how it will reflect the change in js and overall . can anyone please help in this
I am just new to rescript files and just wanted to know, that I have changed the code in .res file, now how it will reflect the change in js and overall . can anyone please help in this
Once you've made the changes to the Rescript file (.res), you need to build them
- To build them just once you can run
npm run build:res
(Which runsrescript clean && rescript build
) - For a better dev experience, run the rescript builder in watch mode
npm run dev:res
, this will auto build your .res files as you keep making changes. - After the build, refresh the page if that does not happen automatically and you should see your changes.
To learn more about rescript files: https://rescript-lang.org/
I have linked a PR yesterday. Please review it.
Hi, @gigincg, @nihal467, @khavinshankar, @mathew-alex, @aparnacoronasafe, This issue has been automatically marked as stale because it has not had any recent activity.