Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1245 commits
Select commit Hold shift + click to select a range
b0b180d
Merge pull request #509 from revisit-studies/zc/replay
ZachCutler04 Jan 11, 2025
ac01345
update gitignore
hilsonshrestha Jan 11, 2025
719b0fc
Merge branch 'dev' into vega
dyr429 Jan 11, 2025
3b16f27
Merge branch 'dev' into anywidget-integration
JackWilb Jan 11, 2025
9c54b96
minor fix
hilsonshrestha Jan 11, 2025
d722024
Merge pull request #525 from revisit-studies/anywidget-integration
JackWilb Jan 11, 2025
9d536cb
integrate vega replay
dyr429 Jan 11, 2025
5584660
Fix a couple small things
JackWilb Jan 11, 2025
0ffd85c
Merge branch 'dev' into response
JackWilb Jan 11, 2025
a4e149f
Merge pull request #524 from revisit-studies/response
JackWilb Jan 11, 2025
604e32d
Make the buttons to studies an anchor
JackWilb Jan 11, 2025
d9b4262
add support for putting vega config in revisit config
dyr429 Jan 11, 2025
6983c46
Format jsons
JackWilb Jan 11, 2025
109d916
Fix bug with app header
JackWilb Jan 11, 2025
ee0fc29
Anywidget integration for analysis page
hilsonshrestha Jan 11, 2025
d24c0e2
Clean up a little
JackWilb Jan 11, 2025
9be6ced
Fix bug
JackWilb Jan 11, 2025
50b2a4f
Merge pull request #510 from revisit-studies/vega
JackWilb Jan 11, 2025
6436ba0
Merge pull request #530 from revisit-studies/anywidget-integration-an…
JackWilb Jan 11, 2025
4491140
Merge pull request #529 from revisit-studies/dev
JackWilb Jan 11, 2025
c5f5fc1
Release version v2.0.0-rc1
JackWilb Jan 11, 2025
66eef3e
update the library config description
tingying-he Jan 11, 2025
f20e432
Fix missing prefix for links to studies
JackWilb Jan 11, 2025
8a64378
add name to library config schema
tingying-he Jan 11, 2025
df0969a
Fix prefix for dev
JackWilb Jan 11, 2025
f8c66a0
add reference for library schema
tingying-he Jan 11, 2025
592badf
add descriptions to example libraries
tingying-he Jan 11, 2025
5bdc211
Make the analysis filters work across tabs
JackWilb Jan 11, 2025
dc6ccd9
Make response.required optional
JackWilb Jan 12, 2025
6691285
Point to the new schema
JackWilb Jan 12, 2025
bf29a91
Fix bug with DataManagement data prop
JackWilb Jan 12, 2025
39f220f
update advanced react tutorial
dyr429 Jan 12, 2025
fd4d88e
Merge branch 'dev' of https://github.com/revisit-studies/study into dev
dyr429 Jan 12, 2025
b50aa0b
Make the VLAT studies examples
JackWilb Jan 12, 2025
e12388a
Merge pull request #534 from revisit-studies/properties
JackWilb Jan 12, 2025
9687bb6
Merge pull request #535 from revisit-studies/dev
JackWilb Jan 12, 2025
efe0240
Release version v2.0.0-rc2
JackWilb Jan 12, 2025
953e9de
Add a tooltip for the next participant button
JackWilb Jan 12, 2025
bc44884
Add "Analyze & Manage" menu item to AppHeader for study navigation
JackWilb Jan 12, 2025
fb06d89
Merge branch 'main' into dev
JackWilb Jan 12, 2025
ace5d28
update vega demo
dyr429 Jan 12, 2025
d389410
Fix small issues in the simple tutorial
JackWilb Jan 13, 2025
3d548c9
Clean up some old schema references
JackWilb Jan 13, 2025
a4daf28
Bump rollup from 4.22.0 to 4.30.1
dependabot[bot] Jan 13, 2025
68ded75
Merge pull request #538 from revisit-studies/dependabot/npm_and_yarn/…
JackWilb Jan 13, 2025
5a1f533
Merge branch 'dev' into vlat-library
JackWilb Jan 13, 2025
727ef59
Export data from analytics to python widget
hilsonshrestha Jan 13, 2025
b17d847
Remove unused assets
JackWilb Jan 13, 2025
2a450cf
Move test-library-* to library-*
JackWilb Jan 13, 2025
376fae7
Update iframe url
hilsonshrestha Jan 13, 2025
630b711
Fix issue with mini vlat example study and fix a the description on l…
JackWilb Jan 13, 2025
2aba83c
Merge pull request #541 from revisit-studies/widget-dataframe-output
hilsonshrestha Jan 13, 2025
5f4a87f
Reorder libraries, revert the library test config
JackWilb Jan 13, 2025
d9b36a7
Clean up
JackWilb Jan 13, 2025
d5719e2
update the homepage of studies
tingying-he Jan 13, 2025
945e34f
Fix minor issues
JackWilb Jan 13, 2025
4b6c574
Fix lingering issues
JackWilb Jan 13, 2025
e57c9f8
Merge pull request #539 from revisit-studies/vlat-library
tingying-he Jan 13, 2025
431d77a
switching timer to be our own, minor ui fixes
ZachCutler04 Jan 13, 2025
23763e7
lighten background color
ZachCutler04 Jan 13, 2025
4f2d057
fixing
ZachCutler04 Jan 13, 2025
1c98809
remove comment
ZachCutler04 Jan 13, 2025
735138a
moving into appshell
ZachCutler04 Jan 13, 2025
72bf46b
Small fixes
JackWilb Jan 13, 2025
a475393
Fix issue with localstorage
JackWilb Jan 13, 2025
6ebc3c6
Rename AnalysisPopout
JackWilb Jan 13, 2025
2b07674
Fix import path
JackWilb Jan 13, 2025
3b09888
Fix timer not working with provenance but no audio
JackWilb Jan 13, 2025
ce48baf
Merge pull request #542 from revisit-studies/dev
JackWilb Jan 13, 2025
b52e3b0
Release version v2.0.0-rc3
JackWilb Jan 13, 2025
aa8b423
Fix bug when participant hasn't answered question
JackWilb Jan 13, 2025
519f53a
Reset the time string if the total audio duration becomes 0
JackWilb Jan 13, 2025
5246b8f
Don't allow the end card to touch the data in analysis
JackWilb Jan 13, 2025
d4965c9
Fixed matrix input not resetting between components
bbollen23 Jan 13, 2025
ec842a7
test modifying components in libraries
tingying-he Jan 13, 2025
260201c
Remove capitalized folders
JackWilb Jan 13, 2025
aa131c2
Merge branch 'dev' into libraries
tingying-he Jan 13, 2025
67eb541
Update schemas to add schemas
JackWilb Jan 13, 2025
6ec0885
Add divider options
JackWilb Jan 13, 2025
5486e60
Fix default exports
JackWilb Jan 13, 2025
62facd9
add color to event on replay axis
dyr429 Jan 14, 2025
858129c
Fix enumerateQuestions
JackWilb Jan 14, 2025
b8a0cd2
Handle vertical radio/checkbox
JackWilb Jan 14, 2025
7903b17
Add dividers logic to responses
JackWilb Jan 14, 2025
df84a88
Switch vertical to horizontal
JackWilb Jan 14, 2025
124b66b
Add withOther option to radios and checkboxes
JackWilb Jan 14, 2025
c80022e
fix color
dyr429 Jan 14, 2025
1a2bf80
Make the checkbox work with other
JackWilb Jan 14, 2025
e1cf8b5
Make the radios work with others
JackWilb Jan 14, 2025
15e7a7c
Fix up some types
JackWilb Jan 14, 2025
737c16f
Add with other to the demo-survey
JackWilb Jan 14, 2025
8433712
Fix test
JackWilb Jan 14, 2025
5307a06
Merge pull request #561 from revisit-studies/updates
JackWilb Jan 14, 2025
cef4df6
support 10 colors
dyr429 Jan 14, 2025
a058f2e
Use component block id in the steps panel
JackWilb Jan 14, 2025
90e7da2
Add withDontKnow config option
JackWilb Jan 14, 2025
ef262b6
prettifying the replay stuff
ZachCutler04 Jan 14, 2025
d72b98d
Merge branch 'dev' into zc/replayUiChanges
ZachCutler04 Jan 14, 2025
e9383d6
small fix
ZachCutler04 Jan 14, 2025
cb35858
fixing other stuff
ZachCutler04 Jan 14, 2025
b79fb36
tiny change
ZachCutler04 Jan 14, 2025
2c903db
Add an "I don't know" button
JackWilb Jan 14, 2025
0ae98ab
Fix small issues
JackWilb Jan 14, 2025
e294175
Fix cases where we have an end with no start
JackWilb Jan 14, 2025
e78ee0f
Clean up
JackWilb Jan 14, 2025
e9e44f9
Merge pull request #563 from revisit-studies/zc/replayUiChanges
JackWilb Jan 14, 2025
f92905a
Merge branch 'dev' into ui-updates
JackWilb Jan 14, 2025
3172194
Fix type issue
JackWilb Jan 14, 2025
78e4799
Merge pull request #564 from revisit-studies/ui-updates
JackWilb Jan 14, 2025
6cdf1df
Apply formatting changes
JackWilb Jan 14, 2025
f900edb
Merge pull request #562 from revisit-studies/replay-timeline-UI
JackWilb Jan 14, 2025
441732c
Clean up some of the color-blindness test
JackWilb Jan 15, 2025
e6b36ef
Merge branch 'dev' into libraries
tingying-he Jan 16, 2025
acf764a
Add Alex's edits
JackWilb Jan 16, 2025
8aa41bc
Add ability to automatically generate the library documentation
JackWilb Jan 16, 2025
9b9f5c2
add example vis to previs libraries, add more documentations
tingying-he Jan 16, 2025
9298937
Merge pull request #565 from revisit-studies/libraries
JackWilb Jan 16, 2025
78c3e90
Remove name from library type
JackWilb Jan 16, 2025
72ed95e
Merge pull request #566 from revisit-studies/dev
JackWilb Jan 16, 2025
d40680e
Release version v2.0.0-rc4
JackWilb Jan 16, 2025
72c774c
Empty commit to trigger website deploy
JackWilb Jan 16, 2025
ebed962
Merge pull request #567 from revisit-studies/dev
JackWilb Jan 16, 2025
0252070
Release version v2.0.0-rc5
JackWilb Jan 16, 2025
4629b71
Add DOI and external link, rework md output, format jsons
JackWilb Jan 16, 2025
568e5b3
Make a couple libraries conform to the new type, updated generator
JackWilb Jan 16, 2025
5ba0476
Add secondary text to matrix, fix some css issues
JackWilb Jan 16, 2025
efc34b0
Fix up some slider styling
JackWilb Jan 16, 2025
f8300f0
Align matrix questions to the right
JackWilb Jan 16, 2025
2e11dda
improve library example study names
tingying-he Jan 17, 2025
18d8456
improve demographic library
tingying-he Jan 17, 2025
ce27166
improve demographic library example study
tingying-he Jan 17, 2025
9701a74
improve config contents
tingying-he Jan 17, 2025
9ff598c
Bump all packages, fix rerender bug, fix p > p bugs, lint, react-rout…
JackWilb Jan 18, 2025
eb3ec5c
Update schema and add 'nextOnEnter' option for UI navigation
JackWilb Jan 18, 2025
de319a3
Add 'nextOnEnter' functionality and add test for enter on image demo
JackWilb Jan 18, 2025
0deaba3
Revert schema path to dev
JackWilb Jan 18, 2025
ca1491a
Rollback react to 18
JackWilb Jan 18, 2025
fbeeadd
Merge pull request #574 from revisit-studies/next-enter
JackWilb Jan 18, 2025
c027ac5
Slow tests down, now that we render too fast 😎
JackWilb Jan 18, 2025
88e2356
Increase test timeout
JackWilb Jan 18, 2025
0159648
Add more wait time between components
JackWilb Jan 18, 2025
3b9c608
- added `libraryExampleStudyGenerator.cjs` to automate example study …
tingying-he Jan 19, 2025
15bf538
finished beauvis library, improved the libraryDocGenerator
tingying-he Jan 19, 2025
290a901
finished color-blindness library, refined example study names
tingying-he Jan 19, 2025
a079086
finished previs
tingying-he Jan 19, 2025
986cc6b
finished mini-vlat
tingying-he Jan 19, 2025
08319e5
finished vlat
tingying-he Jan 19, 2025
548af2e
Finished sus, and modified libraryExampleStudyGenerator to skip certa…
tingying-he Jan 19, 2025
001e534
cleanup in vega example
alexsb Jan 19, 2025
6f73374
Add vage component config and vega component path typedocs
hilsonshrestha Jan 19, 2025
b065a25
Add signals example for vega
hilsonshrestha Jan 19, 2025
a03d67b
improved survey demo to show all new options
alexsb Jan 19, 2025
1325c41
Merge pull request #575 from revisit-studies/package-bumps
JackWilb Jan 20, 2025
9e82f05
Fix up some issues with the auto generation and the configs
JackWilb Jan 20, 2025
4d578fc
Merge branch 'dev' into libraries
JackWilb Jan 20, 2025
67d108f
Simplify sequence names, fix links in example studies
JackWilb Jan 20, 2025
536dc45
Fix typo
JackWilb Jan 20, 2025
4af135f
Merge pull request #577 from revisit-studies/libraries
JackWilb Jan 20, 2025
66d106c
Merge pull request #581 from revisit-studies/vega-example-improvements
JackWilb Jan 20, 2025
8a105c4
Fix missing period
JackWilb Jan 20, 2025
75a6a90
Slight updates, generate library config, too
JackWilb Jan 20, 2025
5dc12e0
Merge pull request #582 from revisit-studies/vega-type-docs
JackWilb Jan 20, 2025
af4ac68
Merge branch 'dev' into form-updates
JackWilb Jan 20, 2025
ca31cc1
Fix up test
JackWilb Jan 20, 2025
6f0fe8d
Merge pull request #584 from revisit-studies/form-updates
JackWilb Jan 20, 2025
f1d1e04
Rename iframe response to reactive response
JackWilb Jan 20, 2025
507c78a
Update schemas
JackWilb Jan 20, 2025
1bf7a5b
Fix up the vlat configs
JackWilb Jan 20, 2025
0b56a04
Update descriptions for ReactiveResponse in schemas
JackWilb Jan 20, 2025
5950a87
Merge pull request #585 from revisit-studies/iframe-to-reactive
JackWilb Jan 20, 2025
fc5a08a
Merge branch 'main' into dev
JackWilb Jan 20, 2025
aa16f80
Merge pull request #586 from revisit-studies/dev
JackWilb Jan 20, 2025
0a2c888
Release version v2.0.0-rc6
JackWilb Jan 20, 2025
728b2ae
adding timestamp, fixing play button
ZachCutler04 Jan 20, 2025
4e5eda9
Delete libraries we haven't fully finished yet, fix up generation scr…
JackWilb Jan 20, 2025
ae3f602
Merge branch 'dev' into zc/addTimestamp
JackWilb Jan 20, 2025
95164fd
Make the font a standard bold weight
JackWilb Jan 20, 2025
66e8e99
Bump vite from 6.0.7 to 6.0.9
dependabot[bot] Jan 21, 2025
acac26d
Fix issue with firefox not recording
JackWilb Jan 21, 2025
5f09912
Merge pull request #588 from revisit-studies/dependabot/npm_and_yarn/…
JackWilb Jan 21, 2025
27c7dd4
Don't render waveform on firefox
JackWilb Jan 21, 2025
0c32afe
pausing whenever switching in replay
ZachCutler04 Jan 21, 2025
7aac5eb
Merge branch 'zc/addTimestamp' of https://github.com/revisit-studies/…
ZachCutler04 Jan 21, 2025
0b0834d
Add link back to study from analysis, opens in new tab
JackWilb Jan 21, 2025
c02d871
Update the demo survey to add the horizontal with other examples
JackWilb Jan 22, 2025
cb93be9
Merge pull request #589 from revisit-studies/ui-polish
JackWilb Jan 22, 2025
beb985c
Sort studies in the header changer menu
JackWilb Jan 22, 2025
4b6e23a
Debounce the save audio listener to only save the first event
JackWilb Jan 22, 2025
5a19dcb
Merge pull request #587 from revisit-studies/zc/addTimestamp
JackWilb Jan 22, 2025
1328686
Move recordStudyAudio to the uiConfig
JackWilb Jan 22, 2025
2ecb2dd
Revert change to .env
JackWilb Jan 22, 2025
734ccac
Merge pull request #590 from revisit-studies/dev
JackWilb Jan 22, 2025
8321281
Release version 2.0.0-rc7
JackWilb Jan 22, 2025
aa5b68e
Add vega component to typedoc readme
JackWilb Jan 22, 2025
762f0aa
Use search params for tabs so we can link to them
JackWilb Jan 23, 2025
a412039
Use dx doi
JackWilb Jan 23, 2025
ca3f898
Fix subtle bug with provenance updates overwriting trialvalidation state
JackWilb Jan 23, 2025
26fabdb
Bump upload artifact
JackWilb Jan 23, 2025
4b88bbb
Fixed revisit-communicate error when using widget
bbollen23 Jan 23, 2025
3ddf807
Don't navigate with PREFIX
JackWilb Jan 23, 2025
372efdb
Fix don't know checkboxes
JackWilb Jan 23, 2025
99395d5
Merge pull request #591 from revisit-studies/dev
JackWilb Jan 23, 2025
79149c8
Release version v2.0.0
JackWilb Jan 23, 2025
dc001f1
Fix release script title
JackWilb Jan 23, 2025
11b287e
Fix slider label alignment so long labels are visible
JackWilb Jan 28, 2025
997cbc6
Filter "your study" cards when not publicly accessible or admin logge…
JackWilb Jan 28, 2025
7d78305
Merge pull request #595 from revisit-studies/bug-fixes
JackWilb Jan 28, 2025
a8ebe49
Merge pull request #596 from revisit-studies/dev
JackWilb Jan 28, 2025
cc971c3
Release version v2.0.1
JackWilb Jan 28, 2025
52e95e4
Add repo dispatches for revisitpy and revisitpy-server
JackWilb Jan 30, 2025
5946c83
Add starting value to slider in schema
JackWilb Jan 30, 2025
fe178aa
Fix up slider style slightly and allow for startingValue on slider
JackWilb Jan 30, 2025
cdf2b73
Revert change to options
JackWilb Jan 30, 2025
70a694f
Add snap as an option to sliders
JackWilb Jan 30, 2025
778987e
Handle snapping inside the slider input
JackWilb Jan 30, 2025
cd6e70f
Merge pull request #597 from revisit-studies/dev
JackWilb Jan 30, 2025
91e3431
Release version v2.0.2
JackWilb Jan 30, 2025
03db605
Add example of 2 videos with slider
JackWilb Jan 30, 2025
cd5246f
Remove the 3 separate tutorial files in favor of 1 bigger study
JackWilb Feb 4, 2025
45eb5fe
Merge branch 'main' into dev
JackWilb Feb 4, 2025
7914bc7
Add my first section of the tutorial
JackWilb Feb 5, 2025
08ea8b6
setting up zachs portion of the tutorial
ZachCutler04 Feb 5, 2025
02e0bee
pushing answers reactExample
ZachCutler04 Feb 5, 2025
a1f90a1
Add interruptions
JackWilb Feb 5, 2025
f06a38b
Add a skip example
JackWilb Feb 5, 2025
70430e0
Fix bug with sorting tutorial study
JackWilb Feb 5, 2025
d8802a8
pie chart working
AMarkenson Feb 11, 2025
2438458
bubble chart working
AMarkenson Feb 11, 2025
5975c04
bar charts & storing data
AMarkenson Feb 12, 2025
46dac45
ReVisit set up
dar-th0va-dar Feb 12, 2025
8daebb7
Testing adding question tests
dar-th0va-dar Feb 12, 2025
28baa63
Testing registering study
dar-th0va-dar Feb 12, 2025
7e34a7a
bar graph shows up
AMarkenson Feb 14, 2025
714d815
graphs show up. cant get data working yet
AMarkenson Feb 15, 2025
4f26662
testing still not working
AMarkenson Feb 15, 2025
fd84f9d
server
megandsouza11 Feb 17, 2025
4abec0e
seeded data
AMarkenson Feb 17, 2025
e072bd1
seeded data
AMarkenson Feb 17, 2025
0a64c45
Merge branch 'main' into adam-data-generation
dar-th0va-dar Feb 17, 2025
d6832ae
Merge pull request #1 from dar-th0va-dar/adam-data-generation
dar-th0va-dar Feb 17, 2025
baad930
local server
megandsouza11 Feb 17, 2025
a1d6f42
graph location edit
AMarkenson Feb 17, 2025
d891b2a
ordered study
AMarkenson Feb 17, 2025
8df2a82
chart order document
AMarkenson Feb 17, 2025
64d161e
question list nameplates change to "trial x"
AMarkenson Feb 18, 2025
dbad13c
Added proper intro
dar-th0va-dar Feb 18, 2025
932fd1e
Adding assignment README
dar-th0va-dar Feb 21, 2025
fbd9325
confidence intervals
megandsouza11 Feb 22, 2025
a84fdf4
Merge branch 'local' of https://github.com/dar-th0va-dar/a3-revisit i…
megandsouza11 Feb 22, 2025
66b55a3
final readme
megandsouza11 Feb 22, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
16 changes: 9 additions & 7 deletions .env
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
VITE_BASE_PATH="/study/"
VITE_FIREBASE_CONFIG='
{
apiKey: "AIzaSyAm9QtUgx1lYPDeE0vKLN-lK17WfUGVkLo",
authDomain: "revisit-utah.firebaseapp.com",
projectId: "revisit-utah",
storageBucket: "revisit-utah.appspot.com",
messagingSenderId: "811568460432",
appId: "1:811568460432:web:995f6b4f1fc8042b5dde15"
apiKey: "AIzaSyDnDMdTOuZjEP9rADW66GFFZttHD3jAwlo",
authDomain: "wpi-datavis-2025.firebaseapp.com",
projectId: "wpi-datavis-2025",
storageBucket: "wpi-datavis-2025.firebasestorage.app",
messagingSenderId: "671149596953",
appId: "1:671149596953:web:d6a0dcca66648e4cd02588"
}
'
VITE_STORAGE_ENGINE="firebase" # "firebase" or "localStorage" or your own custom storage engine
VITE_RECAPTCHAV3TOKEN="6LeLH9MqAAAAANZiz-dFmDWFHYFW_7R3mD1vZMMG"

VITE_STORAGE_ENGINE="localStorage" # "firebase" or "localStorage" or your own custom storage engine
77 changes: 0 additions & 77 deletions .eslintrc.json

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,20 @@ jobs:
cache: 'yarn'

- run: yarn install --immutable
- run: yarn build

- name: Build with .env file
if: ${{ vars.VITE_STORAGE_ENGINE == '' }}
run: yarn build

- name: Build with github environment variables
if: ${{ vars.VITE_STORAGE_ENGINE != '' }}
run: VITE_STORAGE_ENGINE=$VITE_STORAGE_ENGINE yarn build
env:
VITE_STORAGE_ENGINE: ${{ vars.VITE_STORAGE_ENGINE }}

- uses: peaceiris/actions-gh-pages@v3
name: Deploy
id: deploy
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist

- uses: peter-evans/repository-dispatch@v2
name: Build documentation in revisit.dev
if: ${{ steps.deploy.outcome == 'success' }}
with:
token: ${{ secrets.PAT }}
repository: revisit-studies/reVISit-studies.github.io
event-type: study_repo_publish
File renamed without changes.
5 changes: 3 additions & 2 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Playwright Tests
on:
pull_request:
branches:
- dev
- main

jobs:
Expand All @@ -23,7 +24,7 @@ jobs:
cache_dir: ~/.cache/ms-playwright

- project: webkit
os: macos-latest
os: macos-14
cache_dir: ~/Library/Caches/ms-playwright
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -55,7 +56,7 @@ jobs:

- name: Upload test results
if: failure()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: playwright-report
path: playwright-report
53 changes: 53 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Release new version

on:
pull_request:
branches: [main]
types: [closed]

jobs:
release:
if: github.event.pull_request.merged
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.PAT }}

- name: Run make-release.sh to modify version numbers across the repo
run: |
find src public -type f -exec env LANG=C sed -i -E "s/githubusercontent\.com\/re[Vv][Ii][Ss]it-studies\/study\/.*\/src/githubusercontent.com\/revisit-studies\/study\/${{ github.event.pull_request.title }}\/src/g" {} +
find src public -type f -exec env LANG=C sed -i -E "s/github.com\/re[Vv][Ii][Ss]it-studies\/study\/tree\/v[^\/]*\/([^\s]*)/github.com\/revisit-studies\/study\/tree\/${{ github.event.pull_request.title }}\/\1/g" {} +

- name: Commit changes
run: |
git config --local user.email "jackwilburn@tutanota.com"
git config --local user.name "Jack Wilburn"
git add .
git commit -m "Release version ${{ github.event.pull_request.title }}"
git tag -a ${{ github.event.pull_request.title }} -m "Release version ${{ github.event.pull_request.title }}"
git push --follow-tags

- uses: peter-evans/repository-dispatch@v2
name: Build documentation in revisit.dev if repo is in revisit-studies
if: ${{ github.repository_owner == 'revisit-studies' }}
with:
token: ${{ secrets.PAT }}
repository: revisit-studies/reVISit-studies.github.io
event-type: study_repo_publish

- uses: peter-evans/repository-dispatch@v2
name: Build documentation in revisit.dev if repo is in revisit-studies
if: ${{ github.repository_owner == 'revisit-studies' }}
with:
token: ${{ secrets.PAT }}
repository: revisit-studies/revisitpy
event-type: study_repo_publish

- uses: peter-evans/repository-dispatch@v2
name: Build documentation in revisit.dev if repo is in revisit-studies
if: ${{ github.repository_owner == 'revisit-studies' }}
with:
token: ${{ secrets.PAT }}
repository: revisit-studies/revisitpy-server
event-type: study_repo_publish
24 changes: 24 additions & 0 deletions .github/workflows/release_github.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Create release

on:
push:
tags:
- v*

permissions:
contents: write

jobs:
release:
name: Release pushed tag
runs-on: ubuntu-22.04
steps:
- name: Create release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref_name }}
run: |
gh release create "$tag" \
--repo="$GITHUB_REPOSITORY" \
--title="${tag}" \
--generate-notes
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,7 @@ dist-ssr
/playwright/.cache/

docs/
docsLibraries/

public/__revisit-widget
src/public/__revisit-widget
44 changes: 44 additions & 0 deletions CLASSREADME.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Assignment 3 - Replicating a Classic Experiment

In this assignment, we conducted a controlled experiment about the accuracy of people gauging different kinds of data visualizations. d3 was used to make the visualizations and ReVISit was used to conduct the experiment. After we collected data, we did some data-analysis.

<img src="study-1.png" alt="">
<img src="study-2.png" alt="">

## Visualizations

Results: <img src="bootstrapped_CIs.png" alt="">
<img src="image.png" alt="">

We chose 3 visualizations and from best to worst, they were

Bar

<img src="bar.png" alt="">
The average Cleveland and McGill error rate for our bar chart was 1.53, which was the lowest error rate produced overall. Looking at the bootstrapped confidence interval, most of the points are clustered towards the bottom, meaning that most participants were not too far off from the actual value. The points tended to be spread around the mean error which leaned towards the bottom. This error rate was very close to the one that Cleveland and McGill obtained from their study but ours was slightly higher.

---
Bubble

<img src="bubble.png" alt="">
The average Cleveland and McGill error rate for our bubble chart was 2.403, which was also very close to the error rate of our pie chart. Looking at the bootstrapped confidence interval, the points seem to be more spread out with some points having very low error rates, some having error rates close to the mean, and some having high error rates. Since the confidence intervals for the bubble and pie charts overlap, the differnce in their errors are not statistically significant. The error rate we obtained is slightly lower than the one Cleveland and McGill obtained from their study for a bubble chart.

---
Pie

<img src="pie.png" alt="">

The average Cleveland and McGill error rate for our pie chart was 2.456, which was the highest error rate produced overall. Looking at the bootstrapped confidence interval, the points seem similair to the CI for our bubble chart except they are slightly more spread out and have more points concentrated towards the top.This visualization had the lowest accuracy and had a lot of variation among participants. The error rate we obtained is slightly lower than the one Cleveland and McGill obtained from their study for a bubble chart.
---


### Technical Achievement

One of our technical achievements was learning how to set and use ReVISit, a library to make web-based studies. While there wasn't a significant amount of setup, there was a lot of debugging since we were all unfamiliar with the application. Once we figured out how to at least locally host the experiment, we also ran into issues with how to apply the randomness as full randomness of the order, types of charts, percent differences, etc. would require a significant amount of work. Instead, we settled on a set order for the percent differences and type of visualization for ease of data analysis but randomized what it looked like each time. We aditionally used Excel to obtain our error rates and R to obtain our bootstrapped confidence intervals. We used the log function in Excel and learned to to create bootstraped confidence intervals in R.

### Design Achievement

We decided to branch out and instead of doing both a bar chart and a stacked bar chart, which would have been very similar, decided to do a pie and bubble chart. While both are circular, their d3 development was quite different. A struggle that occured with the pie chart was making the dots that marked the pieces actually show up in the center of each slice. With the bubble charts, it would sometimes generate too many circles and make the visualization look messy, possibly skewing the data. However, the design choices to use these data visualization types gives us a more interesting data analysis. We aditionally designed our confidence intervals in one graph to make it easier to compare. We made the mean interval a seperate color as well so that it is easy to distinguish from the rest of the points.

#### Note
The survey is supposed to be hosted [here](https://dar-th0va-dar.github.io/a3-revisit/) but we couldn't figure out why it wasn't working in time
Loading