SponsorBlock categories (#634)

* SponsorBlock categories

* perf

* remove todo

* tweak

* UI is working

* Lint fix

* changelog

* Bug fix

* Restore timer

* Locale

* Comment

* tweaks

* web app

* remove unsued svelte ignore

* lint web app

---------

Co-authored-by: github-action linter <githubaction@githubaction.com>
This commit is contained in:
Brahim Hadricheandgithub-action linter authored and GitHub committed 2025-06-01 15:30:58 -04:00
1 parent 0bc5ab6117
commit fcae05a0da
34 files changed
+1039 -422

No files matched your search

@@ -1,7 +1,9 @@
<component name="SponsorBlockNotification" extends="Group">
<interface>
<field id="segment" type="assocarray" />
<field id="action" type="string" onChange="OnActionSet" alwaysNotify="true" />
<field id="segmentId" type="string" />
<field id="categoryText" type="string" alias="categoryLabel.text" />
<field id="actionText" type="string" alias="actionLabel.text" />
<field id="doShow" type="boolean" onChange="OnDoShow" alwaysNotify="true" />
</interface>
<children>
<Poster
@@ -16,18 +18,26 @@
height="50"
translation="[10,10]">
</Poster>
<!-- bs:disable-next-line LOCALE_MISSING_TRANSLATIONS -->
<Label text="..."
id="categoryLabel"
font="font:SmallestBoldSystemFont"
lineSpacing="5"
horizAlign="center"
vertAlign="center"
wrap="true"
width="170"
height="70"
translation="[70,0]">
</Label>
<LayoutGroup vertAlignment="center" translation="[70,35]">
<Label
id="categoryLabel"
font="font:TinyBoldSystemFont"
horizAlign="center"
width="170"
lineSpacing="0"
maxLines="2"
wrap="true">
</Label>
<Label
id="actionLabel"
font="font:TinySystemFont"
horizAlign="center"
width="170"
lineSpacing="0"
maxLines="2"
wrap="true">
</Label>
</LayoutGroup>
</Poster>
<Animation
id="translationAnimation"