-
Notifications
You must be signed in to change notification settings - Fork 14
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
Provide better visual distinction between Citywide vs District Based Council Items #29
Comments
we need some kind of visual cue that citwide items are different from the city council ones. or else, just not append them at the district level. here: |
@ardouglass, want to look at this? |
To visually differ the two with something like another header when the citywide stuff starts or something like tabs, there isn't a simple fix. There's no good way to do this (that I can think of) without rendering the legislation template a second time in a different block in the html. Would it be easy to make that happen @techieshark? |
I'm thinking basically we'd have to split the We could split the items either in js (note that for any Does that seem workable? |
It seems like it would work either way. The JS might be easier? I don't really know. I'm having a bit of trouble wrapping my head around what it's doing and how the specific templates are being rendered. |
I'm not sure if this helps, but here's a brief description (in perhaps more detail than you need but hopefully enough to get other lurkers up to speed): The line mentioned above is calling We call For each event item, we take the
The
If you need to change the templates themselves, you can find all those in /app/views/layouts/_mustache_templates.html.erb. Happy to answer any questions. |
Here's a thought (below). I liked @michaelhwan's idea to make it more clear which items are in district vs citywide, and the image below takes that a step further by splitting the sets of items into two. I'm wondering if we should take this even further by showing just in-district to start with, and then toggle the visibility of the citywide items somehow. Thoughts? |
@ianmesa any thoughts on this? |
I like how you are proposing to separate the two sections with the distinct headers. Also agree it might be better/less cluttered to toggle the citywide items Also, just another thought; I know we are starting to get a lot of icons, but Ive seen district items represented by an icon map of the district, and citywide items represented by an icon map of the city. |
@ianmesa you've seen those icons somewhere? Can you send me an example or a link to where you've seen that? I'm not quite following what you mean. Thanks! |
Spoke with Peter ... here's my feedback. I think you should go with the section headers and keep them on the same page (rather than having a toggle). I reasoned that there probably won't be as many items for the District -specific section so you should keep them on the same page. I also suggested that the titles for the sections are similar. Either "Items in District 4" and "Items across the city" or "District 4 Items" and City-wide Items" I would keep away from using "Being Discussed" -- it's passive text. Also, would consider changing "items" to something more descriptive like "Legislation", "Plans", "Issues" etc. Hope that helps! |
That's great. Thanks @KHarshawat. I'll get on this. |
right now at least, event items on the production site show an october 6th event before an october 16th one.
The text was updated successfully, but these errors were encountered: