Skip to content

Commit

Permalink
Merge pull request #279 from CCALI/develop
Browse files Browse the repository at this point in the history
Release 8.2.0/8.3.0 lhi contract
  • Loading branch information
tobiasnteireho authored Dec 10, 2024
2 parents c1addec + 40f1683 commit 819ece7
Show file tree
Hide file tree
Showing 15 changed files with 921 additions and 184 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: build-test
run-name: ${{ github.actor }} is testing the viewer build
on: [push]
jobs:
test-viewer-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16'
- run: npm install -g grunt-cli
- run: npm run deploy
- uses: GabrielBB/xvfb-action@v1
with:
run: npm run test
- uses: "8398a7/action-slack@v3"
with:
status: ${{ job.status }}
fields: "repo,message,commit,author,action,eventName,ref,workflow,job,took,pullRequest"
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
if: always() # Pick up events even if the job fails or is canceled.

22 changes: 0 additions & 22 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ The file viewer.html contains several endpoints to allow data to be be exported

`getDataURL` - **\[optional]** the location of where you have previously stored the user's partially completed interview answer data. This is optional and only needed if you are setting up your website to remember the data that a user has entered so far. For example this is useful in cases such as where you let people register at your website and collect information that you can use in all interviews on your website and information that might be common to all interviews (like name, address, etc.). At present, this DOES NOT mean that the user can save the interview at a particular point and then come back to that same point. When they return to the interview later, they must start from the beginning - with the only advantage being that the data they had previously entered is already filled in.

`setDataURL` - **\[optional]** location of where you want to send the data from the interview when the user SENDs or SUBMITs the completed interview. This must be some website-based program that can "catch" the XML data stream that contains the user's answers to your interview in HotDocs .anx format and in an equivalent json format through an http POST.
`setDataURL` - **\[optional]** location of where you want to send the data from the interview when the user SENDs or SUBMITs the completed interview. This must be some website-based program that can "catch" the XML data stream that contains the user's answers to your interview in HotDocs .anx format and in an equivalent json format through an http POST. The xml/anx format can be accessed through the `AnswerKey` field of the body while the json format can be accessed through the `AnswerKeyJSON` field.

`exitURL` - **\[optional]** location of where the user's browser is directed if they exit an interview without getting to the end. This is typically because they don't qualify to use the service. This is the DEFAULT URL. Inside the interview, the author can actually point the EXIT button to any URL they want and it will override this value. This URL is used only if the author has not specified a URL inside the interview for any EXIT buttons.

Expand Down
8 changes: 4 additions & 4 deletions demo/viewer/viewer.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>

<body>
<div id="viewer-app"></div>
<body class="with-lawn">
<div id="viewer-app-container"></div>
<script>window.pushState = function () { debugger } </script>
<script>global = window;</script>
<script>window.less = { async: true };</script>
Expand Down Expand Up @@ -53,9 +53,9 @@
<script main="@empty"
env="production"
config="../package.json!npm"
src="../dist/bundles/app.js?v=1598644287107"
src="../dist/bundles/app.js?v=1731353014593"
cache-key="v"
cache-version="1598644287107"
cache-version="1731353014593"
base-url="../">
</script>
</body>
Expand Down
2 changes: 1 addition & 1 deletion index.dev.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,6 @@
errRepURL: ''
}));
</script>
<script src="node_modules/steal/steal.production.js?v=1657142644738" cache-key="v" cache-version="1657142644738" main="@caliorg/a2jviewer/app"></script>
<script src="node_modules/steal/steal.production.js?v=1730921214984" cache-key="v" cache-version="1730921214984" main="@caliorg/a2jviewer/app"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,6 @@
errRepURL: ''
}));
</script>
<script src="node_modules/steal/steal.production.js?v=1657142746703" cache-key="v" cache-version="1657142746703" main="@caliorg/a2jviewer/app"></script>
<script src="node_modules/steal/steal.production.js?v=1731350626175" cache-key="v" cache-version="1731350626175" main="@caliorg/a2jviewer/app"></script>
</body>
</html>
Loading

0 comments on commit 819ece7

Please sign in to comment.