Commit Graph

50 Commits

Author SHA1 Message Date
James Bogosian
963831deee Enable zoom on live view of the car. (#2184)
* Enable zoom on live view of the car.

* Switch to using drag/pinch-to-zoom/scroll-to-zoom

* Remove data-zoom attrbiute as parameters are directly set in the JS.

* Directly set parameters for zoom instead of relying on attribute from DOM.

* Switch to use hover/tap to show/hide zoom control.
2022-01-21 19:28:20 +01:00
Adrian Kumpf
70468ea762 Migrate from webpack to esbuild 2021-09-22 22:07:14 +02:00
Adrian Kumpf
e15fef7216 Uprade phoenix_live_view to 0.16 2021-09-22 17:10:48 +02:00
Adrian Kumpf
5ebe952205 Format javascript and css files 2020-12-30 17:49:47 +01:00
Adrian Kumpf
e66894d028 Fix FunctionClauseError if import directory is not accessible
Addresses #1070
2020-12-29 20:32:20 +01:00
Adrian Kumpf
bb7df800a5 Allow to enter MFA codes 2020-12-20 22:18:52 +01:00
Adrian Kumpf
9c3f4cb47d Open Statistics dashboard with browser time zone 2020-10-13 18:02:23 +02:00
Adrian Kumpf
1aa86332da Bump webpack to 5.0 2020-10-11 19:19:08 +02:00
Adrian Kumpf
e7d755eb5e Update LiveView hooks with new CSS selectors 2020-09-01 11:49:03 +02:00
Adrian Kumpf
04ab18262d Allow to set charge cost by minute 2020-05-30 12:33:23 +02:00
Adrian Kumpf
9901277973 Tweak arrow radius 2020-04-16 11:16:04 +02:00
Adrian Kumpf
6b8639c636 Use arrow to indicate direction of the vehicle 2020-04-04 13:43:42 +02:00
Adrian Kumpf
e6fc0609ff Show spinner before the map is initialized 2020-04-04 13:43:42 +02:00
Adrian Kumpf
b76b2d2cfa Add option to calculate charging costs retroactively
Closes #442
2020-03-11 15:11:13 +01:00
Adrian Kumpf
14a5acf7cb Allow to enter total cost or cost per KWh used
Closes #457
2020-03-11 15:11:13 +01:00
Adrian Kumpf
40a50b23d7 Add eventListener only to existing elements
Fixes #473
2020-02-23 22:51:48 +01:00
Adrian Kumpf
1e4a6131e2 Collapse dashboards dropdown on mobile
Closes #427
2020-02-23 12:23:57 +01:00
Adrian Kumpf
dcda7889c4 Do not push position changes 2020-02-16 12:41:02 +01:00
Adrian Kumpf
e47fd0f613 Preselect timezone 2020-02-14 10:43:52 +01:00
Adrian Kumpf
583dae76ac Show zoom controls
Closes #388
2020-02-13 17:00:43 +01:00
Adrian Kumpf
c3d11f1b0d Simplify geo-fence editing 2020-02-13 16:43:33 +01:00
Adrian Kumpf
30494869ae Move to npm everywhere 2020-02-12 13:42:40 +01:00
Adrian Kumpf
f61315cb10 Implement TeslaFi import
Closes #316
2020-02-07 13:21:05 +01:00
Adrian Kumpf
c41b916fa5 Remove default LiveView CSS 2020-01-24 16:18:39 +01:00
Adrian Kumpf
38486d69a3 Bump phoenix_live_view to 0.6.0 2020-01-24 14:08:47 +01:00
Adrian Kumpf
6d161f2875 Show notification after save 2020-01-15 18:29:29 +01:00
Adrian Kumpf
0ba9c81c2e Set lang attribute on input elements 2020-01-15 18:29:29 +01:00
Adrian Kumpf
35ced850e9 Add charge cost interface
Closes #185, closes #342
2020-01-15 18:28:12 +01:00
Adrian Kumpf
3904a18e24 Fix tooltips in Safari (iOS) 2020-01-14 19:29:19 +01:00
Adrian Kumpf
207fa0c525 Update js dependencies 2019-12-22 14:49:22 +01:00
Adrian Kumpf
62b8a211af Automatically set Grafana URL 2019-11-24 13:56:14 +01:00
Adrian Kumpf
549dedb3bf Decouple global from car-specific settings 2019-11-18 23:43:25 +01:00
Adrian Kumpf
2bbb7879ff Test phase correction 2019-10-27 20:34:28 +01:00
Adrian Kumpf
f428581eef Tweak mobile and desktop views 2019-10-09 17:40:57 +02:00
Adrian Kumpf
3b54d0be06 Prevent dragging & zooming on leaflet map 2019-10-03 02:25:25 +02:00
Adrian Kumpf
8eefaba4bb Use native confirmation dialog 2019-09-29 18:46:43 +02:00
Adrian Kumpf
500af43664 Add base URL to settings 2019-09-28 20:59:41 +02:00
Adrian Kumpf
35e1be2589 Allow geo-fences to have multiple addresses 2019-09-28 19:24:40 +02:00
Adrian Kumpf
2e139e5ab0 Fix set position when selecting search entry 2019-09-24 22:28:15 +02:00
Adrian Kumpf
e316bfcd48 Update map when the car is driving 2019-09-16 13:45:45 +02:00
Adrian Kumpf
191250959e Show the current vehicle position 2019-09-14 02:21:51 +02:00
Adrian Kumpf
21ee80eb3c Format js code 2019-09-13 18:46:01 +02:00
Adrian Kumpf
5185b0504d Bump phoenix_live_view to 0.2.0 2019-09-13 18:46:01 +02:00
Adrian Kumpf
ac913ae632 Pick geo-fences from a map 2019-09-01 21:19:48 +02:00
Adrian Kumpf
3bde9ebcbb Use LiveView hooks to convert UTC dates to local time 2019-08-19 22:48:37 +02:00
Adrian Kumpf
07c0cbfdb3 Show duration of current state 2019-08-18 20:32:23 +02:00
Adrian Kumpf
ce2c0568e9 Show additional charging related information 2019-08-05 12:54:14 +02:00
Adrian Kumpf
9f6b25d4a9 Render LiveView summary of all vehicles 2019-04-13 19:24:30 +02:00
Adrian Kumpf
a2519e7431 Add live_view 2019-04-13 19:24:30 +02:00
Adrian Kumpf
3d95859dfe Initial commit 2019-03-31 14:00:40 +02:00