Commit Graph

164 Commits (dev)

Author SHA1 Message Date
Bram Kragten 9f74af56ed
Update download-translations.js 2023-07-05 17:32:08 +02:00
Bram Kragten c95232fecb
Update download-translations.js 2023-07-05 17:23:24 +02:00
Bram Kragten cc8ab184e3
Update download-translations.js 2023-07-05 17:05:13 +02:00
Bram Kragten 1b503a6af1
Convert and filter backend translations to old format (#17161) 2023-07-05 13:29:42 +02:00
Simon Lamon 5fc4e7a95d
Introduce Intl.ListFormat (#16857)
Co-authored-by: Steve Repsher <steverep@users.noreply.github.com>
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2023-06-13 15:22:23 +02:00
Joakim Sørensen 5006dfc138
Use `__STATIC_PATH__` in more places so the supervisor panel can reach paths (#16665)
Use __STATIC_PATH__ in more places so the supervisor panel can reach paths
2023-05-30 10:45:58 +02:00
Steve Repsher 586079917d
Convert remaining gulp modules to ESM (#16430) 2023-05-08 17:43:29 +02:00
Steve Repsher f185e886c3
Convert top gulp modules to ESM (#16387) 2023-05-04 15:49:41 +02:00
Paul Bottein 65161ce581
Language selector (#16253)
* Add language selector

* Use intl display names

* Use language picker in general settings and profile

* Add nativeName option

* Add format language util

* Add display-name polyfill

* Add native name to selector

* Rename variable
2023-04-20 10:12:49 -04:00
Steve Repsher aac28efd32
Streamline HTML generation and consolidate templates (#16117) 2023-04-20 11:10:12 +02:00
renovate[bot] 1a9b99dd72
Update dependency glob to v10 (#16153)
* Update dependency glob to v10

* Use named export in gallery pages task

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Steve Repsher <steverep@users.noreply.github.com>
2023-04-13 03:50:02 +00:00
Steve Repsher d9b0d5765a
Add automatic retries to translation fetches (#16020) 2023-04-02 21:03:18 +02:00
Steve Repsher 1f1898fa46
Make module types explicit and convert some to ESM (#15964) 2023-03-30 11:23:43 +02:00
Steve Repsher 4abc2a65cb
Migrate to html-minifier-terser and improve some minification (#15864) 2023-03-22 11:42:16 +01:00
renovate[bot] c5be2acd46
Update dependency glob to v9 (#15726)
* Update dependency glob to v9

* Adjust to new API

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Steve Repsher <steverep@users.noreply.github.com>
2023-03-17 13:28:51 +00:00
Steve Repsher aeb7f8ff36
Fix webpack source maps (#15663) 2023-03-16 14:38:55 +01:00
dependabot[bot] 014ae06e85
Bump del from 4.1.1 to 7.0.0 (#15120)
* Bump del from 4.1.1 to 7.0.0

Bumps [del](https://github.com/sindresorhus/del) from 4.1.1 to 7.0.0.
- [Release notes](https://github.com/sindresorhus/del/releases)
- [Commits](https://github.com/sindresorhus/del/compare/v4.1.1...v7.0.0)

---
updated-dependencies:
- dependency-name: del
  dependency-type: direct:development
  update-type: version-update:semver-major
...

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

* Deduplicate dependencies

* Adjust to ESM-only and API changes

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Steve Repsher <steverep@users.noreply.github.com>
2023-01-18 18:21:41 +00:00
Steve Repsher dff7f653b1
Fix checking existence of downloaded translations (#14493) 2022-11-30 16:53:26 -05:00
Steve Repsher ee6f97b802
Fetch nightly translations during build (#13724)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2022-11-29 19:33:43 +01:00
Steve Repsher 8444fe0a07
Include backend translations in Lokalise download (#13981) 2022-10-10 17:12:25 +02:00
Bram Kragten 9324061d05
Add auto completion for mdi icons to code editor (#13022)
Co-authored-by: Zack Barett <zackbarett@hey.com>
2022-06-29 16:12:16 +00:00
Bram Kragten aa831a9adf
bump marked and flatmap (#11814) 2022-02-23 22:11:13 +01:00
Paulus Schoutsen 3133f9b01f
Use page instead of demo (#11118)
* Use page instead of demo

* Update netlify script

* Update ci.yml

* Rename demo -> page
2022-01-06 22:32:10 -08:00
Paulus Schoutsen 2c0d330f1f
Reorganize gallery (#11116)
* Reorganize gallery

* GitHub edit links

* Render sidebar during build

* Auto rebuild when sidebar changes

* Yarn dedupe

* Fixes

* Allow just metadata without text

* Show edit text link if metadata defined

* Update build-scripts/gulp/gallery.js

Co-authored-by: Zack Barett <arnett.zackary@gmail.com>

Co-authored-by: Zack Barett <arnett.zackary@gmail.com>
2022-01-06 20:20:57 -08:00
Paulus Schoutsen 63c113f78d
Gallery: Make sidebar collapsible + more tweaks (#11104) 2022-01-06 10:21:17 +01:00
Paulus Schoutsen a67799a670
Allow markdown readme above the gallery pages (#11103) 2022-01-05 23:08:21 +01:00
Paulus Schoutsen e3d78d6dc5
Convert ha-gallery to TS (#11102)
* Convert ha-gallery to TS

* Prepare gallery to be design portal

* Import card in introduction

* Clean up demo IDs

* Convert demo-cards

* TypeScript conversion of demo-card

* Fix default demo
2022-01-05 12:49:05 -08:00
Bram Kragten 4b49da58b1
Add SmartStart/QR scan support for Z-Wave JS (#10726) 2021-12-01 14:12:52 -08:00
Bram Kragten 9425b943dd
Add separate cast media entrypoint (with ES5) (#10527) 2021-11-04 10:09:21 -07:00
Paul Bottein 74533cebc6
Use tags and aliases when filtering icons in Icon Picker (#10425) 2021-10-27 20:12:12 +00:00
Bram Kragten da73b316ff
Remove deprecated icons that where replaced (#10371) 2021-10-25 12:12:16 +02:00
Paul Bottein 2770d1f36b
Icon Picker (#10161) 2021-10-18 22:45:21 +02:00
Paulus Schoutsen 6f6fc759cc
Add selector demo to gallery (#10213) 2021-10-08 20:56:32 +02:00
Bram Kragten 807ce468d6
Dont create icon for supervisor (#10191) 2021-10-07 23:27:35 +02:00
Bram Kragten 25c1156c88
Some code improvements (#10156) 2021-10-05 21:21:05 -07:00
Paulus Schoutsen 2ddab4eecc
Fix webpack dev server (#10130) 2021-10-01 14:18:53 -07:00
Bram Kragten 257e60a2b1
Don't bundle locale data, but add to static (#10119) 2021-10-01 07:58:02 -07:00
Joakim Sørensen abbfe7200a
Fix supervisor dev translations (#10113) 2021-09-30 09:01:36 -07:00
Bram Kragten 2bddd151eb
Don't recreate translation meta in watch mode (#9909) 2021-08-30 13:13:47 -07:00
Joakim Sørensen eff48acdf4
Rename snapshot -> backup (#9393)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-08-12 11:56:13 +02:00
Bram Kragten 2e16127fde
Inline mdi icons with babel plugin + bump build deps (#9498) 2021-07-12 09:26:07 -07:00
Joakim Sørensen 30d6c68908
Fix writing supervisor entrypoint (#9489) 2021-07-01 11:34:22 +02:00
Bram Kragten dc781da93a
Use ES5 build for Supervisor on Safari 12 and below (#9485) 2021-07-01 09:27:02 +02:00
Bram Kragten 8141f78a92
Use ES5 build for Safari 12 and below (#9482) 2021-06-30 12:02:01 +02:00
Bram Kragten 9fbd594f37
Check if `/proc/version` exists (#9438) 2021-06-17 15:23:20 +02:00
Joakim Sørensen 1b1676cecc
Use poll for webpack for WSL (#9425) 2021-06-15 15:34:15 +02:00
Joakim Sørensen bea20d0495
🌐 Add MVP for translation in the Supervisor panel (#8425)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-03-02 00:37:39 +01:00
Bram Kragten 54ec81b67d
Fix en-gb translations (#8502)
Renamed lang key in lokalise
2021-03-01 22:48:36 +01:00
Paulus Schoutsen 0049be7feb
Allow developing with @web/dev-server (#7782) 2020-11-23 13:05:18 +01:00
Paulus Schoutsen 39ff641be9
Close webpack compiler on prod build (#7779)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2020-11-23 12:48:21 +01:00
Paulus Schoutsen 875142373e
Remove unused files and automate translation fragments (#7764) 2020-11-21 22:44:44 +01:00
Paulus Schoutsen c7b747c4fa
Add debug launch conf for VS Code (#7683) 2020-11-15 16:36:48 +01:00
Rob McCann 3dedbc5457
Remove minification from translations to reduce build time by 1.5mins (#7552) 2020-10-30 15:36:52 +01:00
Bram Kragten 914b47f340
Bump MDI and add warning for removed and renamed icons (#6357) 2020-07-11 21:30:02 +02:00
Joakim Sørensen 19e32752bb
Fixes hassio build script for prod (#6315) 2020-07-02 17:37:08 +02:00
Paulus Schoutsen d33f18ecb7
Use hashes for hassio entrypoints (#6260) 2020-06-29 09:31:07 +02:00
Paulus Schoutsen c53fd0d1e1
Use Gulp to index demos (#6203) 2020-06-22 10:24:01 -07:00
Paulus Schoutsen e384f76ac1
Make two builds of hassio (#6105) 2020-06-05 21:56:56 -07:00
Paulus Schoutsen 67ac3b4ba3
Drop Custom Elements ES5 adapter (#6107) 2020-06-05 11:04:19 +02:00
Paulus Schoutsen f819e2cf8d
Cleanup of builds (#6106) 2020-06-05 11:03:11 +02:00
Paulus Schoutsen 58f01ba11a
Fix webpack dev server (#6100) 2020-06-04 10:25:12 +02:00
Paulus Schoutsen 1a58c17180
Fix hassio dev under rollup (#6063) 2020-05-27 14:18:38 -07:00
Paulus Schoutsen 050cdf3783
Integrate compatibility into other entrypoints (#6029) 2020-05-25 19:36:22 +02:00
Paulus Schoutsen b8e71609db
Random Rollup tweaks (#6034) 2020-05-25 10:12:42 +02:00
Paulus Schoutsen ad386c0e22
Cleanups (#5997) 2020-05-23 00:06:23 -07:00
Paulus Schoutsen 7e281f66c2
Rollup (#5995) 2020-05-22 23:05:47 -07:00
Paulus Schoutsen 12edd68874
Remove unused ES5 service worker (#5860) 2020-05-14 01:11:32 +02:00
Paulus Schoutsen 2153bc536c
Clean up service worker code and fix 404 (#5855) 2020-05-13 13:17:47 -07:00
Paulus Schoutsen 581fafdcc9
Workbox 5 in gulp (#5843) 2020-05-13 11:12:01 +02:00
Bram Kragten 84a2676a9c
compress icons (#5836) 2020-05-11 23:59:29 +02:00
Bram Kragten 75ed0f2f99
Fix translation download and add empty languages (#5824) 2020-05-09 20:59:34 +02:00
Paulus Schoutsen b69d5e0fa3
Revert "Use gulp-terser instead of webpack-terser (#5788)" (#5796) 2020-05-07 18:28:51 +02:00
Paulus Schoutsen cf37ebb652
Use gulp-terser instead of webpack-terser (#5788) 2020-05-07 14:36:17 +02:00
Paulus Schoutsen 5fed28808e
Rename env var TRAVIS to IS_TEST (#5789) 2020-05-07 12:39:18 +02:00
Zack Arnett 71492d0467
Calendar Panel: FullCalendar (#5742)
* WIP

* remove big calendar

* remove file

* Convert to lit

* More

* Ready for the public to see? prob not

* Fix types and imports

* Remove dependencies

* ignore the typing that hasnt been finished in Beta

* Convert paper to MWC

* Styling

* View list as name of view | MWC components version

* Updates action directive for ripple. MWC 14.1.0

* Update

* Updates

* Update height styling

* Toggle Button Group

* Adds Toggle group transition

* style updates

* Few fixes

* Fix Yarn lock from merge | height of celndar as parent

* Update package Json and yarn | remove unneeded pkg

* Remove mwc-list

* Search hass.states for calendars instead of api

* Move function to file in data | event fetch logic

* compute state name

* add ha button menu | refresh

* Remove Event ffetch logic

* copy pasta

* Types

* Fix for toggling

* Translations

* Update ha-button-toggle-group

* Update ha-button-toggle-group.ts

* Update ha-button-toggle-group.ts

* Change mobile view

* Locale in fullcalendar

* Comments

* ha-button-menu trigger slot

* Comments

* icon-x

* Update src/panels/calendar/ha-panel-calendar.ts

Co-authored-by: Bram Kragten <mail@bramkragten.nl>

* Update src/panels/calendar/ha-panel-calendar.ts

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2020-05-06 17:22:12 -04:00
Bram Kragten 9630a58ea7
Some fixes for icons (#5758) 2020-05-06 14:18:10 -07:00
Bram Kragten 2d646da97f
Fix cast navigation on none default dashboard (#5719) 2020-05-06 09:30:18 -07:00
Joakim Sørensen 39b5460598
Fix hassio dev/build (#5776) 2020-05-06 16:27:03 +02:00
Bram Kragten 0a92c28bac
Split up mdi icons (#4379) 2020-05-05 16:40:11 +02:00
Joakim Sørensen 6847830575
Use hass-tabs-subpage in add-on view (#5483) 2020-05-01 11:34:52 +02:00
Paulus Schoutsen 7c6ba1a782
Translation fixes (#5634) 2020-04-26 21:09:05 +02:00
Paulus Schoutsen 82442bb5ec
Fix cast translations (#5582) 2020-04-21 15:02:00 -07:00
Paulus Schoutsen 659da7bf80 Update translations 2020-04-18 23:01:40 -07:00
Paulus Schoutsen b3beb7ef85
Fix dynamic import in gallery (#5472) 2020-04-06 22:29:52 +02:00
Bram Kragten af6ebea4a3
Fix translations in production builds (#5192)
* Fix translations in production builds

* Make env functions
2020-03-13 10:19:32 -07:00
Paulus Schoutsen f3c371996f
Add media player card gallery (#5101) 2020-03-07 21:47:53 -08:00
Bram Kragten d392695ab7
Recreate translations when changed on dev (#5042) 2020-03-02 07:55:16 -08:00
Paulus Schoutsen d74fe6ed52
Update translation hashing (#5025)
* Update translation hashing

* Move gulp-rename
2020-03-02 11:36:00 +01:00
Bram Kragten 2d018fff6c
Update babel en disable ES5 builds on dev (#4876) 2020-02-14 16:09:21 -08:00
Bram Kragten 142175c6ab Update lokalise cli to version 2 + fix replacing localise vars 2019-11-09 23:47:58 +01:00
Paulus Schoutsen fdbe89e87e Fix develop build 2019-10-21 16:51:54 -07:00
Paulus Schoutsen 70d6c6b902
Refactor Webpack build scripts (#4093)
* Refactor Webpack build scripts

* Add Gallery too

* Fix icons

* Update travis
2019-10-21 15:02:54 -07:00
Paulus Schoutsen c25f2d3941 Move compression from Webpack to Gulp (#4074) 2019-10-20 14:42:20 +02:00
Paulus Schoutsen 0719c4d1ae
Add cache headers to demo and cast (#3982)
* Add cache headers to demo and cast

* Demo only to copy static from frontend public folder

* Update headers

* Update demo headers

* Update cast headers

* Update _headers

* Update _headers
2019-10-12 23:12:01 -07:00
Bram Kragten e6671299fe
Filter html from translations (#3665)
* Filter html from translations

* Error when html found
2019-09-10 20:18:57 +02:00
Bram Kragten 3927eb53ac Fix translations (#3626) 2019-09-05 06:53:27 -07:00
Bram Kragten 15564a1b26 Don't allow overwrite of english lang (#3590) 2019-09-03 10:26:04 -07:00
Paulus Schoutsen 2da844a1fb Home Assistant Cast 2019-08-04 22:25:43 -07:00
Paulus Schoutsen 6abbe72e4d
Lovelace cleanups (#3427)
* Improvements

* Add types CAF

* Fix demo switching

* Do not set background color in hui-view
2019-07-26 11:06:16 -07:00
Paulus Schoutsen fabc49d17e Fix theme color in dev index.html 2019-07-16 20:36:40 -07:00