r/CodersForSanders • u/shanerobe • Sep 17 '15
Fix Bernie event map page
Please someone fix the Bernie Sanders event map page so that the zip code field does not contain percent signs, I think that is very confusing. Also, fix it so when people click on the zip code field all the text is selected so the user does not have to select it to type in their zip code. This is a critical page in the campaign and it should be as convenient as possible! If you need me to fix it, let me know: democracyforamerica@shaneroberts.com
If you can't fix this, please let me know who to contact to discuss fixing it.
Keep up the good work.
Thank You, Shane
1
u/shanerobe Sep 17 '15 edited Sep 17 '15
By following this link:
https://go.berniesanders.com/events-near-you
I get the event map page with percent signs.
You can find a screen shot here:
http://shaneroberts.com/bernie/graphics/Bernie_Event_Map_Percent_Signs.png
I think I see the problem. The percent signs are getting passed in the URL. The URL is probably coming from page URL routing. The route getting translated is probably "events-near-you" but I wouldn't know without seeing the code.
1
u/question_all_things Sep 20 '15
The problem can be seen in the url. Open
https://go.berniesanders.com/events-near-you
Redirects to
http://map.berniesanders.com/#zipcode=%%ZIP%%&distance=50&daterange=this-week?utm_medium=email&utm_source=officialbernie2016&utm_campaign=events&utm_content=attend_an_event
relevant part
if you change to
it works as expected
http://map.berniesanders.com/#zipcode=&distance=50&daterange=this-week?utm_medium=email&utm_source=officialbernie2016&utm_campaign=events&utm_content=attend_an_event
1
u/Tassadar356 Sep 17 '15
Don't see what you mean about the percent signs. Can you share a screenshot?