Commit Graph

42 Commits

Author SHA1 Message Date
Simon Lamon
ccada33caf Accessibility improvements for circular progress indicators (#18506) 2023-12-04 14:06:25 +01:00
Bram Kragten
d350c35c4e Add preview for template (#17699) 2023-08-30 12:56:53 +02:00
Bram Kragten
811edfcc0f Add support for previews in data flows (#17533) 2023-08-22 10:30:31 +02:00
Bram Kragten
585db6ab3f Close dialog when clicked on link (#16690) 2023-05-31 14:01:47 +02:00
Paul Bottein
71bb540352 Use key instead of keycode for key event (#16625) 2023-05-25 18:47:57 +02:00
Bram Kragten
c4ff1a8646 fix keypress in code editor causing flow to submit (#16623) 2023-05-25 18:01:46 +02:00
Bram Kragten
0f5320c6fb Drop polymer from authorize and onboarding entrypoint (#15760)
* Drop polymer from authorize and onboarding entrypoint

* Update ha-icon.ts

* dedupe
2023-03-29 12:17:42 +02:00
Bram Kragten
48dcd98634 Allow for custom submit button text in data flows (#15383) 2023-02-20 19:56:06 +01:00
Jan Bouwhuis
e6dbb1da7e Add backend translation support for selector select (#15064)
* Base for selector translations

* Allow translations for ha-selector-select

* Fetch translation for config flow and onboarding

* Get translation_key from step handler

* Add domain property to DataEntry flow

* Revert fetching translation for onboarding flow

* Leave domain for repair flows

* Use localizeValue function

* Change type

* Import selector translations in issue flow

Co-authored-by: Paul Bottein <paul.bottein@gmail.com>
2023-01-23 20:32:30 +01:00
Steve Repsher
1b917a5b04 Add autocomplete to login and MFA setup (#14065) 2022-10-26 16:10:19 +02:00
Franck Nijhof
651cafc464 Allow Markdown and description placeholder usage in data field descriptions (#13377)
Co-authored-by: Zack Barett <zackbarett@hey.com>
2022-08-13 18:57:28 +00:00
Yosi Levy
1bd760b455 Rtl changes (#12693) 2022-05-16 15:57:14 +02:00
Yosi Levy
3b8b6eb315 RTL fixes (#12367) 2022-04-22 10:27:49 -05:00
Joakim Sørensen
4e82c23b29 Fixes for flow help icon (#12224) 2022-04-05 15:47:24 -07:00
Paulus Schoutsen
224df896a1 Allow rendering helper text from strings.json (#12119)
* Allow rendering helper text from strings.json

* Persistent helpers

* Update src/components/ha-base-time-input.ts

Co-authored-by: Zack Barett <zackbarett@hey.com>

* Update src/components/ha-base-time-input.ts

Co-authored-by: Zack Barett <zackbarett@hey.com>
2022-03-24 17:50:38 -07:00
Paulus Schoutsen
3d6d07e5bd Pass hass to ha-form to enable selectors (#11739) 2022-02-19 21:35:58 -08:00
Paulus Schoutsen
deba6a0db4 Remove optional field from ha-form schema type (#11538) 2022-02-03 16:30:37 -08:00
Paulus Schoutsen
42613d6519 Disable ha-form while submitting entry flow (#10290) 2021-10-16 14:37:48 +02:00
Paulus Schoutsen
a839494a1e Use MWC components for ha-form (#10120) 2021-10-07 12:21:35 -07:00
Bram Kragten
2936865c55 Bump typescript, lint, prettier (#10108) 2021-09-30 12:39:03 +02:00
Bram Kragten
1206e2d75f Change Data Entry Flow loading step description logic + cleanups (#9558)
* Change Data Entry Flow loading step description logic + cleanups

Fixes #6251

* Lint

* Address comment
2021-07-15 21:07:25 +02:00
Bram Kragten
bc92c0b052 Upgrade to Lit 2 (#9199) 2021-05-18 07:37:53 -07:00
Bram Kragten
9f032a61a9 Add compatibility for Lit 2.0 (#8878) 2021-05-07 13:16:14 -07:00
Bram Kragten
193cb46d60 Config flow: Show next when not last step (#9078) 2021-05-03 15:47:03 +02:00
Bram Kragten
5754f4463d Bump babel and eslint (#9049) 2021-04-30 12:15:31 -07:00
Paulus Schoutsen
1d13947e71 Use Record type (#7798) 2020-11-25 10:40:32 +01:00
Bram Kragten
41195dcef0 Remove animation delay from paper tooltip (#6716) 2020-08-30 10:03:04 +02:00
Paulus Schoutsen
3b779bf423 Add ha circular progress (#6205) 2020-06-22 14:51:36 -07:00
Paulus Schoutsen
af23110074 Move legacy styles to their own files (#6033) 2020-05-25 10:16:01 +02:00
On Freund
8b04df093c Handle unchanged suggested values (#5688) 2020-05-01 14:10:12 +02:00
On Freund
1687d90d02 Allow passing the current value to config flow input fields (#5603)
* Allow passing the current value to config flow input fields

* Fix lint errors

* Apply suggestions from code review

Co-Authored-By: Bram Kragten <mail@bramkragten.nl>

* Rename current_value to suggested_value to open up more use cases

* Update ha-form-integer.ts

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2020-05-01 10:36:51 +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
Bram Kragten
8f9a6bd544 Add multi select component to ha-form (#4247)
* Add multi select component

* Apply suggestions from code review

Co-Authored-By: Ian Richardson <iantrich@gmail.com>

* Comments

* update

* Fix

* Refactor to dropdown menu

Co-authored-by: Ian Richardson <iantrich@gmail.com>
2020-02-17 14:13:09 +01:00
Bram Kragten
04f8f0f74f Render should always return a html template (#4612) 2020-01-27 08:34:22 -08:00
Bram Kragten
609763e658 Set focus to search when opening add integration dialog (#4357)
* Set focus to search when opening add integration dialog

* Also add to flow form
2019-12-18 16:35:20 +01:00
springstan
c730aab28f Translated config flow form and steps (#4140)
* Translated config flow form and steps

* Moved translation from config_entry to config_flow

* Renamed translation key from not_all_fields_required to not_all_required_fields
2019-11-01 20:34:10 +01:00
Bram Kragten
00f2d36cb5 Migrate ha-form to lit (#4000)
* Migrate ha-form to lit

* Fix import path

* Update

* add default, change suffix, fix import

* Fix select
2019-10-18 16:08:34 +02:00
Paulus Schoutsen
7e5f28b3cc Fix required fields with default values (#3512) 2019-08-22 12:21:21 -07:00
Paulus Schoutsen
200e099035 Refactor config flow dialog to make it reusable (#3488)
* Refactor config flow dialog to make it reusable

* More refactor

* forgot to save

* Render labels correcetly
2019-08-15 09:03:54 -07:00
Thomas Lovén
dc2ee2e63f Enable ha-icons in markdown card (#3458)
* Allow ha-icon in markdown

* Please the linter

* Remove allowSvg

* Remove lasts allow-svgs
2019-08-07 14:35:17 -07:00
Paulus Schoutsen
2f36304f06 Move picking new integration into dialog (#3110) 2019-04-24 12:51:41 -07:00
Paulus Schoutsen
915c441a94 Cleanup config flow (#2932)
* Break up config flow dialog

* Allow picking devices when config flow finishes

* Lint

* Tweaks
2019-03-15 10:40:18 -07:00