SOL scheduling
This project contains SOL's scheduling front-end component which is used in Hosted Pages to let a patient schedule an appointment with a provider.
This repository only contains the front-end. All the logic and interaction with APIs happens within the extension and the Hosted Pages app.
Installation
Note that we use yarn PnP which might require additional configuration in your IDE to work properly. You can follow the installation instructions below to get the repository running locally.
If you use a different IDE, check the yarn documentation for instructions on IDE setup.
Installation (VSCode)
Follow the steps below to set up the extensions repository locally on your machine:
- Check out the repository locally
- Install the ZipFS extension in VSCode
- Explicitly set the Typescript version in VSCode:
- Press
ctrl+shift+p
in a TypeScript file - Choose "Select TypeScript Version"
- Pick "Use Workspace Version"
Storybook
Browse and test all components in this repository via Storybook.
Or run yarn storybook
locally.
Prerequisites
This repository currently uses UI components from Awell's ui-library to build the front-end faster. These components will be be unstyled if your app is not wrapped in Awell's ThemeProvider and you are not importing the styles from ui-library.
In this repository, this is handled by:
- Importing the stylesheet in
.storybook/preview.ts
- All stories are decorated with the
<ThemeProvider />
component