Skip to content

Commit 4d3a1f4

Browse files
chore: update endpoint URLs in constants file (#8)
* chore: update endpoint URLs in constants file * Updated copy and QC credentials (do not merge) (#9) * Updated copy and QC credentials * Updated simple report url * Moved credentials section from ecr refiner to ecr reviewer card * added ecr viewer credentials * Credentials moved to contant file --------- Co-authored-by: Johanna <103958711+johanna-skylight@users.noreply.github.com>
1 parent c83cacc commit 4d3a1f4

3 files changed

Lines changed: 16 additions & 11 deletions

File tree

src/app/page.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const Home: React.FC = () => {
4545
demoLink={PAGES.QUERY_CONNECTOR}
4646
githubLink={PAGES.QUERY_CONNECTOR_REPO}
4747
reverseImage
48-
credentials={{ username: "demo", password: "demo" }}
48+
credentials={{ username: PAGES.QUERY_CONNECTOR_USERNAME, password: PAGES.QUERY_CONNECTOR_PASSWORD }}
4949
/>
5050
<Card
5151
title="Record Linker"
@@ -65,7 +65,7 @@ const Home: React.FC = () => {
6565
/>
6666
<Card
6767
title="eCR Viewer"
68-
description="Makes it easier for public health staff to find relevant information in eCR documents. It combines both the eICR and RR records into a single view and highlights relevant lab or clinical information for conditions present in the eCR."
68+
description="Makes it easier for public health staff to find relevant information in eCR documents. It combines both the eICR and RR records into a single view and highlights relevant lab or clinical information for conditions present in the eCR. This demo is best viewed on desktop."
6969
image={
7070
<Image
7171
className={classNames(cardImgClasses)}
@@ -77,6 +77,7 @@ const Home: React.FC = () => {
7777
demoLink={PAGES.ECR_VIEWER}
7878
githubLink={PAGES.ECR_VIEWER_REPO}
7979
bgColor={BgColorType.PURPLE}
80+
credentials={{ username: PAGES.ECR_VIEWER_USERNAME, password: PAGES.ECR_VIEWER_PASSWORD }}
8081
/>
8182
<Card
8283
title="eCR Refiner"
@@ -91,7 +92,6 @@ const Home: React.FC = () => {
9192
}
9293
demoLink={PAGES.ECR_REFINER}
9394
githubLink={PAGES.ECR_REFINER_REPO}
94-
credentials={{ username: "demo", password: "demo" }}
9595
/>
9696
</div>
9797
</div>

src/components/card/card.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,11 @@ const Card: React.FC<CardProps> = ({
9696
<p className="grid-col-10 tablet:grid-col-12 desktop:grid-col-12 text-accent-cool text-medium text-italic">
9797
Access to this demo requires login credentials:
9898
</p>
99-
<p className="grid-col-8 tablet:grid-col-12 desktop:grid-col-12 text-accent-cool text-medium">
99+
<p className="grid-col-10 tablet:grid-col-12 desktop:grid-col-12 text-accent-cool text-medium">
100100
<span className="text-normal">Username: </span>
101-
<span className="text-semibold">demo</span>{" "}
101+
<span className="text-semibold">{credentials.username}</span>{" "}
102102
<span className="text-normal">Password: </span>
103-
<span className="text-semibold">demo</span>
103+
<span className="text-semibold">{credentials.password}</span>
104104
</p>
105105
</div>
106106
)}

src/utils/constants.ts

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,19 @@
11
export const PAGES = {
22
LANDING: "/",
33
// demo urls
4-
ECR_VIEWER: "#",
5-
ECR_REFINER: "#",
6-
QUERY_CONNECTOR: "https://demo.queryconnector.dev",
7-
SIMPLE_REPORT: "https://demo.simplereport.gov",
8-
RECORD_LINKER: "https://recordlinker.dibbs.demo",
4+
ECR_VIEWER: "https://viewer.dibbs.tools",
5+
ECR_REFINER: "https://refiner.dibbs.tools",
6+
QUERY_CONNECTOR: "https://connector.dibbs.tools",
7+
SIMPLE_REPORT: "https://demo.simplereport.gov/app/results/universal?facility=a8740505-f8c0-47e4-bd1b-e21d5dea3b4a",
8+
RECORD_LINKER: "https://linker.dibbs.tools",
99
// repo urls
1010
QUERY_CONNECTOR_REPO: "https://github.com/CDCgov/dibbs-query-connector",
1111
RECORD_LINKER_REPO: "https://github.com/CDCgov/RecordLinker",
1212
ECR_VIEWER_REPO: "https://github.com/CDCgov/dibbs-ecr-viewer",
1313
ECR_REFINER_REPO: "https://github.com/CDCgov/dibbs-ecr-refiner",
14+
// credentials
15+
QUERY_CONNECTOR_USERNAME: "mario@dibbs.tools",
16+
QUERY_CONNECTOR_PASSWORD: "Nye6KpjgkHWT",
17+
ECR_VIEWER_USERNAME: "viewer_demo@dibbs.tools",
18+
ECR_VIEWER_PASSWORD: "4TJfmo416Jws",
1419
};

0 commit comments

Comments
 (0)