Commit Graph

22 Commits

Author SHA1 Message Date
Aidan Timson
0d8d18617c Create and implement goBack helper function (#27015)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2025-09-12 11:39:45 +02:00
Petar Petrov
e1a6f6f0e3 Fix helper dialog close and add failsafe for similar cases (#23468) 2024-12-30 11:51:21 +01:00
Petar Petrov
48819a59e7 Fix new automation dialog in Firefox (#23319) 2024-12-17 15:00:00 +01:00
Petar Petrov
93947d76a2 Fix navigate with replace when there are open dialogs (#23268) 2024-12-12 09:25:33 +01:00
Petar Petrov
a6cbbfe1a4 fix 2024-12-11 13:59:47 +02:00
Petar Petrov
48f5d17060 log warning when navigation is blocked 2024-12-11 13:36:47 +02:00
Petar Petrov
c713106948 close all dialogs on navigate 2024-12-11 13:35:09 +02:00
Petar Petrov
142e674020 Fix dialog navigation by making navigate() async 2024-12-11 11:56:32 +02:00
Petar Petrov
ed625d4e0b Simplify dialog navigation to fix back button (#23220)
* Simplify dialog navigation to fix back btn

* add back comment

* manage dialog stack in the manager instead of history

* handle dialogs that refuse to close
2024-12-10 13:26:57 +02:00
renovate[bot]
ef3758da55 Update dependency prettier to v3.3.3 (#21408)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Simon Lamon <32477463+silamon@users.noreply.github.com>
2024-07-16 18:32:13 +02:00
Bram Kragten
2921161336 Save data table filters in session storage (#20894)
* Save data table filters in session storage

* typing fix

* remove url logic, rename storage key
2024-05-29 12:20:30 +02:00
Bram Kragten
4b9ff641ba Wait with navigate until history.back is done (#11152)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-01-10 15:30:21 -08:00
Joakim Sørensen
21a3a8c594 Navigate cleanup (#9202) 2021-05-25 17:46:36 +02:00
Bram Kragten
fd9bb4d8cc Make chrome work-around work in iframes (#9200) 2021-05-21 09:09:31 +02:00
Joakim Sørensen
4d287a1f83 Use top.history in dialogs and navigate (#8995) 2021-04-26 16:41:30 +02:00
Bram Kragten
26c4591baa Keep root state when replacing, fix subpages for menu button on mobile (#8837) 2021-04-07 12:25:17 +02:00
Bram Kragten
82f80db558 Update typescript, prettier, tslint -> eslint (#5536)
* Update typescript, prettier, tslint -> eslint

* Organize imports

* Use glob for eslint fix react import
2020-04-14 09:05:45 -07:00
Paulus Schoutsen
40025d44c2 Add if replace was used when sending navigation events (#2970) 2019-03-18 19:42:27 -07:00
Paulus Schoutsen
d6887758a9 Convert <home-assistant> to Lit/TS (#2586)
* Convert home-assistant element to Lit/TS

* Fix disconnect toast

* Lint
2019-01-27 10:41:35 -08:00
Paulus Schoutsen
bb71fe0bec Add demo (#2502)
* Add demo

* Fix stuff

* Lint

* Typescript and demo card

* More fixes

* Allow switching through configs

* Lint

* Lint2

* Add two demo configs

* Lint

* Lint
2019-01-18 21:24:32 -08:00
Ian Richardson
c0c7c0f41a Remove .js from imports (#1948)
* Remove .js from lovelace

Also cleaned up some trailing whitespace

* Go big or go home

* More removals

* Revert changes to gallery webpack

* Revert changes to webpack.config.js
2018-11-02 12:26:03 +01:00
Paulus Schoutsen
35194cf345 Extract navigate mixin (#1865)
* Extract navigate to function

* Remove eventsmixin properly and side effects
2018-10-27 10:56:03 +02:00