contextualcamouflage / contextual-camouflage Goto Github PK
View Code? Open in Web Editor NEWErasing the Stigma Around Mental Illness
Home Page: https://contextual-camouflage.herokuapp.com/installations/1
Erasing the Stigma Around Mental Illness
Home Page: https://contextual-camouflage.herokuapp.com/installations/1
This content needs to be on the Resources page titled "Need Help?"
McKoy Creative Consulting & Design: Links for main Resource Page.pdf
I found the project after the RailsConf talk about it. My nephew is autistic so the project really made an impact on me so I thought I'd contribute.
It seems like there's some documentation needs.
My thought is to add a CONTRIBUTING.md
file. A couple other things I noticed missing from the read me are project setup instructions & versions of various parts of the stack. I'd also recommend adding a .ruby-version
file. If you're cool with any of this and/or have any thoughts let me know and I can submit a PR for some of this.
Todos:
CONTRIBUTING.md
.ruby-version
Assigning to @danigirl329 first to see if she can spot a form issue first.
Downtown Pittsburgh's IP address actually geocodes to McKeesport. We want to setup a field in Installations so that we can display 'Downtown' but still still geocode using 'McKeesport'.
This field can be easily changed in the Admin section of the app.
From Jason:
I included a disclaimer that should exist in some way on every page. It can just be a popup, tooltip, or the full passage, whatever you think works best with the aesthetic.
"The content on this site is made available for education and informational purposes only and is not meant to serve as medical advice or to replace consultation with your physician or mental health professional.ย If you have questions or concerns, you are advised to consult a mental health provider."
Should we:
I'm going to send an email to Jason and ask him to create a Google Analytics project and invite our Gmail addresses to it.
We will need the GA information to be kept secret since we do not want to hardcode it for future users of the project.
The menu works for me everywhere in the app but if I click on it from the Resources view, it will not open.
Example: https://www.contextualcamouflage.com/resources/4#
I believe it is an issue with the Slider on the page.
Uncaught TypeError: Cannot read property 'style' of undefined
Please theme the Admin Login screen and the Admin section to fit the rest of the application.
Instructions here: https://github.com/sferik/rails_admin/wiki/Theming-and-customization
Add instructions of getting a certificate from Heroku
Prompt the user for their email address:
Reason:
Example: 23.25.80.129
This IP does not return a locality for this, which is required to connect to an Installation.
It would be great if the map could flex for phone size.
Even better: if the screen size is beyond a standard laptop size, we should hide all forms and assume the map and key the only elements needed for the "art piece".
Currently, illness selection is a radio button, we'd like a way to tie a single submission as the user wishes (example: OCD & Anxiety)
Branch: geolocate-js
I cloned down the branch locally and ran it.
I ran into two issues:
I tested this in Chrome and Safari.
Library: https://github.com/js-cookie/js-cookie
We need to grab the cookie value and submit through on all of the forms, to be stored into the database.
For testing purposes, we will shorten this to 5 minutes.
When a submission is submitted, the client would like it if the new submission was animated on to the live art piece.
http://materializecss.com/side-nav.html
Set up the slide nav for main navigation
Remove any other item from the display page except the map - screen size to work with for now is 75"
A separate display(s) that displays posted stories as they're submitted, and/or carousels stories.
Session = the user who is currently accessing the website
Cookie = the user's current form submission
The users are not getting geolocated in time to start answering questions and being geolocated. Let's place a loading screen so after approval is received to share location, the user can't interact with the forms until their location is received from geo.
Note: this link will live on in the code for all users so be sure it is somewhere subtle but easy to find.
Open a new tab since we don't want to confuse the users with pushing them to a different site.
We should be able to set the screen size in admin for each installation.
We can use this to show the map at the proper size using media queries for the installation when it goes live at each location. This way we won't have to 'recode' every time we do a new installation.
Please style the installations in a responsive table. Thanks!
Currently the root page of the app: https://contextual-camo-staging.herokuapp.com/
Cannot use Heroku since the application will sleep.
Since we're doing a solid job of locating the user, we should also use that information to autodirect the user to the closest active installation that they can submit to (/installation/#).
If an active Installation does not exist in their area, we can redirect them to /installations
Have McKoy creative input the valid Installation (Locality) areas so IP address submissions can be matched.
I plan on pairing with @danigirl329 on this.
I will set up the data and the controller actions, will reassign to @danigirl329 for styling once they are ready.
Please move all of the styles from:
https://github.com/ContextualCamouflage/contextual-camoflage-frontend
and make sure it is enabled for the Asset Pipeline.
Please add a favicon to the site so users are assured they have come to the right place. Either come up with your own or request one from McCoy Creative. Thanks!
We need to design, then link to the marker class for each submission illness type. I think if we use a wavy blog top icon, it will end up looking like camoflage.
They should match the current key:
The actual colors are linked here:
Disable submit buttons when forms are submitted
Reenable them when the form errors or resets
@danigirl329 I've added the real descriptions in for the conditions. Can you please re-style and make sure:
Current example: https://www.contextualcamouflage.com/resources/8
Please do this ticket first: #9
Use this one! https://github.com/blocknotes/rails_admin_material
...lives with one or more of the following diagnosed mental disorders
This should only let you select one illness at a time (we'd overwhelm the map with more than one).
Can use Actioncable (ideal) or a service like Pusher.
We occasionally get errors from Rollbar from Crawlers looking for Wordpress (?) access.
Following this blog post should be a big help.
https://andycroll.com/ruby/stop-robots-crawlers-triggering-errors-rails/
We will need to protect against any and all fake and blank submissions. Right now, if I submit a blank 'illness' the page reloads and fails loading because it's looking for a name of that illness, but it doesn't exist.
To repro:
Click Share My Story
Don't select an illness
Click either button to submit the form
Reload the page, you should get an error.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.