Releases: RyanNerd/rxchart-web
Releases · RyanNerd/rxchart-web
Medicine Active checkbox and Other drug names
- DrugDropdown.tsx changed for the drop down items to display OtherNames field if populated
- MedicineDetail.tsx changed to disable the + Log Drug button if the medicine isn't Active
- MedicineEdit.tsx Added Active checkbox and OtherNames textbox entry; also made all the labels unselectable
- MedicinePage.tsx filters the
medicineList
based on if Active is true - RecordTypes.ts updated for the Active and OtherNames fields
- Some dependencies updated mostly for types and the TypeScript version was bumped to 4.3.5 and removed the eject script so this never gets executed
Groundwork for Pillbox feature
- Groundwork for the pillbox feature
- Change copy name to clipboard to be
FirstName LastName
wasLastName, FirstName
- Fixed a regression 🐛 for the OtherNames column added in Medicine (this was fixed in rxchart-app)
Revamp the client name and DOB buttons and Nickname feature
System busy feedback and fill date validation
User facing 😀 :
-
When the system is busy some buttons have a spinner 🎡 shown as feedback that the system is unavailable.
-
When editing/adding an OTC drug log the
Out
andIn
fields are not shown. -
Fill Date for adding new medicine no longer defaults to today
-
Fill Date 📆 is validated 👮 and the save button is disabled 🚫 when in an invalid state.
-
Added some feedback 📈 indicating why an entry isn't valid (e.g. Drug name cannot be blank)
-
Fixed 🔧 a 🐛 where invalid fill date would crash RxChart
-
The client roster printout 🖨️ doesn't have a dash in front of the name on the printout.
Internal 👽 :
- Observer promises use
finally()
to set state back tonull
getDrugName()
in common.ts was changed to be more declarative.- A bunch of 🦆 typing was removed from ManageDrugPage.tsx
- MedicineEdit.tsx and ResidentEdit.tsx modals make better use of Bootstrap's form validation 👮 and
useEffect()
hooks check and enforce the validations.
LoginPage 👷 Rework
User Facing 😀:
- Login Page has been restyled.
- Logout Page has been restyled.
Internal 👽:
- Style the Login/Logout page to use
neumorphism.css
- Move the RxChart header and organization from index.html to App.tsx
- Simplified AuthObserver by eliminating several globals
login
,loginFailed
,logout
, and__apiKey
, combining them into one globalsignIn
- Move the organization name logic to use React instead of
innerHTML
hack - Update the logo on the signout tab
Revamp 💄 👷 OTC ListGroup
Revamp 💄 👷 OTC ListGroup
- OTC list group defaults to not being shown with a button to show the OTC List.
- This was done because OTC drugs are not often logged and the details for the currently selected Rx were hidden by default.
Fix resident dupe problem
- No longer use
residentInfo
in the ResidentPage.tsx instead useshowResidentEdit
- Revamped 👷 how new clients are updated and added.
- Logic to handle reactivation of existing clients has been moved completely to the back-end.
- Added a
newResidentRecord
constant to be more consistent with how new records are created. - When adding new client the list of active clients is searched and if a match is found make that active.
- If adding a new client and they exist as a deactivated client they are re-activated via backend logic now.
- Removed unneeded nullification of
Medicine.Notes
andMedicine.Directions
that are handled on the backend now. - ResidentManager.ts was greatly simplified.
- ClientObserver.ts was made to be much more promise based so serialization is better handled.
- The
__client
observer allows for more types in the callback property.
➕ Add Client Notes Feature
- ResidentEdit accepts notes 📓 for the client
- Created PopoverButton component
- ClientRoster.tsx now uses
react-new-improved-window
Minor bug fixes and version updates
- Dependencies in package.json updated to latest stable versions
- 🔧 Fixed a bug when the Rx dropdown covered the + OTC and Edit OTC buttons the buttons would bleed through (used z-index: 1)
- Added
useStickyState()
hook for possible future use.
Add Print Client Roster Feature
- Print individual and full list of active clients for medbox labeling
- Fixed a bug where
activeResident
global wasn't getting updated when the client information changed. - Client name and DOB are separate buttons with the name button invoking the print dialog for the current client.
- About page is now a modal instead of a JS
alert()
. Links to developer and to report an issue have been added.