Giter Club home page Giter Club logo

contextual-camouflage's People

Contributors

danigirl329 avatar greysteil avatar regularlady avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

wolffles

contextual-camouflage's Issues

Contributor Documentation

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:

  • Make CONTRIBUTING.md
  • Add/include in ^, Installation instructions
  • Add .ruby-version

Setup Vanity Locality

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.

Introduce Disclaimer Verbage on the Resources Pages

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."

Style Resource Slider resource links

The links in the resource slider need to be styled more closely to the second image. This information is coming from the admin screen, so I need to investigate translating html and how well it will do.

sketch1

Setup Google Analytics

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.

Setup Email Collection

Prompt the user for their email address:

Reason:

  • Interest in visiting an Installation
  • Interest in hosting an Installation

Style the Leaflet Map for Responsiveness | Art View

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".

Modify Display View

From Jason:

"Here is a mockup of how I envision the projected display looking. When it's projected, I want more emphasis on the map activity first and randomized revolving stories."

display-version-draft

Geolocation Javascript

Branch: geolocate-js

I cloned down the branch locally and ran it.

I ran into two issues:

  • Every page load requested permission to share my coordinates (my permission is not saving)
  • When I submitted the form through ngrok, the params are blank for latitude and longitude.

I tested this in Chrome and Safari.

Switch Anecdote and Research info

Top portion should provide information about the illness in slides. The bottom portion should contain the camo background and anecdotes also as a slider. Keep the 'back' button functionality.

image

Needs a loading screen

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.

Add a Link to the McKoy Creative CC Page

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.

Dynamically set screen size for each installation

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.

Geolocate Installation Page to User

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

Setup Installation Schedule

Have McKoy creative input the valid Installation (Locality) areas so IP address submissions can be matched.

Minor: Add a Favicon to the Site

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!

Disable submit buttons

Disable submit buttons when forms are submitted
Reenable them when the form errors or resets

Setup Submission, Anecdote and Research Forms

Please do this ticket first: #9

  • We need to setup each form progressive flow (order is Submission, Anecdote, Research)
  • Setup proper dropdowns (look at CC v1 for the data needed)
  • Submit the cookie on each form submission, Backend will handle the IP address
  • Allow the user to exit out of the flow if they do not want to add an Anecdote or Research
  • Keep them on the page

Limit Submission to Only One Illness

...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).

Submitting a blank submission causes failures

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.