Skip to content

Commit

Permalink
Merge pull request #4 from revisit-studies/main
Browse files Browse the repository at this point in the history
release bump
  • Loading branch information
elizaan authored Jun 26, 2024
2 parents 1d7df21 + 6700a82 commit 306e178
Show file tree
Hide file tree
Showing 59 changed files with 1,524 additions and 1,130 deletions.
2 changes: 0 additions & 2 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,3 @@ VITE_FIREBASE_CONFIG='
'
VITE_STORAGE_ENGINE="localStorage" # "firebase" or "localStorage" or your own custom storage engine
VITE_RECAPTCHAV3TOKEN="6LdjOd0lAAAAAASvFfDZFWgtbzFSS9Y3so8rHJth" # recaptcha SITE KEY

VITE_REVISIT_MODE="public"
11 changes: 10 additions & 1 deletion .github/workflows/deploy_website.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,16 @@ 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
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/revisitAssets/revisitLogoSquare.svg" />
<link rel="icon" type="image/svg+xml" href="/revisitAssets/favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>reVISit</title>

Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"buildDocs": "yarn typedoc",
"serve": "vite --host=0.0.0.0 --port=8080",
"build": "tsc && VITE_STORAGE_ENGINE=firebase vite build",
"build": "tsc && vite build",
"lint": "eslint src",
"postinstall": "husky",
"generate-schema:StudyConfig": "ts-json-schema-generator --path src/parser/types.ts --out src/parser/StudyConfigSchema.json --type StudyConfig",
Expand All @@ -22,7 +22,7 @@
"@mantine/core": "^7.10.1",
"@mantine/dates": "^7.10.1",
"@mantine/form": "^7.10.1",
"@mantine/hooks":"^7.10.1",
"@mantine/hooks": "^7.10.1",
"@mantine/modals": "^7.10.1",
"@quentinroy/latin-square": "^1.1.1",
"@reduxjs/toolkit": "^2.2.5",
Expand Down Expand Up @@ -52,6 +52,7 @@
"typedoc": "^0.25.13",
"typedoc-plugin-frontmatter": "^1.0.0",
"typedoc-plugin-markdown": "^4.0.3",
"use-deep-compare-effect": "^1.8.1",
"uuid": "^10.0.0",
"vega": "^5.28.0",
"vega-lite": "^5.17.0"
Expand Down
2 changes: 1 addition & 1 deletion public/demo-VLAT-full-randomized/config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/revisit-studies/study/v1.0.0-beta13/src/parser/StudyConfigSchema.json",
"$schema": "https://raw.githubusercontent.com/revisit-studies/study/v1.0.0/src/parser/StudyConfigSchema.json",
"studyMetadata": {
"title": "Randomized Full VLAT (Visualization Literacy Assessment Test)",
"version": "pilot",
Expand Down
2 changes: 1 addition & 1 deletion public/demo-VLAT-mini-randomized/config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/revisit-studies/study/v1.0.0-beta13/src/parser/StudyConfigSchema.json",
"$schema": "https://raw.githubusercontent.com/revisit-studies/study/v1.0.0/src/parser/StudyConfigSchema.json",
"studyMetadata": {
"title": "Visualization understanding questionnaire",
"version": "pilot",
Expand Down
2 changes: 1 addition & 1 deletion public/demo-brush-interactions/config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/revisit-studies/study/v1.0.0-beta13/src/parser/StudyConfigSchema.json",
"$schema": "https://raw.githubusercontent.com/revisit-studies/study/v1.0.0/src/parser/StudyConfigSchema.json",
"studyMetadata": {
"title": "Interactive Selections in Scatterplots",
"version": "pilot",
Expand Down
4 changes: 2 additions & 2 deletions public/demo-cleveland/config.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"$schema": "https://raw.githubusercontent.com/revisit-studies/study/v1.0.0-beta13/src/parser/StudyConfigSchema.json",
"$schema": "https://raw.githubusercontent.com/revisit-studies/study/v1.0.0/src/parser/StudyConfigSchema.json",
"studyMetadata": {
"title": "Dynamic React.js Stimuli: A Graphical Perception Experiment",
"version": "pilot",
"authors": [
"The reVISit Team"
],
"date": "2023-04-28",
"description": "A demo using dynamic React components as stimuli to replicate a Cleveland & McGill graphical perception task (doi:10.1080/01621459.1984.10478080), with a consent form, brief training, a post study survey. Data is collected via form elements in validated fields.",
"description": "A demo using dynamic React components as stimuli to replicate a Heer/Bostock perception study (doi:10.1145/1753326.1753357) that extends Cleveland & McGill graphical perception task (doi:10.1080/01621459.1984.10478080), with a consent form, brief training, a post study survey. Data is collected via form elements in validated fields.",
"organizations": [
"University of Utah",
"WPI",
Expand Down
2 changes: 1 addition & 1 deletion public/demo-click-accuracy-test/config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/revisit-studies/study/v1.0.0-beta13/src/parser/StudyConfigSchema.json",
"$schema": "https://raw.githubusercontent.com/revisit-studies/study/v1.0.0/src/parser/StudyConfigSchema.json",
"studyMetadata": {
"title": "Dynamic React Stimuli and Provenance Tracking",
"version": "pilot",
Expand Down
2 changes: 1 addition & 1 deletion public/demo-fairness-jnd/config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/revisit-studies/study/v1.0.0-beta13/src/parser/StudyConfigSchema.json",
"$schema": "https://raw.githubusercontent.com/revisit-studies/study/v1.0.0/src/parser/StudyConfigSchema.json",
"studyMetadata": {
"title": "Fairness JND",
"version": "pilot",
Expand Down
2 changes: 1 addition & 1 deletion public/demo-html-input/config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/revisit-studies/study/v1.0.0-beta13/src/parser/StudyConfigSchema.json",
"$schema": "https://raw.githubusercontent.com/revisit-studies/study/v1.0.0/src/parser/StudyConfigSchema.json",
"studyMetadata": {
"title": "Passing Data from reVISit to HTML and back",
"version": "pilot",
Expand Down
2 changes: 1 addition & 1 deletion public/demo-html-trrack/config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/revisit-studies/study/v1.0.0-beta13/src/parser/StudyConfigSchema.json",
"$schema": "https://raw.githubusercontent.com/revisit-studies/study/v1.0.0/src/parser/StudyConfigSchema.json",
"studyMetadata": {
"title": "HTML with Trrack library",
"version": "pilot",
Expand Down
2 changes: 1 addition & 1 deletion public/demo-html/config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/revisit-studies/study/v1.0.0-beta13/src/parser/StudyConfigSchema.json",
"$schema": "https://raw.githubusercontent.com/revisit-studies/study/v1.0.0/src/parser/StudyConfigSchema.json",
"studyMetadata": {
"title": "HTML as a Stimulus",
"version": "pilot",
Expand Down
2 changes: 1 addition & 1 deletion public/demo-image/config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/revisit-studies/study/v1.0.0-beta13/src/parser/StudyConfigSchema.json",
"$schema": "https://raw.githubusercontent.com/revisit-studies/study/v1.0.0/src/parser/StudyConfigSchema.json",
"studyMetadata": {
"title": "Simple Images as Stimuli: Decision-Making with Uncertainty Visualizations",
"version": "pilot",
Expand Down
2 changes: 1 addition & 1 deletion public/demo-mvnv/config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/revisit-studies/study/v1.0.0-beta13/src/parser/StudyConfigSchema.json",
"$schema": "https://raw.githubusercontent.com/revisit-studies/study/v1.0.0/src/parser/StudyConfigSchema.json",
"studyMetadata": {
"title": "MVNV Study Replication",
"version": "pilot",
Expand Down
2 changes: 1 addition & 1 deletion public/demo-survey/config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/revisit-studies/study/v1.0.0-beta13/src/parser/StudyConfigSchema.json",
"$schema": "https://raw.githubusercontent.com/revisit-studies/study/v1.0.0/src/parser/StudyConfigSchema.json",
"studyMetadata": {
"title": "Question Types and Form Elements Demo",
"version": "pilot",
Expand Down
6 changes: 2 additions & 4 deletions public/global.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/revisit-studies/study/v1.0.0-beta13/src/parser/GlobalConfigSchema.json",
"$schema": "https://raw.githubusercontent.com/revisit-studies/study/v1.0.0/src/parser/GlobalConfigSchema.json",
"configsList": [
"Upset-Alttext-User-Survey",
"demo-html",
Expand Down Expand Up @@ -70,7 +70,5 @@
"path": "test-parser-errors/config.json",
"test": true
}
},
"adminUsers": []

}
}
33 changes: 33 additions & 0 deletions public/revisitAssets/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 306e178

Please sign in to comment.