Commit graph

413 commits

Author SHA1 Message Date
Fabio Manganiello 80c2f0d8dd
[UI] Full restyle of Slider component.
The component has been rewritten using only CSS 3 and no JS.
2024-01-08 02:44:52 +01:00
Fabio Manganiello b785609eda
[Music UI] New music nav logic.
Don't display the vertical nav on mobile by default - same logic as the
generic media nav.
2024-01-08 02:44:52 +01:00
Fabio Manganiello f59a276e09
[Media UI] Set overflow: auto on the innermost grid div only.
If a parent object of the `grid` DOM element has `overflow: auto` as
well, then it will intercept the `@scroll` events, so `Results` won't be
able to render an infinite scroll.
2024-01-08 02:44:52 +01:00
Fabio Manganiello 6e1ab92298
New components cache management.
All checks were successful
continuous-integration/drone/push Build is passing
The cache is no longer generated at runtime when the application runs -
which may take quite a while, especially on fresh installations.

A `components.json.gz` file is instead generated by the CI/CD process on
every commit to the main branch, and distributed with the package.

The application will read this file when the `inspect` plugin is first
initialized.

This also means that we can no longer cache the `install_cmds`, as they
change depending on the target OS. A new
`application.get_install_commands` action has now been made available to
the UI, so it can get the correct installation commands at runtime.
2024-01-06 22:21:59 +01:00
Fabio Manganiello afee6c5c85
[music UI] Implemented infinite scroll for playlist view.
All checks were successful
continuous-integration/drone/push Build is passing
Instead of loading all the tracks in the DOM (very inefficient and slow
on slow devices and/or with big playlists), we should keep a window of
100 items in the screen and roll it over the playlists as the status
change or the user scrolls.
2024-01-05 02:19:38 +01:00
Fabio Manganiello 35772c0ae3 [Entities UI] Reverted .extension-container max-width. 2024-01-01 13:23:24 +00:00
Fabio Manganiello a2a07afc05
[UI] Better default scrollbar width on Webkit.
All checks were successful
continuous-integration/drone/push Build is passing
2023-12-30 13:41:45 +01:00
Fabio Manganiello 57737b1b72
[Entities UI] Don't disable/set loading=true on properties during initial refresh.
All checks were successful
continuous-integration/drone/push Build is passing
2023-12-30 04:42:51 +01:00
Fabio Manganiello 2c429e9003
[Music UI] Fixed alignment of buttons in the playlist header.
All checks were successful
continuous-integration/drone/push Build is passing
2023-12-30 00:06:56 +01:00
Fabio Manganiello 2575d6cbc5
[Extensions UI] Fix hljs.highlight call to match new API. 2023-12-30 00:04:31 +01:00
Fabio Manganiello 171ed7f743
[Entities UI] Better refresh logic.
All checks were successful
continuous-integration/drone/push Build is passing
2023-12-29 03:45:17 +01:00
Fabio Manganiello ce1e8513d4 [music UI] Several UI improvements 2023-12-25 12:43:00 +00:00
Fabio Manganiello be54469df0 [music UI] Fixed search form. 2023-12-25 12:43:00 +00:00
Fabio Manganiello 9cad27335d
[UI] Attribute sort.
Some checks reported errors
continuous-integration/drone/push Build was killed
2023-12-18 13:53:09 +01:00
Fabio Manganiello cfc7a5a6a0
[alarm] Added media_repeat configuration.
Some checks failed
continuous-integration/drone/push Build is failing
2023-12-18 13:46:45 +01:00
Fabio Manganiello 52fd64a162
[alarm] Added dismiss_interval configuration. 2023-12-18 03:01:27 +01:00
Fabio Manganiello 250858fe99
[Alarm UI] Added snooze/dismiss modal when alarm is running. 2023-12-18 01:36:58 +01:00
Fabio Manganiello 29f65371d8
[Alarm UI] Support for adding/removing alarms. 2023-12-18 00:12:16 +01:00
Fabio Manganiello b7423e1c34
Added AlarmEditor component. 2023-12-17 17:53:38 +01:00
Fabio Manganiello 9d456281a6
[Entities UI] Removed unrequired z-index on header. 2023-12-17 17:52:15 +01:00
Fabio Manganiello 5972c728a4
[Chore] Upgraded hljs.highlight API.
The old API, (lang, code, ...args), is now deprecated.
2023-12-16 23:49:25 +01:00
Fabio Manganiello b916c98b70
[ProcedureEditor] Emit input upon action changes. 2023-12-16 23:29:57 +01:00
Fabio Manganiello 1bd2361a3d
[TimeInterval] Refresh value on mounted. 2023-12-16 23:27:22 +01:00
Fabio Manganiello d4543c2fb7
Added ProcedureEditor component. 2023-12-16 19:03:46 +01:00
Fabio Manganiello 07a144aadc
[ActionTile] Support for drag and drop. 2023-12-16 19:00:04 +01:00
Fabio Manganiello 837007132d
[FloatingButton] Better default colors. 2023-12-16 18:59:30 +01:00
Fabio Manganiello 065f7d74a5
[ActionTile] Better hover style. 2023-12-16 14:23:46 +01:00
Fabio Manganiello 63767cb87c
[UI] Added ActionTile component. 2023-12-16 14:14:34 +01:00
Fabio Manganiello 7fcffe899e
[ActionEditor] Support for action save/input events. 2023-12-16 14:13:11 +01:00
Fabio Manganiello f9ba4564e7
[Tabs UI] Force height to $tab-height. 2023-12-16 14:12:30 +01:00
Fabio Manganiello 028f48ed49
[Autocomplete UI] Better handling of blur events. 2023-12-16 14:09:04 +01:00
Fabio Manganiello 1dfbe0c12d
Ability to specify a custom initial action for the ActionEditor. 2023-12-14 22:22:10 +01:00
Fabio Manganiello 9beb10c373
Extracted ActionEditor from the Execute plugin.
So it can be reused in other components that need to handle actions.
2023-12-12 23:33:16 +01:00
Fabio Manganiello 4e85087c0f
Added AlarmEditor component to Alarm. 2023-12-12 22:52:11 +01:00
Fabio Manganiello d4f6d174c8
Added FileSelector UI component. 2023-12-12 21:13:55 +01:00
Fabio Manganiello bac06e9e7b
Added TimeInterval component. 2023-12-12 00:05:46 +01:00
Fabio Manganiello 6e7c5def2f
CronEditor should contain the raw cron expression and a copy button. 2023-12-11 22:18:57 +01:00
Fabio Manganiello 00694f4e10
CopyButton events should have a .prevent clause. 2023-12-11 22:18:17 +01:00
Fabio Manganiello 627bb66957
Added CronEditor component. 2023-12-11 00:25:24 +01:00
Fabio Manganiello 894faaad1e
[#340] Force a refresh via alarm.status when Alarm view loads. 2023-12-10 21:53:19 +01:00
Fabio Manganiello dfa0727289
[#340] Added alarm UI panel. 2023-12-10 15:33:19 +01:00
Fabio Manganiello 62054e83cc
Remaining entity modal style rules moved from Entities to EntityModal. 2023-12-10 15:32:42 +01:00
Fabio Manganiello ca57d3d7b3
[#340] Initial implementation of the alarm entities UI. 2023-12-09 20:33:11 +01:00
Fabio Manganiello 34e2a59285
Added optional id attribute to ToggleSwitch. 2023-12-09 16:12:08 +01:00
Fabio Manganiello d048752184
[#301] Exposing hosts as entities in the ping plugin.
Some checks reported errors
continuous-integration/drone/push Build was killed
Closes: #301
2023-12-04 00:36:45 +01:00
Fabio Manganiello 71ccffa698
[weather.buienradar] Implemented forecast support. 2023-11-23 01:35:58 +01:00
Fabio Manganiello b969afb1cf
Added support for weather forecast events and entities. 2023-11-23 01:35:58 +01:00
Fabio Manganiello ca7c89949b
Only react on NewWeatherConditionEvent if plugin_name is compatible. 2023-11-23 01:35:57 +01:00
Fabio Manganiello a0d8c522a2
[#308] Finalized weather integrations migration.
Some checks reported errors
continuous-integration/drone/push Build was killed
- Migrated `weather.buienradar` integration.
- Removed last leftovers of the previous weather backends and responses.

Closes: #308
2023-11-20 03:10:00 +01:00
Fabio Manganiello b8a4b9e4c5
Implemented support for weather entities. 2023-11-20 01:46:01 +01:00