Commit Graph

223 Commits

Author SHA1 Message Date
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
Daan Vankerkom c6bcee3b26 Reduce TV card scale size
Reduced the transform scale from 10% to 7% to increase readability and reduce cognitive overload.
2023-04-24 11:47:40 -04: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 a4f5803016 Fixed linting issues 2022-10-03 13:36:26 -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 d4202e0279 Replaced all inline entries with attribute bases selectors 2022-07-14 17:59:23 -04:00
Hadi Charara db98c42956 Small css fix 2022-07-08 19:21:49 -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 974417ce3d use inline and block properties now 2022-07-02 22:59:40 -04:00
Hadi Charara bac7d6467e Fixed Cards for RTL 2022-07-02 17:49:00 -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 cd24cd19b0 Fix underline in card images 2022-04-19 16:53:46 -04: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
Dmitry Lyzo c4f81a9bdd fix: Center card icon in Safari 10 2022-02-28 22:45:10 +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 ddb6a6ab65 Fix Chrome button text-align = center default
Chrome would override class styles on buttons in cards. Added text-align to existing selector, and added selector to existing style.
2022-01-11 19:10:17 -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
Bill Thornton 82c038f952 Fix additional inconsistent styles on source indicator 2021-09-13 10:44:50 -04:00
Bill Thornton 7390314001 Merge pull request #2472 from jellyfin/dkanada-patch-1
add border radius to several card elements
2021-05-04 13:17:41 -04:00
Odd Stråbø 63ea97ad74 Make eslint happy 2021-04-14 07:46:11 +02:00