Skip to content

Commit ca45e83

Browse files
authored
Merge pull request #36 from yyao84/main
Add GIRPP note support, switch to aws-amplify/storage, refactor data types with various improvements
2 parents 69ae524 + 874c424 commit ca45e83

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+4735
-4710
lines changed

.github/workflows/ui-check.yml

Lines changed: 47 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,54 @@
11
name: UI Tests
22

33
on:
4-
pull_request:
5-
branches:
6-
- main
7-
push:
8-
branches:
9-
- main
4+
pull_request:
5+
branches:
6+
- main
7+
push:
8+
branches:
9+
- main
1010

1111
permissions:
12-
contents: read
12+
contents: read
1313

1414
jobs:
15-
type-check:
16-
name: UI TypeScript Check
17-
runs-on: ubuntu-latest
18-
19-
defaults:
20-
run:
21-
working-directory: ./src
22-
23-
steps:
24-
- name: Checkout
25-
uses: actions/checkout@v4
26-
27-
- name: Setup Node.js
28-
uses: actions/setup-node@v4
29-
with:
30-
node-version: 'lts/Hydrogen'
31-
cache: 'yarn'
32-
33-
- name: Install Dependencies
34-
run: yarn install --immutable --immutable-cache --check-cache
35-
36-
- name: Mock aws-custom.json
37-
run: |
38-
cat > ./aws-custom.json << EOF
39-
{
40-
"healthScribeServiceRole": "arn:aws:iam::0123456789012:role/healthScribeServiceRole"
41-
}
42-
EOF
43-
44-
- name: Mock amplifyconfiguration.json
45-
run: |
46-
cat > ./amplifyconfiguration.json << EOF
47-
{
48-
"aws_project_region": "us-east-1",
49-
"aws_user_files_s3_bucket": "s3bucket",
50-
}
51-
EOF
52-
53-
- name: Type Check
54-
run: yarn run type-check
15+
type-check:
16+
name: UI TypeScript Check
17+
runs-on: ubuntu-latest
18+
19+
defaults:
20+
run:
21+
working-directory: ./src
22+
23+
steps:
24+
- name: Checkout
25+
uses: actions/checkout@v4
26+
27+
- name: Setup Node.js
28+
uses: actions/setup-node@v4
29+
with:
30+
node-version: 'lts/Iron'
31+
cache: 'yarn'
32+
33+
- name: Install Dependencies
34+
run: yarn install --immutable --immutable-cache --check-cache
35+
36+
- name: Mock aws-custom.json
37+
run: |
38+
cat > ./aws-custom.json << EOF
39+
{
40+
"healthScribeServiceRole": "arn:aws:iam::0123456789012:role/healthScribeServiceRole"
41+
}
42+
EOF
43+
44+
- name: Mock amplifyconfiguration.json
45+
run: |
46+
cat > ./amplifyconfiguration.json << EOF
47+
{
48+
"aws_project_region": "us-east-1",
49+
"aws_user_files_s3_bucket": "s3bucket",
50+
}
51+
EOF
52+
53+
- name: Type Check
54+
run: yarn run type-check

.github/workflows/yarn-audit.yml

Lines changed: 47 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,54 @@
11
name: Yarn Audit
22

33
on:
4-
pull_request:
5-
branches:
6-
- main
7-
push:
8-
branches:
9-
- main
4+
pull_request:
5+
branches:
6+
- main
7+
push:
8+
branches:
9+
- main
1010

1111
permissions:
12-
contents: read
12+
contents: read
1313

1414
jobs:
15-
type-check:
16-
name: Yarn Audit Checks
17-
runs-on: ubuntu-latest
18-
19-
defaults:
20-
run:
21-
shell: bash
22-
23-
steps:
24-
- name: Checkout
25-
uses: actions/checkout@v4
26-
27-
- name: Setup Node.js
28-
uses: actions/setup-node@v4
29-
with:
30-
node-version: 'lts/Hydrogen'
31-
cache: 'yarn'
32-
33-
- name: Yarn Audit
34-
run: |
35-
FAILED=0
36-
37-
for d in `find . -type f -name package.json ! -path "*/node_modules/*" ! -path "*/cdk.out/*" ! -path "*/#current-cloud-backend/*"`; do
38-
fileDir=$(dirname $d)
39-
40-
if [ -f "${fileDir}/package-lock.json" ]; then
41-
echo "------------- ${d} -------------"
42-
npm --prefix `dirname $d` audit
43-
RESULT=${PIPESTATUS[0]}
44-
if [ $RESULT -ne 0 ]; then FAILED=1; fi
45-
46-
elif [ -f "${fileDir}/yarn.lock" ]; then
47-
echo "------------- ${d} -------------"
48-
yarn --cwd `dirname $d` audit 2>&1 | grep -v 'No license field'
49-
RESULT=${PIPESTATUS[0]}
50-
if [ $RESULT -ne 0 ]; then FAILED=1; fi
51-
fi
52-
done
53-
54-
if [ $FAILED -eq 1 ]; then exit 1; fi
15+
type-check:
16+
name: Yarn Audit Checks
17+
runs-on: ubuntu-latest
18+
19+
defaults:
20+
run:
21+
shell: bash
22+
23+
steps:
24+
- name: Checkout
25+
uses: actions/checkout@v4
26+
27+
- name: Setup Node.js
28+
uses: actions/setup-node@v4
29+
with:
30+
node-version: 'lts/Hydrogen'
31+
cache: 'yarn'
32+
33+
- name: Yarn Audit
34+
run: |
35+
FAILED=0
36+
37+
for d in `find . -type f -name package.json ! -path "*/node_modules/*" ! -path "*/cdk.out/*" ! -path "*/#current-cloud-backend/*"`; do
38+
fileDir=$(dirname $d)
39+
40+
if [ -f "${fileDir}/package-lock.json" ]; then
41+
echo "------------- ${d} -------------"
42+
npm --prefix `dirname $d` audit
43+
RESULT=${PIPESTATUS[0]}
44+
if [ $RESULT -ne 0 ]; then FAILED=1; fi
45+
46+
elif [ -f "${fileDir}/yarn.lock" ]; then
47+
echo "------------- ${d} -------------"
48+
yarn --cwd `dirname $d` audit 2>&1 | grep -v 'No license field'
49+
RESULT=${PIPESTATUS[0]}
50+
if [ $RESULT -ne 0 ]; then FAILED=1; fi
51+
fi
52+
done
53+
54+
if [ $FAILED -eq 1 ]; then exit 1; fi

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ dist-ssr
2727
.env.development.local
2828
.env.test.local
2929
.env.production.local
30+
/*toolbag
31+
/.*Agent
3032

3133
# VSCode
3234
.vscode
@@ -44,6 +46,10 @@ src/aws-custom.json
4446
# Webstorm
4547
.idea
4648

49+
*.spec.md
50+
.cspell
51+
cspell.json
52+
4753
#amplify-do-not-edit-begin
4854
amplify/\#current-cloud-backend
4955
amplify/.config/local-*

CHANGELOG.md

Lines changed: 48 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,67 +1,91 @@
11
# Changelog
22

3+
## April 5, 2025
4+
5+
- Add GIRPP note support
6+
- Switch to aws-amplify/storage
7+
- Replace lodash with native JS functions
8+
- Switch S3 upload to aws-amplify/storage
9+
- Update .gitignore with new patterns
10+
- Update changelog for future release
11+
- Simplify segment controls layout and styling for better visual consistency
12+
- Refactor HealthScribe data type for better readability
13+
14+
## October 28, 2024
15+
16+
- Update README and dependencies
17+
18+
## August 9, 2024
19+
20+
- Update UI layout
21+
22+
## June 30, 2024
23+
24+
- Fix conversation duration display
25+
- Fix insights section ordering
26+
327
## April 22, 2024
428

5-
- Tag S3 uploads with user ID
6-
- Enable Comprehend Medical for HealthScribe insights output
7-
- Enable pricing estimate for Comprehend Medical NERe
29+
- Tag S3 uploads with user ID
30+
- Enable Comprehend Medical for HealthScribe insights output
31+
- Enable pricing estimate for Comprehend Medical NERe
832

933
## April 1, 2024
1034

11-
- Refactor Amplify JS to v6
12-
- Use HealthScribe SDK vs direct API calls
13-
- Move density to settings context
14-
- Use CloudScape design tokens
35+
- Refactor Amplify JS to v6
36+
- Use HealthScribe SDK vs direct API calls
37+
- Move density to settings context
38+
- Use CloudScape design tokens
1539

1640
## March 18, 2024
1741

18-
- Add GitHub actions for TypeScipt check
42+
- Add GitHub actions for TypeScipt check
1943

2044
## March 16, 2024
2145

22-
- Remove pre re:Invent 2023 output format
46+
- Remove pre re:Invent 2023 output format
2347

2448
## March 10, 2024
2549

26-
- Update README with available regions
50+
- Update README with available regions
2751

2852
## March 8, 2024
2953

30-
- Set insight sort order
31-
- Set content type on S3 upload
54+
- Set insight sort order
55+
- Set content type on S3 upload
3256

3357
## February 23, 2024
3458

35-
- Show HealthScribe job duration
59+
- Show HealthScribe job duration
3660

3761
## February 14, 2024
3862

39-
- Reformat insight plan section to show headers
63+
- Reformat insight plan section to show headers
4064

4165
## November 20, 2023
4266

43-
- Update authentication logic
44-
- Add popover for live recording
67+
- Update authentication logic
68+
- Add popover for live recording
4569

4670
## November 14, 2023
4771

48-
- Add feature for live recording
72+
- Add feature for live recording
4973

5074
## November 2, 2023
5175

52-
- Enable Comprehend Medical ontology linking for HealthScribe transcript output
53-
- Use context for app settings, theme, auth, and notifications
54-
- Update API json output format
76+
- Enable Comprehend Medical ontology linking for HealthScribe transcript output
77+
- Use context for app settings, theme, auth, and notifications
78+
- Update API json output format
5579

5680
## September 13, 2023
5781

58-
- Update silence calculation
59-
- Add JSON viewer for HealthScribe output
82+
- Update silence calculation
83+
- Add JSON viewer for HealthScribe output
6084

6185
## August 31, 2023
6286

63-
- Add audio generation with Amazon Polly
87+
- Add audio generation with Amazon Polly
6488

6589
## August 23, 2023
6690

67-
- Initial release
91+
- Initial release

CONTRIBUTING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ We welcome you to use the GitHub issue tracker to report bugs or suggest feature
1313
When filing an issue, please check existing open, or recently closed, issues to make sure somebody else hasn't already
1414
reported the issue. Please try to include as much information as you can. Details like these are incredibly useful:
1515

16-
- A reproducible test case or series of steps
17-
- The version of our code being used
18-
- Any modifications you've made relevant to the bug
19-
- Anything unusual about your environment or deployment
16+
- A reproducible test case or series of steps
17+
- The version of our code being used
18+
- Any modifications you've made relevant to the bug
19+
- Anything unusual about your environment or deployment
2020

2121
## Contributing via Pull Requests
2222

0 commit comments

Comments
 (0)