Commit graph

149 commits

Author SHA1 Message Date
Bill Thornton
1e3fa5418c Remove duplicate card shape functions 2023-10-01 02:54:23 -04:00
Bill Thornton
20381bd3ec Fix all loneliness 2023-09-12 23:45:36 -04:00
Bill Thornton
f35a8151e0 Add prefer optional chaining rule 2023-07-06 13:39:48 -04:00
Bill Thornton
d7d0d7305c
Merge pull request #4556 from thornbill/routes-cleanup
Cleanup routes
2023-05-04 13:02:33 -04:00
Bill Thornton
01acfeb3ac
Merge pull request #4552 from rqres/fix-codesmell-for-of
Refactor `for` loops to `for-of` loops
2023-05-03 09:52:18 -04:00
Bill Thornton
f96166657d Move remaining router components 2023-05-02 16:40:31 -04:00
Bill Thornton
8041167473 Use typescript eslint parser for all files 2023-05-02 15:51:46 -04:00
Rares Tamasanu
2b9141f4cd fix code smell: 'for loop should be for-of' 2023-04-30 19:15:14 +01:00
Bill Thornton
f2726653ae Fix indentation issues 2023-04-19 01:56:05 -04:00
Bill Thornton
6f3aa2f1df Fix eslint issues 2023-03-29 00:38:22 -04:00
Bill Thornton
4937f2d60c Add random int utility function 2023-03-14 01:32:36 -04:00
Bill Thornton
329cf77c81 Add eslint radix rule for parseInt 2023-03-09 00:20:11 -05:00
Pier-Luc Ducharme
cf5d65d86e
Simplify code with object shorthand syntax 2023-03-07 23:24:12 -05:00
Pier-Luc Ducharme
dc5ab265f6
Refactor cardBuilder to follow max-params rule 2023-03-07 22:50:29 -05:00
Hadi Charara
104ad71ea7 Merge branch 'master' into hadicharara/added-support-for-rtl-layouts 2022-10-12 08:29:53 -04:00
Bill Thornton
554cd1210c Fix sonarjs no-duplicated-branches 2022-10-05 12:58:48 -04:00
Bill Thornton
3417d56bf3 Fix weird ternary statements that sonar flags 2022-10-04 16:16:54 -04:00
Bill Thornton
1f4e65822b Fix sonarjs no-collapsible-if 2022-10-03 14:26:16 -04:00
Hadi Charara
32f103b852 Merge branch 'master' into hadicharara/added-support-for-rtl-layouts 2022-10-01 16:55:59 -04:00
Bill Thornton
3fb990fdd2 Backport pull request #3789 from jellyfin/release-10.8.z
Fix XSS in card aria labels

Original-merge: 747f7beae714a09e6b56e9557ad0a86d738b5218

Merged-by: Bill Thornton <thornbill@users.noreply.github.com>

Backported-by: Joshua Boniface <joshua@boniface.me>
2022-08-02 23:59:18 -04:00
Joshua Boniface
149e09b523 Backport pull request #3730 from jellyfin/release-10.8.z
CardBuilder: Test episode number in addition to episode name

Authored-by: SenorSmartyPants <senorsmartypants@gmail.com>

Merged-by: Bill Thornton <thornbill@users.noreply.github.com>

Original-merge: a38d0bbacc129add961d1e2a9c8b5085f49c0d39
2022-07-20 19:29:50 -04:00
Hadi Charara
cb234bf8ee Removed useless declarations 2022-07-05 15:28:13 -04:00
Hadi Charara
ea85b4a6d7 Added <bdi> to item titles 2022-07-03 15:05:09 -04:00
Hadi Charara
894d0d8038 fixed minor bug 2022-07-03 14:05:09 -04:00
Hadi Charara
df39a9a1ff Uses now proper toLocaleString function 2022-07-03 14:03:39 -04:00
Hadi Charara
0f994ccb5b Initial support for RTL layouts 2022-07-02 15:50:52 -04:00
Tobias Speicher
e0486e49c6
Replace deprecated String.prototype.substr()
.substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated

Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
2022-04-21 18:42:42 +02:00
Bill Thornton
89af1e339d
Merge pull request #3479 from davidmurdoch/fix/buttons-arent-for-links
Change buttons that act as links to anchor tags
2022-04-19 16:42:13 -04:00
Bill Thornton
7ec51f111c Merge pull request #3519 from dmitrylyzo/fix-escapehtml
Escape HTML

(cherry picked from commit ef811e699ca4473b2548badb6295256bccb82ea9)
Signed-off-by: crobibero <cody@robibe.ro>
2022-04-07 13:00:12 -04:00
David Murdoch
812abdd648
fix lint error by adding missing semicolon 2022-04-06 14:16:43 -04:00
David Murdoch
0ffff84a9e
change buttons that act as links to anchor tags
Buttons and links are different and serve different purposes. Links _go
somewhere_ while buttons _do something_.

When I click on a movie title to _go to_ the movie page the thing I
click should act like a link. If I ctrl+click or middle click it it
should still act like a link... by opening in a new tab.
2022-04-01 18:52:16 -04:00
Dmitry Lyzo
59adbc348a Escape HTML 2022-03-06 13:29:14 +03:00
Dmitry Lyzo
5d1fe2eeaf Add aria-labels for accessibility 2022-03-03 18:15:32 +03:00
Dmitry Lyzo
161ce2404b Add title to buttons 2022-03-03 17:19:27 +03:00
Bill Thornton
4dd645bbfa Hide card padders in image loader 2022-02-28 00:10:29 -05:00
Bill Thornton
e89e92e25c Fix minor issues with card padder icons 2022-02-26 01:56:41 -05:00
Bill Thornton
bb46b32402
Merge pull request #3433 from dmitrylyzo/types-react
[TypeScript] Disable implicit any
2022-02-25 15:17:32 -05:00
Dmitry Lyzo
85e9aff281 docs: fix documentation for TypeScript 2022-02-25 19:11:07 +03:00
Dmitry Lyzo
119df2cc99 Add aria-hidden to button icons 2022-02-25 01:52:14 +03:00
Dmitry Lyzo
9a4652f638 Add default text (icon) to Episode
Same as for Series.
2022-02-22 00:13:29 +03:00
Dmitry Lyzo
034a86119f Add card padder icon for items with an image 2022-02-22 00:13:29 +03:00
Bill Thornton
481784622a Fix precision issue in cardBuilder 2022-02-14 15:38:44 -05:00
SenorSmartyPants
1e95442bb0 Special Features: Display extraType as secondaryText on card 2022-01-20 15:34:22 -06:00
SenorSmartyPants
6117cffcc2 Add episode details to live TV DVR schedule
details button should be left aligned IMO. Not sure where to change CSS yet.
details link to a different place than the card
2022-01-11 19:10:07 -06:00
Odd Stråbø
63ea97ad74
Make eslint happy 2021-04-14 07:46:11 +02:00
Odd Stråbø
9429f335b9 Ensure that height gets set in the image request
Request quality of 96, for up to 16 less jpeg
2021-04-13 19:14:06 +02:00
Bill Thornton
2c85b7806b
Merge pull request #2514 from oddstr13/image-fill-resize
Add support for fillWidth and fillHeight
2021-04-11 12:30:06 -04:00
Bill Thornton
a47f6d458c Move components css files to sass 2021-03-19 14:00:59 -04:00
Odd Stråbø
814713235e Add support for fillWidth and fillHeight
I have probably missed a few places it should be used
2021-03-17 22:43:52 +01:00
Dmitry Lyzo
df4e5e73a5 Fix canPlay for Live TV 2020-12-10 13:47:16 +03:00