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

Implement Variable Tag for Campaign URL #828

Open
jamjensen opened this issue Mar 23, 2017 · 4 comments
Open

Implement Variable Tag for Campaign URL #828

jamjensen opened this issue Mar 23, 2017 · 4 comments

Comments

@jamjensen
Copy link
Contributor

jamjensen commented Mar 23, 2017

FEATURE OVERVIEW

User Story

  • As a user I'd like to be able to click the campaign url if I'm unable to send a photo over MMS so that I can still reportback on the campaign.

Why This Matters

  • There are ~70 users who have completed Give A Spit (from the broadcast on March 21) that are unable to send us their photo. They try to send their photo and receive the InvalidPhotoMessage. The current InvalidPhotoMessage gives them 2 options: (1) try again to text back their photo; (2) text back Q to ask a question. We then see users texting in Q and asking us how to reportback. Currently, the best way to help them is for an admin to send them a link to the user's campaign.

Additional Information

  • The best way to accomplish this request is to create a new liquid style variable tag -- something similar to {{campaign_url}}

Acceptance Criteria

  • Given I receive the InvalidPhotoMessage
  • When I click the URL to the campaign page
  • Then I am able to upload a RB for the campaign I interacted with over SMS
@aaronschachter
Copy link
Contributor

This can be overridden per Campaign @jamjensen so for Give A Spit, we can override the No Photo Sent message with a URL. Is this issue to implement a new Liquid style variable tag like {{campaign_url}}?

@jamjensen
Copy link
Contributor Author

jamjensen commented Mar 23, 2017

@aaronschachter that sounds like the best way to accomplish the goal, so yes -- this issue requests that we implement a new Liquid style variable tag. Renaming the issue to reflect purpose.

If we were to implement a new liquid style tag would that be something we can use when we're off of Mobile Commons?

@jamjensen jamjensen changed the title Add Campaign URL to InvalidPhotoMessage Implement Variable Tag for Campaign URL Mar 23, 2017
@aaronschachter
Copy link
Contributor

Yup, Gambit is coded to use the Liquid style {{variable_name}} just for the sake of familiarity -- it doesn't really ever touch Mobile Commons Liquid.

It sounds like what would really be the jam for the Campaign URL variable is a magic link like we use on the Mobile App, so when the user clicks on the link they're already signed in. We'll want to check with the Northstar team though, as the mobile app uses a legacy Northstar endpoint to accomplish this.

@aaronschachter
Copy link
Contributor

Labelled this with blocked, waiting on switch to Phoenix from Ashes (#1019)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants