Commit Graph

98 Commits

Author SHA1 Message Date
Ajay Ramachandran
374f0992ff Merge branch 'master' of https://github.com/ajayyy/SponsorBlock into chapters 2021-11-04 00:31:29 -04:00
Ajay Ramachandran
7814493974 Fix preview bar width and remove chapter refresh check 2021-11-04 00:25:58 -04:00
Ajay Ramachandran
f5fa758ac1 Don't shrink preview bar if segment not a chapter 2021-11-02 23:33:19 -04:00
Ajay Ramachandran
517e53a2e3 Fix small segments breaking chapters 2021-11-01 21:44:39 -04:00
Ajay Ramachandran
fb3635cdf8 Fix animation when chapter bar is recreated 2021-11-01 21:18:03 -04:00
Ajay Ramachandran
a804da06f5 Update chapter bar progress right after clone 2021-11-01 21:10:43 -04:00
Ajay Ramachandran
9ed9f9b873 Only create one chapter bar, support videos with no segments and preview segments 2021-11-01 20:59:04 -04:00
Ajay Ramachandran
b4a2f31520 Render preview bar behind scrubber 2021-10-30 21:48:52 -04:00
Ajay Ramachandran
37ac5c8cbd Listen for class changes for ytp-hover-progress-light and fix left 2021-10-30 15:11:22 -04:00
Ajay Ramachandran
7c4a0628b7 Add growing chapter on hover 2021-10-28 23:57:53 -04:00
Ajay Ramachandran
2d3e293d83 Support left style changes for chapters bar and fix negative size 2021-10-28 00:38:46 -04:00
Ajay Ramachandran
6dee56dc95 Add mutation listener to update progress indicators 2021-10-27 23:21:22 -04:00
Ajay Ramachandran
4c9548b303 Add basic chapter rendering for segments 2021-10-26 20:18:08 -04:00
Ajay Ramachandran
a0d06ca6e8 Fix start time in preview bar in wrong place 2021-10-19 19:00:30 -04:00
Ajay Ramachandran
fd69e91880 Merge branch 'master' of https://github.com/ajayyy/SponsorBlock into chapters 2021-10-17 19:25:16 -04:00
Ajay Ramachandran
4bc180077e Fix segments sometimes displaying after the seek bar if at the end 2021-10-16 13:15:47 -04:00
Ajay Ramachandran
e20b60979c Add initial chapter name rendering 2021-10-12 23:33:41 -04:00
Ajay Ramachandran
48a49e4136 Make highlight hover text work better on preview bar 2021-08-26 18:20:33 -04:00
Ajay Ramachandran
42beaf698c Make highlight larger on preview bar 2021-08-17 18:37:59 -04:00
Ajay Ramachandran
71ec724295 Merge branch 'master' of https://github.com/ajayyy/SponsorBlock into improvements 2021-06-18 00:46:55 -04:00
Ajay Ramachandran
861ba4869e Add preview category
Closes https://github.com/ajayyy/SponsorBlock/issues/444

(cherry picked from commit a10d7c338c)
2021-06-18 00:02:03 -04:00
Ajay Ramachandran
8d9b6e8c1e Grow preview bar when the bar is hovered
Only for non chapter videos
2021-06-11 13:58:40 -04:00
Ajay Ramachandran
97b6e0ee42 Change variable names 2021-06-09 13:31:26 -04:00
Ajay Ramachandran
d2847c6a77 Changes to preview bar 2021-06-08 22:13:57 -04:00
Ajay Ramachandran
9478bfe6a4 Don't crash if bar types are missing 2021-05-31 14:45:39 -04:00
Ajay Ramachandran
ef7e5d1312 Made highlight category work with hover text 2021-05-11 00:06:22 -04:00
Ajay Ramachandran
a08dbf4da1 Add submitting for highlight category 2021-04-05 23:35:05 -04:00
Ajay Ramachandran
a10d7c338c Add preview category
Closes https://github.com/ajayyy/SponsorBlock/issues/444
2021-03-30 22:50:36 -04:00
Ajay Ramachandran
120642667d Rename timestamp to segment 2020-12-14 17:24:35 -05:00
opl-
7078e1f033 Clean up Preview Bar
Fixes:
- Segments hidden by longer segments
- Duration with skips not accounting for segment overlaps
- Duration with skips not accounting for user's skip choices
- Segment category text in preview tooltip overlaps the seek bar
- Segment category text in preview tooltip breaks for timestamps over one hour
- `previewBar.ts` lacks function argument and return types
- Tooltip label not cleaned up on remove
- General code style issues
2020-12-14 19:58:00 +01:00
Max Baumann
d80dad7963 fix(types): change wrong type of 'types' 2020-12-13 20:29:23 +01:00
Max Baumann
e2ef7412a4 refactor(lint): fix trivial linting errors 2020-12-12 23:58:34 +01:00
Max Baumann
36558f5460 refactor(lint): apply automatic eslint fixes 2020-12-12 22:57:41 +01:00
Ajay Ramachandran
87f3cf3881 Fixed invidious preview bar 2020-07-05 00:09:18 -04:00
Ajay Ramachandran
dea9dac20a Fix crashing on mobile youtube 2020-07-05 00:03:52 -04:00
Ajay Ramachandran
c69047c7f9 Show short names when hovering the preview bar 2020-07-03 21:16:38 -04:00
Ajay Ramachandran
ca2727655e Added customizable seek bar colors 2020-06-03 20:20:02 -04:00
Ajay Ramachandran
55070d5852 Fixed mutation listener stack overflow on Firefox. 2020-05-12 21:17:52 -04:00
Ajay Ramachandran
aec287f0cf Fixed preview bar hover text error 2020-05-11 20:59:30 -04:00
Ajay Ramachandran
a335ae2b72 Added warning when submitting non-music category on music video.
Also added a color for the music category.
2020-05-10 18:48:28 -04:00
Ajay Ramachandran
822c7bda89 Added a category tooltip on hover. 2020-05-03 11:42:39 -04:00
Ajay Ramachandran
74a4ef0692 Changed name of merch category 2020-04-09 16:40:42 -04:00
Ajay Ramachandran
be74ebe7bc Added category colours 2020-04-09 12:44:10 -04:00
Ajay Ramachandran
bac9029a28 Switched skipping to use category settings.
Submission editing is now broken as well as clicking submit.

Skipping through multiple submissions just treats it as skipping from one (no multiple vote options).
2020-04-04 21:04:17 -04:00
Ajay Ramachandran
2e212e6d10 Improved mobile preview bar 2020-02-19 00:14:08 -05:00
Ajay Ramachandran
219a7ba8c3 Added preview bar to mobile 2020-02-17 15:10:50 -05:00
Ajay Ramachandran
d77f8abf42 Converted more code to TypeScript. 2020-01-28 23:52:15 -05:00
Ajay Ramachandran
03836b69f2 Started conversion to TypeScript. 2020-01-28 22:16:48 -05:00