Commit Graph

165 Commits

Author SHA1 Message Date
Ajay
46983bec24 Merge branch 'master' of https://github.com/ajayyy/SponsorBlock into chapters 2022-01-21 20:18:42 -05:00
Ajay
388b9179ac Don't show full segments on preview bar 2022-01-05 02:39:13 -05:00
Ajay
63f6702f86 Fix chapter bar breaking when adding new unsubmitted segments 2021-12-30 01:08:54 -05:00
Ajay
02bc554b0e Fix progress not starting at full 2021-12-30 01:05:59 -05:00
Ajay
c3933a4eee reduce returned variables 2021-12-30 00:39:03 -05:00
Ajay
68c1f780d5 Fix sometimes not rendering chapters when no existing chapters 2021-12-30 00:35:39 -05:00
Ajay
496ef87a28 Reduce issues in rendering over existing chapters by replacing walking method with direct loop 2021-12-30 00:22:13 -05:00
Ajay
22e85f715d Add initial code to support drawing when there are existing chapters 2021-12-29 02:16:49 -05:00
Ajay
1a6a07744e Don't break chapter bar when existing chapters are there 2021-12-26 01:18:55 -05:00
Ajay
322a1483df Merge branch 'master' of https://github.com/ajayyy/SponsorBlock into chapters 2021-12-25 22:14:34 -05:00
Ajay
ab1520c560 Show both categories and chapter names in hover text 2021-12-25 01:09:34 -05:00
Ajay
e4f4a10965 Fix seek bar chapter name not updating and schedule end times 2021-12-24 21:52:33 -05:00
Ajay Ramachandran
96693342a3 Fix start time messing up when end time too far in preview bar 2021-11-16 23:26:15 -05:00
Ajay Ramachandran
7dfee81188 Add chapter sorting method to show small chapters in the middle of large ones 2021-11-07 15:26:00 -05:00
Ajay Ramachandran
a69c19581d Fix chapter bar showing as empty sometimes 2021-11-07 01:28:23 -04:00
Ajay Ramachandran
9e6e3b023d Fix small time differences between segments causing issues 2021-11-06 21:20:36 -04:00
Ajay Ramachandran
33cfe3f5d3 Show description in hover bar 2021-11-06 19:57:46 -04:00
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