opengovernment / askthem

Monitor and interact with local governments in the United States
GNU Affero General Public License v3.0
41 stars 15 forks source link

Change default sharing copy for answered Q's #395

Closed maryamgunja closed 10 years ago

maryamgunja commented 10 years ago

When a question is answered change the sharing copy on FB/Twitter to reflect answer rather than to encourage signatures...

Current:

screen shot 2014-03-13 at 6 16 05 pm screen shot 2014-03-13 at 6 16 20 pm

davidmooreppf commented 10 years ago

So in /questions/show, I see <%= twitter_question_share( in line 140, and the copy for email sharing subject in 152, but I don't know if I see the place to change it where Q status is answered. Little help @walter?

walter commented 10 years ago

This functionality requires some additional logic added to it.

I'm planning on doing this today. Will close this when it is done and let you know when it is deployed.

walter commented 10 years ago

We should probably go through each sharing piece of text.

Here's what we have now for mail:

https://github.com/opengovernment/askthem/blob/master/app/helpers/questions_helper.rb#L44-L56

Here's what we have for Twitter:

https://github.com/opengovernment/askthem/blob/master/app/helpers/questions_helper.rb#L44-L56

(hopefully you can get the gist of the programming)

For Facebook and Google+, we can't do much unfortunately for long convoluted reasons.

maryamgunja commented 10 years ago

Revised Sharing Copy -

Twitter

Current:

Support my question to @TexGov on @AskThemPPF: Why are we subsidizing oil companies for stealing our resources and polluting our air, land and wate http://www.askthem.io/tx/questions/532712b3d535cfa1dd00004b

Change to:

Share (name/handle of official's) answer on @AskThemPPF to "(question title)" (Question)URL

FB

Current:

Ask Rick Perry: "Why are we subsidizing oil companies for stealing our resources and polluting... www.askthem.io Click to support this question on AskThem.io and get a public response.

Change to:

Share (name/handle of official's) answer to: "(question title)" www.askthem.io Click to support this answer on AskThem.io.

Google +

Current: Ask Rick Perry: "Why are we subsidizing oil companies for stealing our resources and polluting our air, land and wate" - Texas - AskThem.io

Change to:

Share (name/handle of official's) answer: "(question title)" - (State)- Askthem.io

On Thu, Mar 20, 2014 at 6:47 PM, Walter McGinnis notifications@github.comwrote:

We should probably go through each sharing piece of text.

Here's what we have now for mail:

https://github.com/opengovernment/askthem/blob/master/app/helpers/questions_helper.rb#L44-L56

Here's what we have for Twitter:

https://github.com/opengovernment/askthem/blob/master/app/helpers/questions_helper.rb#L44-L56

(hopefully you can get the gist of the programming)

For Facebook and Google+, we can't do much unfortunately for long convoluted reasons.

Reply to this email directly or view it on GitHubhttps://github.com/opengovernment/askthem/issues/395#issuecomment-38230453 .

maryamgunja commented 10 years ago

...with capped twitter characters on copy to 60 instead of 100 (current)

On Thu, Mar 20, 2014 at 6:52 PM, Maryam Gunja maryam@askthem.io wrote:

Revised Sharing Copy -

Twitter

Current:

Support my question to @TexGov on @AskThemPPF: Why are we subsidizing oil companies for stealing our resources and polluting our air, land and wate http://www.askthem.io/tx/questions/532712b3d535cfa1dd00004b

Change to:

Share (name/handle of official's) answer on @AskThemPPF to "(question title)" (Question)URL

FB

Current:

Ask Rick Perry: "Why are we subsidizing oil companies for stealing our resources and polluting... www.askthem.io Click to support this question on AskThem.io and get a public response.

Change to:

Share (name/handle of official's) answer to: "(question title)" www.askthem.io Click to support this answer on AskThem.io.

Google +

Current: Ask Rick Perry: "Why are we subsidizing oil companies for stealing our resources and polluting our air, land and wate" - Texas - AskThem.io

Change to:

Share (name/handle of official's) answer: "(question title)" - (State)- Askthem.io

On Thu, Mar 20, 2014 at 6:47 PM, Walter McGinnis <notifications@github.com

wrote:

We should probably go through each sharing piece of text.

Here's what we have now for mail:

https://github.com/opengovernment/askthem/blob/master/app/helpers/questions_helper.rb#L44-L56

Here's what we have for Twitter:

https://github.com/opengovernment/askthem/blob/master/app/helpers/questions_helper.rb#L44-L56

(hopefully you can get the gist of the programming)

For Facebook and Google+, we can't do much unfortunately for long convoluted reasons.

Reply to this email directly or view it on GitHubhttps://github.com/opengovernment/askthem/issues/395#issuecomment-38230453 .

walter commented 10 years ago

@davidmooreppf & @maryamgunja this is now in place on the live site.

Note that FB & Google+ text is a bit different, but does indicate there is an answer rather than call for signatures.