diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 189ab41..1bba63d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,8 +31,8 @@ jobs: strategy: matrix: - os: [ubuntu-latest] - # windows-latest, macos-latest + os: [ubuntu-latest,macos-latest] + # windows-latest defaults: run: @@ -90,7 +90,36 @@ jobs: APPLEID: ${{ secrets.APPLEID }} APPLEIDPASS: ${{ secrets.APPLEIDPASS }} run: npm run dist - + - name: Display structure of files + run: ls -R + - name: Upload MacOS DMG Blockmap + uses: actions/upload-artifact@v4 + if: startsWith(matrix.os, 'macos') + with: + name: DedupliFHIR-${{ github.ref_name }}-arm64.dmg.blockmap + path: | + ./frontend/dist/DedupliFHIR-*-arm64.dmg.blockmap + - name: Upload MacOS DMG + uses: actions/upload-artifact@v4 + if: startsWith(matrix.os, 'macos') + with: + name: DedupliFHIR-${{ github.ref_name }}-arm64.dmg + path: | + ./frontend/dist/DedupliFHIR-*-arm64.dmg + - name: Upload MacOS Zip + uses: actions/upload-artifact@v4 + if: startsWith(matrix.os, 'macos') + with: + name: DedupliFHIR-${{ github.ref_name }}-arm64-mac.zip + path: | + ./frontend/dist/DedupliFHIR-*-arm64-mac.zip + - name: Upload MacOS Zip Blockmap + uses: actions/upload-artifact@v4 + if: startsWith(matrix.os, 'macos') + with: + name: DedupliFHIR-${{ github.ref_name }}-arm64-mac.zip.blockmap + path: | + ./frontend/dist/DedupliFHIR-*-arm64-mac.zip.blockmap - name: Upload AppImage uses: actions/upload-artifact@v4 if: startsWith(matrix.os, 'ubuntu') @@ -119,6 +148,22 @@ jobs: uses: actions/download-artifact@v4 with: name: DedupliFHIR-${{ github.ref_name }}.snap + - name: Download DedupliFHIR-${{ github.ref_name }}-arm64.dmg.blockmap artifact + uses: actions/download-artifact@v4 + with: + name: DedupliFHIR-${{ github.ref_name }}-arm64.dmg.blockmap + - name: Download DedupliFHIR-${{ github.ref_name }}-arm64.dmg artifact + uses: actions/download-artifact@v4 + with: + name: DedupliFHIR-${{ github.ref_name }}-arm64.dmg + - name: Download DedupliFHIR-${{ github.ref_name }}-arm64-mac.zip artifact + uses: actions/download-artifact@v4 + with: + name: DedupliFHIR-${{ github.ref_name }}-arm64-mac.zip + - name: Download DedupliFHIR-${{ github.ref_name }}-arm64-mac.zip.blockmap artifact + uses: actions/download-artifact@v4 + with: + name: DedupliFHIR-${{ github.ref_name }}-arm64-mac.zip.blockmap - name: Display structure of downloaded files run: ls -R - name: Upload DedupliFHIR-${{ github.ref_name }}.AppImage to release @@ -135,3 +180,32 @@ jobs: tag: ${{ github.ref_name }} file: deduplifhir-app_${{ github.ref_name }}_amd64.snap overwrite: false + - name: Upload DedupliFHIR-${{ github.ref_name }}-arm64.dmg.blockmap to release + uses: svenstaro/upload-release-action@2.5.0 + with: + repo_token: ${{ secrets.GITHUB_TOKEN }} + tag: ${{ github.ref_name }} + file: DedupliFHIR-${{ github.ref_name }}-arm64.dmg.blockmap + overwrite: false + - name: Upload DedupliFHIR-${{ github.ref_name }}-arm64.dmg to release + uses: svenstaro/upload-release-action@2.5.0 + with: + repo_token: ${{ secrets.GITHUB_TOKEN }} + tag: ${{ github.ref_name }} + file: DedupliFHIR-${{ github.ref_name }}-arm64.dmg + overwrite: false + - name: Upload DedupliFHIR-${{ github.ref_name }}-arm64-mac.zip to release + uses: svenstaro/upload-release-action@2.5.0 + with: + repo_token: ${{ secrets.GITHUB_TOKEN }} + tag: ${{ github.ref_name }} + file: DedupliFHIR-${{ github.ref_name }}-arm64-mac.zip + overwrite: false + + - name: Upload DedupliFHIR-${{ github.ref_name }}-arm64-mac.zip.blockmap to release + uses: svenstaro/upload-release-action@2.5.0 + with: + repo_token: ${{ secrets.GITHUB_TOKEN }} + tag: ${{ github.ref_name }} + file: DedupliFHIR-${{ github.ref_name }}-arm64-mac.zip.blockmap + overwrite: false diff --git a/frontend/css/style.css b/frontend/css/style.css index 9c648fc..f3b3a6e 100644 --- a/frontend/css/style.css +++ b/frontend/css/style.css @@ -12,7 +12,7 @@ body { } .form { - max-width: 400px; + max-width: 450px; width: 100%; margin: 0 auto; } @@ -20,17 +20,31 @@ body { h1, h2, #file-input-copy { - text-align: center; + text-align: flex-start; } .usa-button { width: 100%; } -.usa-alert { +#submit { + margin-top: 10px; + margin-bottom: 10px; +} + +.usa-button-group { + justify-content: center; +} + +.usa-alert, +#results-spreadsheet-instructions { display: none; } +#save-file-fail-alert { + margin-bottom: 10px; +} + #deduplication-error-alert { display: block; } @@ -38,7 +52,7 @@ h2, .footer { position: fixed; bottom: 0; - width: 95%; + width: 70%; display: flex; justify-content: flex-end; align-items: flex-end; @@ -61,6 +75,15 @@ img { animation: spin 2s linear infinite; } +ul, +ol { + padding-left: 15px; +} + +ol { + margin-bottom: 0px; +} + @keyframes spin { 0% { transform: rotate(0deg); diff --git a/frontend/index.html b/frontend/index.html index 19b1249..d9a3af1 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -8,17 +8,15 @@ DedupliFHIR -
+

DedupliFHIR

-

Upload Patient Records File

To start deduplication, load your file into DedupliFHIR.
Accepted Types: FHIR, CSV + >FHIR or CSV file only Upload Patient Records File />
- +