Skip to content

Advocate page for choosing a petition specific to your state#147

Draft
mistermocha wants to merge 3 commits intomasterfrom
advocate_for_state
Draft

Advocate page for choosing a petition specific to your state#147
mistermocha wants to merge 3 commits intomasterfrom
advocate_for_state

Conversation

@mistermocha
Copy link
Collaborator

@mistermocha mistermocha commented Jul 1, 2020

(copied from #146)

Screen Shot 2020-07-01 at 3 30 53 PM

This page has a dropdown with a list of states (to be filled in) that should eventually refer to a change.org petition for that given state (also to be created). This is an early PR to solicit review for content and design as well as code quality. To be done:

  • Create change.org petitions and apply to the list
  • Create template that will show the petition link in an appropriate manner, and render conditional content for states that are completed (Arizona for now) or for states that are approved-but-in-progress.
  • Decide what to do for applicants outside the normal 50 states (uncertain how the GAEN protocol handles Puerto Rico, or non-US lands)
  • Review copy text (help please)

@mistermocha
Copy link
Collaborator Author

Also, list of US states & territories copied from https://gist.github.com/mshafrir/2646763

@mistermocha mistermocha force-pushed the advocate_for_state branch 2 times, most recently from 7397f48 to b2dc0a0 Compare July 7, 2020 05:52
@mistermocha
Copy link
Collaborator Author

mistermocha commented Jul 7, 2020

Now with updates and data separation!

  • statepetitions.json holds status of all states. It's also a source reference for all the states and territories.
  • Use of v-if-else blocks to do conditional templates based on presence of a "progress" or "link" text in the selected state blob from statepetitions.json

Template screenshots in action:

  • When no petition exists, offers up a means of submitting a new change.org survey link via email

Screen Shot 2020-07-06 at 10 54 33 PM

  • When a state's development is in progress, we can provide some info

Screen Shot 2020-07-06 at 11 01 09 PM

  • When a link exists, it's presented (I faked the California link, no petition exists yet)

Screen Shot 2020-07-06 at 11 01 00 PM

Still need help with:

  • Copytext review for templates
  • Someone should decide how to state the progress of states whose progress have been approved (e.g., Arizona - maybe provide links to app stores?)
  • I don't know if the list of states & territories covers any unsupported areas. Who has familiarity with the GAEN protocol that can answer this?

Copy link
Collaborator

@jcolla-holla jcolla-holla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, agreed we need a bit more guidance on progress of states and change.org petitions.

pages/pilot.vue Outdated
@@ -12,7 +12,11 @@
alerts.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What are these changes to pilot.vue? This file should not be changed in this PR I don't think.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did a git pull and it merged other commits in. Still remembering the right way to github. I can unstage any changes that aren't mine.

@mistermocha mistermocha force-pushed the advocate_for_state branch from 30acd46 to 7028e44 Compare July 7, 2020 20:40
@jcolla-holla jcolla-holla marked this pull request as draft July 9, 2020 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants