Skip to content

Releases: RyanNerd/rxchart-web

Medicine Active checkbox and Other drug names

06 Aug 07:36
1723b36
Compare
Choose a tag to compare
  • 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

05 Aug 07:05
Compare
Choose a tag to compare
  • Groundwork for the pillbox feature
  • Change copy name to clipboard to be FirstName LastName was LastName, 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

15 Jun 01:43
c94863e
Compare
Choose a tag to compare

User facing 🧑‍🦱 :

  • Client name and DOB buttons are now dropdown buttons

    • Client button
      image
    • DOB button
      image
  • Nickname field has been added to the client editor
    image

Internal 👽 :

image

System busy feedback and fill date validation

30 May 05:05
c9172de
Compare
Choose a tag to compare

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 and In 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 to null
  • 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.

image

LoginPage 👷 Rework

27 May 18:39
Compare
Choose a tag to compare

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 global signIn
  • Move the organization name logic to use React instead of innerHTML hack
  • Update the logo on the signout tab

Revamp 💄 👷 OTC ListGroup

26 May 10:41
Compare
Choose a tag to compare

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

21 May 11:11
Compare
Choose a tag to compare
  • No longer use residentInfo in the ResidentPage.tsx instead use showResidentEdit
  • 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 and Medicine.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

20 May 10:06
Compare
Choose a tag to compare
  • ResidentEdit accepts notes 📓 for the client
  • Created PopoverButton component
  • ClientRoster.tsx now uses react-new-improved-window

Minor bug fixes and version updates

15 May 11:29
Compare
Choose a tag to compare
  • 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

12 May 08:49
4cd6ea9
Compare
Choose a tag to compare
  • Print individual and full list of active clients for medbox labeling
  • Fixed a bug where activeResidentglobal 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.