Commit graph

1728 commits

Author SHA1 Message Date
Laura Klünder
4b5b65c1b4 remove old css code 2017-10-29 20:21:37 +01:00
Laura Klünder
7c8dc7e85d more autofocus on view transitions 2017-10-29 20:05:13 +01:00
Laura Klünder
e74811122d save views in <main> and add route-result view and route-header 2017-10-29 19:54:44 +01:00
Laura Klünder
284cbb15c2 fix leaflet icon image path 2017-10-29 18:34:39 +01:00
Laura Klünder
28945f1a36 swap origin and destination 2017-10-29 17:03:02 +01:00
Laura Klünder
f29183b68a remove EmptyBounds 2017-10-29 16:31:46 +01:00
Laura Klünder
55f0f481fe optimized empty png image in SVGImage 2017-10-29 14:24:45 +01:00
Laura Klünder
4ad4083456 rendering background color to RGB instead of RGBA PNGs 2017-10-29 13:36:34 +01:00
Laura Klünder
d05ae2d7da calculate correct padding for flyToBounds 2017-10-29 13:14:02 +01:00
Laura Klünder
0acc1a6413 fix tileLayer bounds (were still y,x) 2017-10-29 12:49:26 +01:00
Laura Klünder
021c5a3c3a show results on the map and fly to bounds 2017-10-29 12:45:26 +01:00
Laura Klünder
31cb2dd046 add markers when a location is selected 2017-10-29 12:00:59 +01:00
Laura Klünder
0cc7617502 replace locations_by_slug with locations_by_id 2017-10-29 12:00:08 +01:00
Laura Klünder
d174451699 forgot one place where it still was y,x 2017-10-29 11:34:23 +01:00
Laura Klünder
a3be7b2842 flip every y,x to x,y 2017-10-29 11:32:44 +01:00
Laura Klünder
cce476c37a using id() as a cache key was a very bad idea 2017-10-29 09:47:53 +01:00
Laura Klünder
bfe1491efc add border to map renderings 2017-10-29 09:32:15 +01:00
Laura Klünder
737818c5e0 fix X-Requested-With Vary 2017-10-28 21:49:30 +02:00
Laura Klünder
8c52f9aed1 add language to etag 2017-10-28 21:47:53 +02:00
Laura Klünder
5fe03c4c8e add simple_geometry to location api 2017-10-28 21:36:52 +02:00
Laura Klünder
f83b77ed8b improve location api caching again and improve subtitles/descriptions 2017-10-28 20:50:02 +02:00
Laura Klünder
8beb6f9e8b better subtitles for location groups and more caching in query set 2017-10-28 20:30:27 +02:00
Laura Klünder
966b554169 locationgroups always on top 2017-10-28 20:06:44 +02:00
Laura Klünder
be97ed6a47 add LocationGroup.subtitle 2017-10-28 19:49:28 +02:00
Laura Klünder
0aadd97eb8 fix view transition in chrome (some weird rendering bug) 2017-10-28 19:30:11 +02:00
Laura Klünder
9bdea3b4b4 click route button 2017-10-28 19:30:04 +02:00
Laura Klünder
b5337af65e api should not break if it sends a 304 2017-10-28 19:04:34 +02:00
Laura Klünder
4771f8828e init_locationinputs() 2017-10-28 18:57:58 +02:00
Laura Klünder
ea76bfe8e2 init_locationinputs → init_sidebar 2017-10-28 18:56:45 +02:00
Laura Klünder
d32d4315ff fix missing semicolon 2017-10-28 18:56:38 +02:00
Laura Klünder
81c360ba69 blur input or focus next one on click or return key 2017-10-28 18:53:42 +02:00
Laura Klünder
2a158a41ac change view transition speed 2017-10-28 18:46:46 +02:00
Laura Klünder
7d483fc5cc toggle location view 2017-10-28 18:45:20 +02:00
Laura Klünder
c317938bff disable native autocomplete and spellcheck in locationinputs 2017-10-28 18:35:10 +02:00
Laura Klünder
5666592340 set empty class 2017-10-28 18:35:05 +02:00
Laura Klünder
6c034223e5 remove typeahead.js inclusion 2017-10-28 18:27:15 +02:00
Laura Klünder
951359f287 goodbye typeahead.js 2017-10-28 18:20:42 +02:00
Laura Klünder
97030af17f remove old buttons 2017-10-28 18:20:29 +02:00
Laura Klünder
19843a6689 remove autocomplete defaults 2017-10-28 18:20:07 +02:00
Laura Klünder
b6a55a7b66 finish up autocomplete 2017-10-28 18:18:53 +02:00
Laura Klünder
cced25c8ef fix locationinput input line height, so clicking doesnt jump to the start 2017-10-28 17:18:21 +02:00
Laura Klünder
96592b9355 locationinput: blur, escape and clear button 2017-10-28 16:57:13 +02:00
Laura Klünder
49cff1cfb8 add missing semicolon 2017-10-28 16:37:56 +02:00
Laura Klünder
6bb4d8a18c dont forget to set c3nav._last_locationinput_words_key 2017-10-28 16:31:08 +02:00
Laura Klünder
6b369f1b88 locationinput instead of typeahead 2017-10-28 16:29:55 +02:00
Laura Klünder
315c4e6ad8 reformat code 2017-10-28 16:22:46 +02:00
Laura Klünder
75630f33d1 don't show more autocomplete suggestion than fit the screen 2017-10-28 16:20:53 +02:00
Laura Klünder
18aac563f4 always clear autocomplete after new matching 2017-10-28 16:15:55 +02:00
Laura Klünder
80347480be breaking news: JavaScript is not Python 2017-10-28 16:12:57 +02:00
Laura Klünder
482f09afee don't match again if user input does no change anything 2017-10-28 16:12:18 +02:00