mitmedialab / MediaCloud-Dashboard

Front-end for the MediaCloud database
https://dashboard.mediameter.org
Apache License 2.0
16 stars 6 forks source link

support multiple example queries #262

Closed rahulbot closed 8 years ago

rahulbot commented 8 years ago

The research team will get us a set of named examples to integrate. We should add a collapsed box at the top that lets you quickly load one of a set of example queries. These should be regular href's, so it demonstrates our query linking capability. Maybe this should be another button next to "load saved..."?

anushka1991 commented 8 years ago

Will post links here by today.

Also, need to change the default search terms "health" and "gender" instead of "truth" and "beauty" :)

anushka1991 commented 8 years ago

Here is the default search term using 'Zika' (Fernando suggest we change this every month to keep it current affairs relevant - does that work since it'll just be a url change?): https://dashboard.mediameter.org/q/1a4f18jsdx

Three example links: (do we just have these in a list of three under a tab that says "Examples"?)

  1. Comparison of the Orlando-shooting coverage in US regional vs. mainstream news sources: https://dashboard.mediameter.org/q/f0a5-vfkbbt
  2. Family planning discussions in Indian news: https://dashboard.mediameter.org/q/2ed5-m1bs0x
  3. Conversations around Female Genital Mutilation (FGM) in different types of US news sources: https://dashboard.mediameter.org/q/7d4caw4hj9
elplatt commented 8 years ago

This is now in query_list_view.html but links 1 and 2 result in an Error 400.

rahulbot commented 8 years ago

@anushka1991 - can you give us the full URL for the first two queries?

anushka1991 commented 8 years ago

Ah, here are the links again - and have updated the topics and dates:

1) Comparison of coverage around guns in US regional vs. mainstream news sources: https://dashboard.mediameter.org/q/52e4qfhrre

2) Child marriage in Indian news: https://dashboard.mediameter.org/q/75b38i3fth

Also the default one on Zika with more relevant dates in case you'll want to use that: https://dashboard.mediameter.org/q/94defxu48v

elplatt commented 8 years ago

I'm getting a 401 unauthorized error for all of these URLs.

elplatt commented 8 years ago

Oops! Disregard. I was logged into my development instance but not the real one. Duh :)

anushka1991 commented 8 years ago

Haha ok glad it worked!

On Mon, Aug 22, 2016 at 9:32 AM, Edward L Platt notifications@github.com wrote:

Oops! Disregard. I was logged into my development instance but not the real one. Duh :)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/c4fcm/MediaMeter-Dashboard/issues/262#issuecomment-241413359, or mute the thread https://github.com/notifications/unsubscribe-auth/AOmJipLjoEq-nOOI-IY0J-kdFEMsk_9jks5qiaULgaJpZM4JFROH .

rahulbot commented 8 years ago

Change these to the full URLs, not the shortened ones. The shortened ones are brittle because they can be deleted by the person that made them.

rahulbot commented 8 years ago

Seems to be right.