-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add allergy intolerance groups * Add ability to show json or table * Handle errors and pending state * Fix imports, minor refactor * Minor refactor * Use a ToggleButtonGroup rather than a Button * Move toggle into a reusable component with Redux state, simplify Allergy Intolerances page further * Initialize toggle state on mount, add getAllergyIntolerances request * Initialize a default rather than using a side effect * Add mui datagrid reference; add Connections page, Redux stuff and example of getConnections; add getAllergyIntolerances * Fix dates in datagrid * Rewrite Allergy Intolerance Groups to use DataGrid; remove Allergy Intolerances in order to re-implement it * Remove Hello page, add withAuthCheck HOC, use server pagination in mui datagrid * Add state persistence to local storage, logout feature, refactor out initializationSlice * Minor bug fixes and refactors * Fix SDK rehydration; add allergy intolerances; add bottom page margin * Remove unused stuff * Remove unused code * Refactor to make more reusable components * Remove getSdk's reliance on state; remove logging * Fix tableOrJsonToggle * Fix rehydration error message logic, no longer need to await getSdk * Remove console logging, add Health Summary * Add Conditions * Adjust table * Add spaces to menu * Add columns to AllergyIntoleranceGroups * Add source to condition groups * Add Labs * Add referenceRange to Labs * Add Care Plans * Add Encounters * Add Immunizations * Add Procedures * Add Vital Signs; fix pagination * Change dayMonthYear to monthDayYear * Refactor to reduce duplicate code * Clean up store directory * Add Medications * Add Medication Knowledge * Add Lab Knowledge * Turn off row selection message * Display HTML as well as JSON for Knowledge * Genericize toggle state and make it work better * Add HTML-JSON toggle to DisplayKnowledge * Remove console logging and unneeded default * Remove tests, fix page frameworks * Add test cases for Initialize * Remove unused key * Reset knowledge on page load * Standardize connections * Use reducers for request info * Remove unused prop * Add groupCode to requestInfoSlice * Disable row selection for now * Add groupCode support to HealthData pages * Update README * Hide Initialize page while rehydrating * Fix weird login behavior * Skip rehydration in brand-new session * Add getRows support to HealthDataGrid * Support client pagination for Connections screen * Always await initialization * Remove console log * Refactor tests, fix broken tests, add 'Log Out' option to side menu * Fix TypeScript errors so it's possible to build * Update Readme and fix a bug on Medications * Update .env.example * Fix error messages in tests; expect network error when well-formed key has bad environment * Move health reducers into a separate combineReducers call * Remove key from .env.example * Add TableOrJsonToggle to Connections
- Loading branch information
1 parent
bd65c65
commit 6510bce
Showing
70 changed files
with
2,198 additions
and
548 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,4 +9,10 @@ test-results | |
|
||
.env | ||
|
||
.yalc | ||
.yalc | ||
|
||
yalc.lock | ||
|
||
dist | ||
|
||
dist/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,6 @@ | ||
VITE_DEFAULT_KEY="" | ||
VITE_DEFAULT_OAUTH_CREDS="" | ||
VITE_DEFAULT_OAUTH_CREDS="" | ||
VITE_BAD_KEY="blahblah" | ||
VITE_BAD_OAUTH_CREDS="badoauthcreds" | ||
VITE_WELL_FORMED_KEY_BAD_ENV="" | ||
VITE_WELL_FORMED_KEY_GOOD_ENV="" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import { Page } from "@playwright/test"; | ||
import config from "./configTypes"; | ||
|
||
export class BasePage { | ||
protected readonly page: Page; | ||
|
||
public readonly mainMenuLocator = "#btnMainMenu"; | ||
public readonly menuItemSuffix = "MenuItem"; | ||
|
||
constructor(page: Page) { | ||
this.page = page; | ||
} | ||
|
||
protected async clickMainMenu() { | ||
await this.page.click(this.mainMenuLocator); | ||
} | ||
|
||
protected async navigate() { | ||
await this.page.goto(config.TEST_APP_URL); | ||
} | ||
|
||
protected async clickMenuItem(menuItem: string) { | ||
await this.page.click(menuItem); | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.