Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to have the favourites window larger? #1

Open
wants to merge 485 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
485 commits
Select commit Hold shift + click to select a range
8f1de6e
build(deps-dev): bump rollup-plugin-typescript2 from 0.31.2 to 0.36.0…
dependabot[bot] Nov 30, 2023
7710668
build(deps-dev): bump @typescript-eslint/eslint-plugin (#225)
dependabot[bot] Dec 4, 2023
3628e9f
build(deps-dev): bump @babel/core from 7.23.3 to 7.23.5 (#224)
dependabot[bot] Dec 4, 2023
1083d52
build(deps-dev): bump eslint from 8.54.0 to 8.55.0 (#223)
dependabot[bot] Dec 4, 2023
b982ad3
refactor: indexOf to includes
punxaphil Dec 2, 2023
356c596
feature: use ha built in media browser
punxaphil Dec 3, 2023
3347ea8
fix: no media selected showing incorrectly
punxaphil Dec 3, 2023
b7722cc
feature: use ha built in media player controls
punxaphil Dec 4, 2023
9f1d367
feature: make it possible to seek in/scrub songs
punxaphil Dec 4, 2023
e2aeca8
feature: make it possible to change source
punxaphil Dec 4, 2023
4866e99
build(deps-dev): bump eslint-config-prettier from 9.0.0 to 9.1.0 (#222)
dependabot[bot] Dec 4, 2023
ea0c369
under the hood: use css grid in player.ts
punxaphil Dec 6, 2023
632542c
fix: remove unsupported section cards
punxaphil Dec 7, 2023
a41a7af
fix: blank card
punxaphil Dec 7, 2023
8136709
fix: missing padding for grouping button
punxaphil Dec 7, 2023
3470e3e
uth: cleanup html and css
punxaphil Dec 8, 2023
957f70a
fix: Card info does not fit within set card size
punxaphil Dec 9, 2023
f2669ff
fix: grouping stopped working
punxaphil Dec 9, 2023
ad30afa
build(deps-dev): bump @typescript-eslint/parser from 6.13.0 to 6.14.0…
dependabot[bot] Dec 11, 2023
1e9b434
build(deps-dev): bump prettier from 3.1.0 to 3.1.1 (#237)
dependabot[bot] Dec 11, 2023
96c72cd
build(deps-dev): bump @babel/core from 7.23.5 to 7.23.6 (#235)
dependabot[bot] Dec 11, 2023
07a432f
build(deps-dev): bump @typescript-eslint/eslint-plugin (#236)
dependabot[bot] Dec 11, 2023
5d45ff5
uth: lint with lit-analyzer
punxaphil Dec 15, 2023
9b89f97
feature: http to https for thumbnails
punxaphil Dec 16, 2023
c31016f
feature: make it possible to hide the browse media button
punxaphil Dec 17, 2023
39a5319
fix: missing padding for favorites title
punxaphil Dec 17, 2023
2306e88
build(deps-dev): bump eslint-plugin-import from 2.29.0 to 2.29.1 (#247)
dependabot[bot] Dec 18, 2023
4ae2e88
build(deps-dev): bump @rollup/plugin-json from 6.0.1 to 6.1.0 (#246)
dependabot[bot] Dec 18, 2023
73a7ca7
build(deps): bump github/codeql-action from 2 to 3 (#242)
dependabot[bot] Dec 18, 2023
7443710
build(deps-dev): bump @typescript-eslint/eslint-plugin (#244)
dependabot[bot] Dec 18, 2023
4ca8107
build(deps-dev): bump eslint from 8.55.0 to 8.56.0 (#243)
dependabot[bot] Dec 18, 2023
30ca5d3
build(deps-dev): bump @typescript-eslint/parser from 6.14.0 to 6.15.0…
dependabot[bot] Dec 18, 2023
610ac0f
fix: loading spinner not working
punxaphil Dec 19, 2023
6fe69bd
fix: loading spinner not working
punxaphil Dec 19, 2023
2148512
don't minify the js in the build
punxaphil Dec 22, 2023
bc490fc
use structuredClone instead of JSON.parse(JSON.stringify
punxaphil Dec 22, 2023
7002802
build(deps-dev): bump @typescript-eslint/parser from 6.15.0 to 6.16.0…
dependabot[bot] Dec 25, 2023
b46aaca
build(deps-dev): bump eslint-plugin-prettier from 5.0.1 to 5.1.2 (#255)
dependabot[bot] Dec 25, 2023
b1ec178
build(deps-dev): bump rollup from 2.79.1 to 4.9.1 (#253)
dependabot[bot] Dec 27, 2023
0891712
Revert "use structuredClone instead of JSON.parse(JSON.stringify"
punxaphil Dec 29, 2023
9214c4f
fix: gracefully proceed if favorites are not available for a player
punxaphil Dec 29, 2023
db110f5
Revert "don't minify the js in the build"
punxaphil Dec 29, 2023
16635c6
Revert "build(deps-dev): bump rollup from 2.79.1 to 4.9.1 (#253)"
punxaphil Dec 29, 2023
9c08d48
fix: only allow entities with platform="sonos"
punxaphil Dec 29, 2023
3358855
uth: wrong import
punxaphil Dec 29, 2023
baeefa9
uth: wrong import again
punxaphil Dec 29, 2023
217bb10
build(deps): bump @mdi/js from 7.3.67 to 7.4.47 (#263)
dependabot[bot] Jan 1, 2024
6001bd9
build(deps-dev): bump @typescript-eslint/parser from 6.16.0 to 6.17.0…
dependabot[bot] Jan 1, 2024
84a12b6
build(deps-dev): bump @typescript-eslint/eslint-plugin (#260)
dependabot[bot] Jan 1, 2024
83365b0
build(deps-dev): bump @babel/core from 7.23.6 to 7.23.7 (#261)
dependabot[bot] Jan 1, 2024
870993b
feature: show audio input format
punxaphil Jan 3, 2024
ef51105
uth: Readme update
punxaphil Jan 3, 2024
e515efb
Revert "fix: only allow entities with platform=sonos"
punxaphil Jan 3, 2024
f8eb88a
fix: excludeItemsInEntitiesList should default to false
punxaphil Jan 4, 2024
299eec4
fix: mediaBrowserItemsPerRow possibly undefined
punxaphil Jan 4, 2024
e679774
build(deps-dev): bump @typescript-eslint/eslint-plugin (#268)
dependabot[bot] Jan 8, 2024
a942d7a
build(deps-dev): bump @typescript-eslint/parser from 6.17.0 to 6.18.0…
dependabot[bot] Jan 8, 2024
e04660d
build(deps-dev): bump prettier from 3.1.1 to 3.2.2 (#282)
dependabot[bot] Jan 15, 2024
ea2ae35
build(deps-dev): bump eslint-plugin-prettier from 5.1.2 to 5.1.3 (#281)
dependabot[bot] Jan 16, 2024
6beef5c
build(deps): bump lit from 3.1.0 to 3.1.1 (#280)
dependabot[bot] Jan 16, 2024
ca6b0ec
build(deps): bump pascalgn/automerge-action from 0.15.6 to 0.16.2 (#277)
dependabot[bot] Jan 16, 2024
40d2c43
build(deps-dev): bump @typescript-eslint/eslint-plugin (#278)
dependabot[bot] Jan 22, 2024
2aee9cb
build(deps-dev): bump prettier from 3.2.2 to 3.2.4 (#284)
dependabot[bot] Jan 29, 2024
d23a27b
build(deps-dev): bump @babel/core from 7.23.7 to 7.23.9 (#287)
dependabot[bot] Jan 29, 2024
fa3f75d
build(deps-dev): bump @typescript-eslint/parser from 6.18.0 to 6.20.0…
dependabot[bot] Jan 29, 2024
3c5ce6f
build(deps): bump lit from 3.1.1 to 3.1.2 (#291)
dependabot[bot] Feb 5, 2024
e68b410
build(deps-dev): bump @typescript-eslint/eslint-plugin (#286)
dependabot[bot] Feb 5, 2024
db1cbfd
build(deps-dev): bump prettier from 3.2.4 to 3.2.5 (#290)
dependabot[bot] Feb 5, 2024
3ed49f6
uth: hacs action
punxaphil Feb 5, 2024
ada49fb
feature: indicate if no supported players are found
punxaphil Jan 24, 2024
c4f265d
fix: only use main player to get favorites
punxaphil Jan 24, 2024
3ff3b36
feature: indicate if no favorites are found
punxaphil Jan 24, 2024
ed2cbb1
feature: show players that does not have grouping support
punxaphil Jan 24, 2024
59e53ed
feature: when grouping use apply button to avoid calling server on ev…
punxaphil Jan 24, 2024
c3a3700
feature: show volume in grouping
punxaphil Jan 24, 2024
9550103
feature: keep events internal to single card as much as possible
punxaphil Jan 30, 2024
9112381
feature: make it possible to only show sonos players
punxaphil Jan 30, 2024
609ad8c
feature: make it possible to override fallback artwork image in playe…
punxaphil Jan 30, 2024
81e9781
fix: hide volume control if player is idle
punxaphil Jan 29, 2024
1e3704b
fix: "no media selected" not always showing correctly
punxaphil Jan 29, 2024
0901274
feature: allow to ignore volume level for certain players in the play…
punxaphil Jan 29, 2024
9be68f4
feature: allow non-sonos players in the visual editor
punxaphil Jan 29, 2024
819437e
fix: make http-2-https configurable for thumbnails
punxaphil Jan 30, 2024
58c98f0
fix: remove accidental commit of debug logging
punxaphil Jan 30, 2024
23c8bb3
feature: make it possible to show non-sonos players
punxaphil Jan 31, 2024
f564e9e
fix: improve grouping performance
punxaphil Feb 4, 2024
527421c
fix: always show current volume value
punxaphil Feb 4, 2024
c302995
feature: configurable volume step size
punxaphil Feb 4, 2024
45b2d1c
readme updates
punxaphil Feb 7, 2024
065b5ae
fix: not able to close predefined group editor
punxaphil Feb 7, 2024
a3f616f
feature: default to icons for favorites list (and show titles)
punxaphil Feb 7, 2024
af442d3
fix: handle nonexisting player in predefined group editor
punxaphil Feb 7, 2024
316c4c6
feature: configurable media browser/favorites title
punxaphil Feb 8, 2024
af9dc09
feature: make it possible to adjust volume relative to main player
punxaphil Feb 8, 2024
0dbb75b
fix: group mute icon not showing correct state
punxaphil Feb 9, 2024
ac20ddf
package-lock.json
punxaphil Feb 9, 2024
12ff8e8
fix: all volume level indicator should show average, not main player …
punxaphil Feb 17, 2024
1a4e6f3
fix: misleading name for mediaBrowserTitlesToIgnore, renamed it to fa…
punxaphil Feb 17, 2024
0ef295d
build(deps-dev): bump @typescript-eslint/eslint-plugin (#300)
dependabot[bot] Feb 19, 2024
8783270
fix: don't show players without grouping unless showNonSonosPlayers i…
punxaphil Feb 24, 2024
71ac51f
feature: use apply button for predefined groups as well
punxaphil Feb 24, 2024
a21ecb2
build(deps-dev): bump eslint from 8.56.0 to 8.57.0 (#304)
dependabot[bot] Feb 27, 2024
869ba30
build(deps-dev): bump @babel/core from 7.23.9 to 7.24.0 (#311)
dependabot[bot] Mar 4, 2024
79911ab
build(deps-dev): bump @typescript-eslint/parser from 6.21.0 to 7.1.1 …
dependabot[bot] Mar 4, 2024
23f5914
fix: volumes sliders not behaving correct for relative volumes
punxaphil Mar 3, 2024
2cc2126
fix: grouping - ungroup actual player while group another does not wo…
punxaphil Mar 4, 2024
eb95a71
fix: cancel grouping not working
punxaphil Mar 4, 2024
6f93ed4
fix: relative volume should be using division, not subtraction
punxaphil Mar 4, 2024
cc90acc
fix: improve padding for volumes' rows
punxaphil Mar 8, 2024
605ce1a
feature: allow to skip apply button in grouping
punxaphil Mar 8, 2024
3628b43
fix: missing padding when setting labelForTheAllVolumesSlider to empty
punxaphil Mar 10, 2024
342519c
fix: artwork missing with heightPercentage: auto
punxaphil Mar 10, 2024
9dfd213
feature: make it possible to hide volume cogwheel
punxaphil Mar 10, 2024
587bc6d
fix: artwork min-height too high
punxaphil Mar 11, 2024
5ccde4a
documentation fix
punxaphil Mar 11, 2024
5225c6e
fix: padding for first volume in volumes
punxaphil Mar 11, 2024
37cba92
feature: configurable dynamic volume slider max and threshold
punxaphil Mar 11, 2024
4515c91
feature: configurable artworkMinHeight
punxaphil Mar 11, 2024
e75a440
funding update
punxaphil Mar 11, 2024
bffc872
funding update
punxaphil Mar 11, 2024
ea163cc
feature: make it possible to have artwork as background for the entir…
punxaphil Mar 13, 2024
5f38d5d
feature: add option to use media_channel in mediaArtworkOverrides
punxaphil Mar 17, 2024
4add1b1
build(deps-dev): bump @typescript-eslint/parser from 7.1.1 to 7.3.0 (…
dependabot[bot] Mar 18, 2024
20cb46c
fix: missing name for players that don't support grouping
punxaphil Mar 23, 2024
ff6c633
fix: log warning if player is not available
punxaphil Mar 23, 2024
b07d964
feature: make it possible to only control main player volume in playe…
punxaphil Mar 23, 2024
58ce4f5
build(deps-dev): bump @typescript-eslint/eslint-plugin (#330)
dependabot[bot] Mar 25, 2024
d21bcca
build(deps-dev): bump @typescript-eslint/parser from 7.3.0 to 7.4.0 (…
dependabot[bot] Mar 26, 2024
ebf6280
build(deps-dev): bump @babel/core from 7.24.0 to 7.24.3 (#331)
dependabot[bot] Mar 26, 2024
6754ba5
build(deps-dev): bump @typescript-eslint/eslint-plugin (#335)
dependabot[bot] Apr 1, 2024
281c7bc
build(deps-dev): bump @typescript-eslint/eslint-plugin (#342)
dependabot[bot] Apr 8, 2024
3e223a7
build(deps-dev): bump @babel/core from 7.24.3 to 7.24.4 (#341)
dependabot[bot] Apr 8, 2024
0b1f6a9
build(deps-dev): bump @typescript-eslint/parser from 7.4.0 to 7.6.0 (…
dependabot[bot] Apr 8, 2024
ac144de
feature: make it possible to don't switch player when grouping
punxaphil Apr 8, 2024
ee9d6f9
feature: show power button if supported by device
punxaphil Apr 8, 2024
8ab43d6
feature: make it possible to specify which player's volume to control…
punxaphil Apr 11, 2024
02b7e13
Feature: Adding mediaArtistEquals and mediaAlbumNameEquals options to…
gminco Apr 11, 2024
73b0af2
build(deps-dev): bump @typescript-eslint/eslint-plugin (#352)
dependabot[bot] Apr 15, 2024
7db5a67
build(deps-dev): bump @typescript-eslint/parser from 7.6.0 to 7.7.0 (…
dependabot[bot] Apr 15, 2024
a58d32d
build(deps): bump pascalgn/automerge-action from 0.16.2 to 0.16.3 (#354)
dependabot[bot] Apr 15, 2024
f0478d1
build(deps-dev): bump @typescript-eslint/eslint-plugin (#361)
dependabot[bot] Apr 22, 2024
a02a11c
build(deps): bump lit from 3.1.2 to 3.1.3 (#363)
dependabot[bot] Apr 22, 2024
a64e748
build(deps-dev): bump @typescript-eslint/parser from 7.7.0 to 7.7.1 (…
dependabot[bot] Apr 22, 2024
5e0181c
build(deps-dev): bump @typescript-eslint/parser from 7.7.1 to 7.8.0 (…
dependabot[bot] Apr 29, 2024
f72d8dc
build(deps-dev): bump @babel/core from 7.24.4 to 7.24.5 (#370)
dependabot[bot] May 6, 2024
5020074
build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.7.1 to …
dependabot[bot] May 6, 2024
1160ac8
fix: Multiple predefinedGroups with same speakers but different volum…
punxaphil May 9, 2024
29799c0
add unit testing with vitest
punxaphil May 9, 2024
c84d6c2
build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.8.0 to …
dependabot[bot] May 14, 2024
175a688
build(deps-dev): bump typescript from 4.9.5 to 5.4.5 (#372)
dependabot[bot] May 14, 2024
a27a12e
build(deps-dev): bump @typescript-eslint/parser from 7.8.0 to 7.9.0 (…
dependabot[bot] May 14, 2024
ad9a046
build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.9.0 to …
dependabot[bot] May 21, 2024
902f8ee
build(deps-dev): bump @typescript-eslint/parser from 7.9.0 to 7.10.0 …
dependabot[bot] May 21, 2024
51af685
build(deps-dev): bump @babel/core from 7.24.5 to 7.24.6 (#379)
dependabot[bot] May 27, 2024
1d2b487
build(deps-dev): bump jsdom from 24.0.0 to 24.1.0 (#378)
dependabot[bot] May 27, 2024
6bc5735
build(deps-dev): bump @typescript-eslint/parser from 7.10.0 to 7.11.0…
dependabot[bot] Jun 3, 2024
b374d58
build(deps-dev): bump vite from 5.2.11 to 5.2.12 (#381)
dependabot[bot] Jun 3, 2024
57c0d50
build(deps-dev): bump prettier from 3.2.5 to 3.3.0 (#382)
dependabot[bot] Jun 3, 2024
f3b6f0e
build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.10.0 to…
dependabot[bot] Jun 3, 2024
2d4679d
build(deps-dev): bump @rollup/plugin-commonjs from 25.0.7 to 25.0.8 (…
dependabot[bot] Jun 3, 2024
8b310f0
fix: dont switch to other player if entityId is set and dontSwitchPla…
punxaphil May 16, 2024
43e674c
dependabot automerge
punxaphil Jun 4, 2024
1b4d77c
upgrade create release action
punxaphil Jun 5, 2024
6e1a494
build(deps): bump dependabot/fetch-metadata from 1.3.1 to 2.1.0 (#393)
dependabot[bot] Jun 10, 2024
64cfc7f
build(deps-dev): bump @rollup/plugin-commonjs from 25.0.8 to 26.0.1 (…
dependabot[bot] Jun 10, 2024
878f15d
build(deps-dev): bump prettier from 3.3.0 to 3.3.1 (#388)
dependabot[bot] Jun 10, 2024
360b7ab
build(deps-dev): bump vite from 5.2.12 to 5.2.13 (#392)
dependabot[bot] Jun 10, 2024
2960766
build(deps-dev): bump @typescript-eslint/parser from 7.11.0 to 7.13.0…
dependabot[bot] Jun 10, 2024
bd76847
build(deps-dev): bump @babel/core from 7.24.6 to 7.24.7 (#391)
dependabot[bot] Jun 10, 2024
cffefe3
feature: show source in player
punxaphil Jun 14, 2024
e88932a
build(deps-dev): bump prettier from 3.3.1 to 3.3.2 (#401)
dependabot[bot] Jun 17, 2024
50de9ce
build(deps): bump lit from 3.1.3 to 3.1.4 (#400)
dependabot[bot] Jun 17, 2024
364a948
build(deps-dev): bump vite from 5.2.13 to 5.3.1 (#399)
dependabot[bot] Jun 17, 2024
dbbc551
build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.12.0 to…
dependabot[bot] Jun 17, 2024
cd0450d
build(deps-dev): bump braces from 3.0.2 to 3.0.3 (#404)
dependabot[bot] Jun 17, 2024
152705c
build(deps-dev): bump ws from 8.17.0 to 8.17.1 (#403)
dependabot[bot] Jun 17, 2024
d4b012a
build(deps-dev): bump typescript from 5.4.5 to 5.5.2 (#408)
dependabot[bot] Jun 24, 2024
d41119f
build(deps-dev): bump @typescript-eslint/parser from 7.13.0 to 7.13.1…
dependabot[bot] Jun 24, 2024
0402e3e
build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.13.0 to…
dependabot[bot] Jun 24, 2024
ba2d4be
build(deps): bump mikepenz/release-changelog-builder-action from 4 to…
dependabot[bot] Aug 5, 2024
fa146b8
build(deps-dev): bump typescript from 5.5.2 to 5.5.4 (#432)
dependabot[bot] Aug 5, 2024
96df494
build(deps-dev): bump @typescript-eslint/parser from 7.13.1 to 7.18.0…
dependabot[bot] Aug 5, 2024
565ed5d
build(deps-dev): bump vitest and @vitest/coverage-v8 (#434)
dependabot[bot] Aug 5, 2024
a368eab
build(deps): bump dependabot/fetch-metadata from 2.1.0 to 2.2.0 (#420)
dependabot[bot] Aug 5, 2024
a0c4113
build(deps-dev): bump vite from 5.3.1 to 5.3.5 (#429)
dependabot[bot] Aug 5, 2024
a05246d
build(deps-dev): bump eslint-plugin-prettier from 5.1.3 to 5.2.1 (#439)
dependabot[bot] Aug 5, 2024
d888e2e
build(deps-dev): bump @babel/core from 7.24.7 to 7.25.2 (#438)
dependabot[bot] Aug 5, 2024
b9ce0eb
build(deps-dev): bump jsdom from 24.1.0 to 24.1.1 (#437)
dependabot[bot] Aug 5, 2024
c460f4c
build(deps-dev): bump prettier from 3.3.2 to 3.3.3 (#436)
dependabot[bot] Aug 5, 2024
702bba4
build(deps): bump lit from 3.1.4 to 3.2.0 (#442)
dependabot[bot] Aug 12, 2024
95ac364
build(deps-dev): bump vite from 5.3.5 to 5.4.1 (#446)
dependabot[bot] Aug 19, 2024
367d492
build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.14.0 to…
dependabot[bot] Sep 3, 2024
d23a173
build(deps-dev): bump jsdom from 24.1.1 to 25.0.0 (#451)
dependabot[bot] Sep 3, 2024
9cf8215
build(deps-dev): bump vite from 5.4.1 to 5.4.2 (#449)
dependabot[bot] Sep 3, 2024
f7fa33e
build(deps-dev): bump vite from 5.4.2 to 5.4.3 (#457)
dependabot[bot] Sep 9, 2024
cb7d4f5
build(deps-dev): bump @typescript-eslint/eslint-plugin from 8.4.0 to …
dependabot[bot] Sep 9, 2024
87a0100
build(deps-dev): bump eslint-plugin-import from 2.29.1 to 2.30.0 (#459)
dependabot[bot] Sep 9, 2024
58e3fef
build(deps-dev): bump typescript from 5.5.4 to 5.6.2 (#456)
dependabot[bot] Sep 9, 2024
dbd69ff
build(deps-dev): bump eslint from 8.57.0 to 8.57.1 (#467)
dependabot[bot] Sep 16, 2024
b809a67
build(deps-dev): bump @typescript-eslint/parser from 8.4.0 to 8.6.0 (…
dependabot[bot] Sep 16, 2024
0c7f977
build(deps-dev): bump @typescript-eslint/eslint-plugin from 8.5.0 to …
dependabot[bot] Sep 16, 2024
7a0ef01
build(deps-dev): bump @vitest/coverage-v8 from 2.0.5 to 2.1.1 (#463)
dependabot[bot] Sep 16, 2024
7b48e35
build(deps-dev): bump vite from 5.4.3 to 5.4.5 (#464)
dependabot[bot] Sep 16, 2024
09f676d
build(deps-dev): bump vite from 5.4.5 to 5.4.6 (#470)
dependabot[bot] Sep 17, 2024
c440e2e
fix: refactor mediaBrowserItemsPerRow
punxaphil Sep 18, 2024
54d525d
build: remove duplicate dependabot workflow
punxaphil Sep 18, 2024
03d4e19
fix: refactor mediaBrowserItemsPerRow, try 2
punxaphil Sep 18, 2024
a1ac2ea
build(deps-dev): bump @rollup/plugin-node-resolve from 15.2.3 to 15.2…
dependabot[bot] Sep 23, 2024
58ed57e
build(deps-dev): bump jsdom from 25.0.0 to 25.0.1 (#475)
dependabot[bot] Sep 23, 2024
d26661e
build(deps-dev): bump vite from 5.4.6 to 5.4.7 (#476)
dependabot[bot] Sep 23, 2024
3b0ee6a
build(deps-dev): bump @rollup/plugin-commonjs from 26.0.1 to 28.0.0 (…
dependabot[bot] Sep 23, 2024
e51a847
build(deps-dev): bump @typescript-eslint/parser from 8.6.0 to 8.7.0 (…
dependabot[bot] Sep 23, 2024
e1aaa21
build(deps-dev): bump @typescript-eslint/eslint-plugin from 8.6.0 to …
dependabot[bot] Sep 23, 2024
4d526f3
feature: make it possible to show "Browse Media" button in player sec…
punxaphil Sep 25, 2024
50e12c7
docs: add card_mod examples
punxaphil Sep 25, 2024
73f70d2
docs: absolute url for images
punxaphil Sep 25, 2024
6f8c3f2
feature: make it possible to show media channel (e.g. radio station n…
punxaphil Sep 25, 2024
018ecc0
build(deps-dev): bump rollup from 2.79.1 to 2.79.2 (#481)
dependabot[bot] Sep 27, 2024
8f79ca2
Update README.md
punxaphil Sep 27, 2024
9802f3c
build(deps-dev): bump @typescript-eslint/eslint-plugin from 8.7.0 to …
dependabot[bot] Sep 30, 2024
c21c687
build(deps-dev): bump vite from 5.4.7 to 5.4.8 (#485)
dependabot[bot] Sep 30, 2024
eff6a72
build(deps-dev): bump @rollup/plugin-node-resolve from 15.2.4 to 15.3…
dependabot[bot] Sep 30, 2024
3b78b65
build(deps-dev): bump @typescript-eslint/parser from 8.7.0 to 8.8.0 (…
dependabot[bot] Sep 30, 2024
d84f1fc
feature: show playlist name in player section
punxaphil Oct 1, 2024
03a28a2
build(deps-dev): bump eslint-plugin-import from 2.30.0 to 2.31.0 (#491)
dependabot[bot] Oct 7, 2024
c643cf7
build(deps-dev): bump @typescript-eslint/eslint-plugin from 8.8.0 to …
dependabot[bot] Oct 7, 2024
6de3df6
build(deps-dev): bump @babel/core from 7.25.2 to 7.25.7 (#494)
dependabot[bot] Oct 7, 2024
76596cc
build(deps-dev): bump @vitest/coverage-v8 from 2.1.1 to 2.1.2 (#493)
dependabot[bot] Oct 7, 2024
98b259b
build(deps-dev): bump @typescript-eslint/parser from 8.8.0 to 8.8.1 (…
dependabot[bot] Oct 7, 2024
743561c
fix: [NSPanel] only shows digit for favorites
punxaphil Oct 8, 2024
8cc9c9f
docs: how to hide the select all/none buttons at the top of the group…
punxaphil Oct 9, 2024
c72b9e4
feature: support auto-entities
punxaphil Oct 9, 2024
f2b6178
uth: align code with mxmp
punxaphil Oct 9, 2024
bf7290f
feature: make it possible to hide control buttons
punxaphil Oct 9, 2024
fa23202
uth: copy shell script to mxmp
punxaphil Oct 9, 2024
5c1ec5e
feature: make it possible to show fast forward and rewind buttons and…
punxaphil Oct 11, 2024
29c5b64
fix: entities and excludeItemsInEntitiesList stopped working
punxaphil Oct 12, 2024
45e93ad
docs: card_mod how to reduce min-width
punxaphil Oct 12, 2024
ece4a05
build(deps-dev): bump @vitest/coverage-v8 from 2.1.2 to 2.1.3 (#504)
dependabot[bot] Oct 14, 2024
288e4fa
build(deps): bump lit from 3.2.0 to 3.2.1 (#506)
dependabot[bot] Oct 14, 2024
cef78c4
build(deps-dev): bump vite from 5.4.8 to 5.4.9 (#507)
dependabot[bot] Oct 14, 2024
5aff0a6
build(deps-dev): bump @babel/core from 7.25.7 to 7.25.8 (#509)
dependabot[bot] Oct 14, 2024
7010f36
build(deps-dev): bump typescript from 5.6.2 to 5.6.3 (#508)
dependabot[bot] Oct 14, 2024
ea53a41
build(deps-dev): bump @typescript-eslint/parser from 8.8.1 to 8.9.0 (…
dependabot[bot] Oct 14, 2024
861159e
uth: improve sonos-mxmp logic
punxaphil Oct 14, 2024
eaafee0
docs: improve customSources documentation
punxaphil Oct 15, 2024
eb1abef
docs: minor update
punxaphil Oct 16, 2024
6dd589d
feature: make it possible to set custom icons for the grouping buttons
punxaphil Oct 16, 2024
4ddf7ae
uth: cleanup copy script
punxaphil Oct 16, 2024
0837130
uth: change default branch to main
punxaphil Oct 16, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
module.exports = {
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 2020, // Allows for the parsing of modern ECMAScript features
sourceType: 'module', // Allows for the use of imports
},
extends: ['plugin:@typescript-eslint/recommended'],
rules: {
// Place to specify ESLint rules. Can be used to overwrite rules specified from the extended configs
// e.g. "@typescript-eslint/explicit-function-return-type": "off",
'prefer-template': 1,
},
};
3 changes: 3 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
github: [punxaphil]
patreon: PunxaPhil
custom: ['https://www.buymeacoffee.com/punxaphil']
42 changes: 42 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: ''
---

<!-- READ THIS FIRST:
- If you need additional help with this template please refer to https://www.home-assistant.io/help/reporting_issues/
- Make sure you are running the latest version of Home Assistant before reporting an issue: https://github.com/home-assistant/home-assistant/releases
- Provide as many details as possible. Do not delete any text from this template!
-->

**Checklist:**

- [ ] I updated to the latest version available
- [ ] I cleared the cache of my browser

**Release with the issue:**

**Last working release (if known):**

**Browser and Operating System:**

<!--
Provide details about what browser (and version) you are seeing the issue in. And also which operating system this is on. If possible try to replicate the issue in other browsers and include your findings here.
-->

**Description of problem:**

<!--
Explain what the issue is, and how things should look/behave. If possible provide a screenshot with a description.
-->

**Javascript errors shown in the web inspector (if applicable):**

```

```

**Additional information:**
19 changes: 19 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: feature request
assignees: ''
---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
15 changes: 15 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "npm"
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
37 changes: 37 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: 'Build'

on:
push:
pull_request:

jobs:
build:
name: Test build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: |
npm install
npm run test:ci
npm run build
dependabot:
name: 'Dependabot'
needs: [build]
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
repository-projects: write
if: ${{ github.actor == 'dependabot[bot]' && github.event_name == 'pull_request'}}
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/[email protected]
with:
github-token: '${{ secrets.GITHUB_TOKEN }}'
- name: Enable auto-merge for Dependabot PRs
run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
65 changes: 65 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"

on:
push:
branches:

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Learn more about CodeQL language support at https://git.io/codeql-language-support

steps:
- name: Checkout repository
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v3

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
17 changes: 17 additions & 0 deletions .github/workflows/hacs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: HACS Action

on:
push:
pull_request:
schedule:
- cron: "25 23 * * *"

jobs:
hacs:
name: HACS Action
runs-on: ubuntu-latest
steps:
- name: HACS Action
uses: hacs/action@main
with:
category: plugin
46 changes: 46 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Release

on:
push:
tags:
- '*'

jobs:
release:
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Build Changelog
id: build_changelog
uses: mikepenz/release-changelog-builder-action@v5
with:
failOnError: true
commitMode: true
configuration: ".release-notes-config.json"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Create Release
uses: softprops/action-gh-release@v2
with:
body: ${{steps.build_changelog.outputs.changelog}}
prerelease: true

# Build
- name: Build the file
run: |
cd /home/runner/work/custom-sonos-card/custom-sonos-card
npm install
npm run build

- name: Upload to release
uses: svenstaro/upload-release-action@v2

with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: /home/runner/work/custom-sonos-card/custom-sonos-card/dist/custom-sonos-card.js
asset_name: custom-sonos-card.js
tag: ${{ github.ref }}
overwrite: true
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.idea
dist/
.DS_Store
node_modules/
coverage/
lcov-report/
7 changes: 7 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module.exports = {
semi: true,
trailingComma: 'all',
singleQuote: true,
printWidth: 120,
tabWidth: 2,
};
29 changes: 29 additions & 0 deletions .release-notes-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"categories": [
{
"title": "## 🚀 Features",
"labels": ["feature"]
},
{
"title": "## 🐛 Fixes",
"labels": ["fix"]
},
{
"title": "## 📚 Documentation",
"labels": ["doc"]
},
{
"title": "## 🛠 Under the hood",
"labels": []
}
],
"template": "${{CHANGELOG}}",
"pr_template": "- [${{TITLE}}](https://github.com/punxaphil/custom-sonos-card/commit/${{MERGE_SHA}})",
"empty_template": "- no changes",
"label_extractor": [
{
"pattern": "(.): (.+)",
"target": "$1"
}
]
}
Loading