Commit Graph

52 Commits

Author SHA1 Message Date
Adrian Kumpf
a0e12c3808 Store marketing names
... and identify new Model S and X.

Closes #2494, #2496
2022-04-22 15:42:25 +02:00
cwanja
66254de906 Update summary.html.heex (#2390)
* Update summary.html.heex

Create a link on the summary page to link to Not a Tesla App release notes page per discussion request #2367 

Full disclosure - not proficient in Elixir, but understand HTML and capable of digging through other code and comparing. Just not sure how the `@summary.version` is going to be treated in the link text.

* Fix string interpolation

* Update tests

Co-authored-by: Adrian Kumpf <8999358+adriankumpf@users.noreply.github.com>
2022-01-28 12:16:17 +01:00
Adrian Kumpf
6c53788738 Don't suspend logging while downloading an update
Fixes #2194
2022-01-22 13:00:50 +01:00
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
dependabot[bot]
9509ccde76 Bump ex_cldr from 2.23.2 to 2.24.1 (#2121)
* Bump ex_cldr from 2.23.2 to 2.24.1

Bumps [ex_cldr](https://github.com/elixir-cldr/cldr) from 2.23.2 to 2.24.1.
- [Release notes](https://github.com/elixir-cldr/cldr/releases)
- [Changelog](https://github.com/elixir-cldr/cldr/blob/master/CHANGELOG.md)
- [Commits](https://github.com/elixir-cldr/cldr/compare/v2.23.2...v2.24.1)

---
updated-dependencies:
- dependency-name: ex_cldr
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Replace custom PutSession plug

* Bust cldr chache

* Bump phoenix_live_view and tzdata

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Adrian Kumpf <8999358+adriankumpf@users.noreply.github.com>
2021-11-05 17:19:37 +01:00
Adrian Kumpf
6c0c0eeaa9 Display marketing names
Related to #2030
2021-10-06 12:25:18 +02:00
Adrian Kumpf
537452effe Migrate to HEEx templates 2021-09-22 17:10:48 +02:00
Adrian Kumpf
5262fae880 Fix error when changing the language to Chinese
Fixes #1659
2021-06-02 11:24:51 +02:00
dependabot[bot]
3e22623e2a Bump ex_cldr from 2.20.0 to 2.21.0 (#1627)
* Bump ex_cldr from 2.20.0 to 2.21.0

Bumps [ex_cldr](https://github.com/elixir-cldr/cldr) from 2.20.0 to 2.21.0.
- [Release notes](https://github.com/elixir-cldr/cldr/releases)
- [Changelog](https://github.com/elixir-cldr/cldr/blob/master/CHANGELOG.md)
- [Commits](https://github.com/elixir-cldr/cldr/compare/v2.20.0...v2.21.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Use new Cldr.Plug.SetSession

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Adrian Kumpf <8999358+adriankumpf@users.noreply.github.com>
2021-05-18 23:32:36 +02:00
Adrian Kumpf
bccb43b346 Prevent division by zero
Fixes #1145
2020-12-25 22:57:14 +01:00
Adrian Kumpf
917bade4d9 Show tooltip unless values are missing
Fixes #1111
2020-12-22 15:45:08 +01:00
Adrian Kumpf
4b23c8604e Upgrade to Elixir v1.11 2020-10-08 22:17:56 +02:00
Adrian
7872184a5c Display update version in the homescreen update tooltip (#976)
* Make update_version of the API available

* Add update version to the update tooltip

* Fix formatting

* Update translations to reflect the new tooltip

* Fix car controller test

* Add update_version to the mqtt documentation
2020-10-08 10:33:56 +02:00
Adrian Kumpf
95bc0ae3f3 Bump dependencies 2020-08-21 13:37:00 +02:00
Adrian Kumpf
5a2ca3ebcf Update the default sleep requirements
… so that the car does not need to be locked to go to sleep.
2020-07-09 19:02:47 +02:00
Adrian Kumpf
80c9cfd9b9 Set a valid DOM id 2020-07-08 20:01:28 +02:00
Adrian Kumpf
2d08545396 Do not publish unknown values
Addresses #639
2020-04-25 12:50:45 +02:00
Adrian Kumpf
155a135d51 Upgrade to phoenix 1.5 2020-04-23 12:51:15 +02:00
Adrian Kumpf
025a81f874 Do not suspend if the doors or trunk are open 2020-04-02 17:54:37 +02:00
Adrian Kumpf
94163bbf46 Handle unexpected info messages 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
c71d8af763 Use Accept-Language header to set locale 2020-01-21 14:27:11 +01:00
Adrian Kumpf
2b24f54c2e Hide seconds if duration is > 1 min 2020-01-17 14:36:55 +01:00
Adrian Kumpf
8952ce8bc2 Show spinner when fetching vehicle data 2020-01-16 21:05:22 +01:00
Adrian Kumpf
38b86ae526 Format remaining charge time 2020-01-14 18:07:49 +01:00
Adrian Kumpf
d301ac86f6 Include customized :tesla_api package 2019-12-15 15:36:26 +01:00
Adrian Kumpf
9d99c147e4 Translate timeouts 2019-12-07 15:39:03 +01:00
Adrian Kumpf
382a63de15 Various small improvements 2019-12-02 20:00:34 +01:00
Adrian Kumpf
f51c2937c6 Cache location-based information 2019-11-24 14:00:50 +01:00
Adrian Kumpf
549dedb3bf Decouple global from car-specific settings 2019-11-18 23:43:25 +01:00
Adrian Kumpf
3ef7cd1254 Fetch sign-in status only on index route 2019-11-17 18:04:04 +01:00
Adrian Kumpf
2bbb7879ff Test phase correction 2019-10-27 20:34:28 +01:00
Adrian Kumpf
cd70f9acf0 Catch otherwise unhanded info messages 2019-10-23 22:46:28 +02:00
Adrian Kumpf
830faed957 Tweak UI 2019-10-22 23:21:53 +02:00
Adrian Kumpf
8a68461f1b Show only vehicles connected to the account in UI
Fixes #213
2019-10-22 20:32:30 +02:00
Adrian Kumpf
f428581eef Tweak mobile and desktop views 2019-10-09 17:40:57 +02:00
Adrian Kumpf
500af43664 Add base URL to settings 2019-09-28 20:59:41 +02:00
Adrian Kumpf
03474a20d2 Prevent suspending when an update is in progress 2019-09-16 13:45:45 +02:00
Adrian Kumpf
5185b0504d Bump phoenix_live_view to 0.2.0 2019-09-13 18:46:01 +02:00
Adrian Kumpf
a2ec278416 Show :car_type & :trim_badging 2019-08-30 18:14:49 +02:00
Adrian Kumpf
de64797a8d Handle :start state 2019-08-26 19:31:25 +02:00
Adrian Kumpf
c1c35fec5d Add various sleep requirements 2019-08-24 00:20:52 +02:00
Adrian Kumpf
07c0cbfdb3 Show duration of current state 2019-08-18 20:32:23 +02:00
Adrian Kumpf
5bda3450f2 Remove :shift_state condition 2019-08-13 16:30:46 +02:00
Adrian Kumpf
8cd42810d7 Suspend / resume logging via UI 2019-08-12 23:48:16 +02:00
Adrian Kumpf
ce2c0568e9 Show additional charging related information 2019-08-05 12:54:14 +02:00
Adrian Kumpf
7f5226d86d Convert to imperial measurements 2019-07-31 22:29:14 +02:00
Adrian Kumpf
30c4183a52 Don't publish nil values via MQTT 2019-04-15 13:32:48 +02:00
Adrian Kumpf
91c32bcf91 Add German translations 2019-04-14 17:41:51 +02:00
Adrian Kumpf
426d4d28fe Publish Summary struct via PubSub 2019-04-14 15:53:22 +02:00