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

Add-in font image of all 50 states on far right of site header #152

Closed davidmooreppf closed 10 years ago

davidmooreppf commented 10 years ago

where clicking on a state defaults to federal view Q listing ::

http://oglocal.herokuapp.com/ny/questions?type=FederalLegislator

... let's try using this font pls. that @Walter suggested ::

http://intridea.github.io/stately/

...Goal here is to enable view of all federal NY state Q's that's separate from "by location" view ::

http://oglocal.herokuapp.com/locator?q=10013

walter commented 10 years ago

Have talked about this with @acacheung and fitting in states map into top right of header is not do-able size wise.

We talked about having a trigger that reveals the map for navigation. I'm thinking of a combination approach:

Thoughts?

walter commented 10 years ago

@acacheung note that you can use the default_jurisdiction method in controllers and views to get the current_user's state:

https://github.com/opengovernment/askthem/blob/master/app/controllers/application_controller.rb#L5

walter commented 10 years ago

@davidmooreppf here's the issue where I discussed the alternative UX with the "expand down to show map to choose state" UX.

davidmooreppf commented 10 years ago

OK we'll talk more about this Amanda - as above, goal is to provide a user a view to these pages ::

http://preview.askthem.io/ny/questions/

... through a link in upper-right of header. That when clicked, would drop down and reveal a larger national map, allowing the user to click on each state name and go to /questions there.

So what do you think, Amanda - copy as "See All States" ? How time-intensive is such a drop-down?

walter commented 10 years ago

@acacheung see ^. Can we repurpose the work done in #158 to accomplish this?

158 is exactly what I had in mind visually and functionally. All we seem to need is be able to have "slide down" or animate into place some other way (or a modal).

acacheung commented 10 years ago

screen shot 2013-12-18 at 2 04 30 pm

walter commented 10 years ago

In Safari for me, the "See the Map" is dropped down to a new line and on the left.

I also think the idea for this is to have a JavaScript backed animation to reveal the map (and also make it possible collapse it).

The copy should also indicate that it is a navigation tool. E.g. "Pick another state to view", but more succinct.

acacheung commented 10 years ago

discussed with @davidmooreppf earlier to have it as just a link thoughts?

walter commented 10 years ago

I'm alright with it than.

walter commented 10 years ago

Oops. The copy and placement still need work.