Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add .env variable to customize the activity name - "Walk" vs "Run" #266

Open
bryankennedy opened this issue Feb 11, 2019 · 4 comments
Open
Assignees
Labels
COSI Issues related to the exhibit install at COSI IU Tasks for IU to complete Make-a-Vis Issues specific to the Make-a-Vis client station Signup & User Tracking Issues specific to the signup and user tracking systems SMM Tasks for SMM to complete Task Straightforward plan for work. Likely technical or operational in nature.

Comments

@bryankennedy
Copy link
Contributor

The COSI team would like to be able to customize the title/prompt of the experience from Run to Walk. They would like to make this change for safety reasons. Since some locations will still want to Run, we should load this text in from an environment variable.

@bherr2 I can do this on the start line, but does the word "run" show up on the MAV? Can you load that from a env var?

@bryankennedy bryankennedy added Task Straightforward plan for work. Likely technical or operational in nature. Make-a-Vis Issues specific to the Make-a-Vis client station Signup & User Tracking Issues specific to the signup and user tracking systems IU Tasks for IU to complete SMM Tasks for SMM to complete COSI Issues related to the exhibit install at COSI labels Feb 11, 2019
@bherr2
Copy link
Member

bherr2 commented Feb 11, 2019

I'll need to check, but if you make it available via the graphql api like you have with run time, etc we can pull it in like we do other site-specific settings.

@bryankennedy
Copy link
Contributor Author

Ah right. That's a good way to do that. I'll just make it a setting field.

bryankennedy added a commit that referenced this issue Feb 11, 2019
This will allow different locations to have a different prompt for the
race activity. COSI wants theirs to be called Walk not Run.

Issues: #266
bryankennedy added a commit that referenced this issue Feb 11, 2019
Ensure that the data tables contain the right field.

Issues: #266
@bryankennedy
Copy link
Contributor Author

I am still working on building this into the Settings field. I manually changed the text in the COSI install, leaving the working copy there in a dirty state. Once I have this complete, I'll revert those changes in their install.

@bryankennedy
Copy link
Contributor Author

Brandon can you tackle this as you're working on the new database structure?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
COSI Issues related to the exhibit install at COSI IU Tasks for IU to complete Make-a-Vis Issues specific to the Make-a-Vis client station Signup & User Tracking Issues specific to the signup and user tracking systems SMM Tasks for SMM to complete Task Straightforward plan for work. Likely technical or operational in nature.
Projects
None yet
Development

No branches or pull requests

3 participants