Revert "feat: Temperature preference stored in local storage (#5589)" #5707
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This reverts commit 556875b.
WHAT
🤖 Generated by Copilot at 17d5b0d
This pull request removes the code and data related to temperature unit conversion and selection in various components and files. The purpose is to simplify the code and the UI, and to fix the temperature unit to Fahrenheit as the standard unit for the app. The pull request affects the following files:
VirtualNursingAssistantLogUpdateCard.tsx
,DailyRoundsList.tsx
,DailyRoundListDetails.tsx
,DailyRounds.tsx
,LegacyPatientVitalsCard.tsx
,UserProfile.tsx
,TemperatureSelector.tsx
,DevicePreference.tsx
,models.tsx
, andutils.ts
.Proposed Changes
@coronasafe/care-fe-code-reviewers @coronasafe/code-reviewers
Merge Checklist
HOW
🤖 Generated by Copilot at 17d5b0d
TemperatureSelector
fromUserProfile
component (link, link)getTemperaturePreference
fromDailyRoundsList
,DailyRoundListDetails
, andLegacyPatientVitalsCard
components (link, link, link)temperatureUnit
property fromDailyRoundsModel
interface (link)temperatureUnit
property from API requests and responses inVirtualNursingAssistantLogUpdateCard
,DailyRoundsList
,DailyRoundListDetails
, andLegacyPatientVitalsCard
components (link, link, link, link, link)temperatureUnit
display from UI inDailyRoundListDetails
andLegacyPatientVitalsCard
components (link, link)utils
file (link)tempInCelcius
property inDailyRounds
component (link, link, link, link, link)DailyRounds
component to allow user to toggle temperature unit (link)DailyRoundListDetails
andDailyRounds
components (link, link)DailyRoundsCard
component inDailyRoundsList
component (link)DailyRoundListDetails
component (link)