Ajay Ramachandran
e126b59078
Added skip button in control bar instead of using skip notice
2021-08-18 02:07:24 -04:00
Ajay Ramachandran
4e99754b8c
Merge branch 'master' of https://github.com/ajayyy/SponsorBlock into improvements
2021-08-17 18:25:18 -04:00
Ajay Ramachandran
422139f474
Link to new wiki
2021-08-17 01:45:03 -04:00
Maxim
1bd78ec1c4
Fix for an "enable category" popup
...
If you choose any category when editing a segment, and then choose the "Choose a category" one, it triggers the enable category message with an empty category name. This is a fix for that.
2021-08-15 02:42:47 +05:00
Michael C
ef36c79092
reduce precision of previewTime to fix #874
2021-08-04 16:04:22 -04:00
Ajay Ramachandran
5fbb8c0d4a
Merge branch 'master' of https://github.com/ajayyy/SponsorBlock into improvements
...
# Conflicts:
# manifest/manifest.json
# src/components/SponsorTimeEditComponent.tsx
# src/config.ts
# src/content.ts
# src/types.ts
2021-05-22 01:28:24 -04:00
Ajay Ramachandran
9392d16617
Add partial segments to upload menu
2021-05-21 15:51:58 -04:00
Ajay Ramachandran
e680099cec
Scroll to category in options page
2021-05-11 01:09:01 -04:00
Ajay Ramachandran
0a587ed98b
Fix button visibility for highlight category and always show upload button
2021-04-07 21:44:42 -04:00
Ajay Ramachandran
a08dbf4da1
Add submitting for highlight category
2021-04-05 23:35:05 -04:00
opl-
3879cc6de3
Clean up segment creation code
...
Noteworthy changes:
- Adds ability to cancel creating a segment
- Makes segment creation fully the responsibility of the content script, with the popup script buttons simply doing RPC
- Adds types to the Utils.wait function
- Fixes segment timestamps backwards if user marks segment end earlier than the start
- Makes the info menu (in-page popup) workaround clearer and easier to remove in the future.
2021-02-20 15:52:13 +01:00
Ajay Ramachandran
fbe64c115b
Added cancel button when choosing a disable category
2020-12-15 16:32:38 -05:00
Ajay Ramachandran
41e5cb25aa
Fix category list alert not being localized
2020-12-15 16:18:28 -05:00
Ajay Ramachandran
fd9116c81c
Lock category order and show all categories
2020-12-15 16:13:56 -05: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
opl-
618f8a52f7
Use formatted time inputs for segment editing
...
Additionally, removes unused util functions and saves the edits on changes to update the preview immediately
2020-11-07 22:28:55 +01:00
Ajay Ramachandran
70a86e5a11
Don't unpause for inspect
2020-09-15 10:26:46 -04:00
James Robinson
fc02816291
Add review button to submission popup
2020-08-30 14:19:06 -05:00
Ajay Ramachandran
3dc6563048
Default to blank category when submitting
2020-07-12 20:59:35 -04:00
Ajay Ramachandran
1265eeb941
Save category with the preview submissions.
2020-07-02 23:34:13 -04:00
Ajay Ramachandran
7de907fa23
Added help button to submission notice
2020-06-04 21:46:56 -04:00
Ajay Ramachandran
57eb122fce
Changed rough time calculation to only use real time or end time.
...
Also fixed getting the replay button element.
2020-05-11 21:04:10 -04:00
Ajay Ramachandran
ac3d27bf88
Changed instances of splice to only remove one
2020-05-11 18:36:07 -04:00
Ajay Ramachandran
a433dad080
Fix edit text on old YouTube dark theme
2020-05-10 21:23:25 -04:00
Ajay Ramachandran
dc04e045aa
Use duration as current time if endcards or autoplay is visible when submitting
2020-05-10 21:06:15 -04:00
Ajay Ramachandran
2f842a0455
Remove config listener from EditComponent properly
2020-05-10 20:32:49 -04:00
Ajay Ramachandran
9a70599e60
Added end button to submission notice
2020-04-20 00:37:25 -04:00
Ajay Ramachandran
89f72c185c
Update submission UI whenever there is a config update.
2020-04-20 00:33:41 -04:00
Ajay Ramachandran
4e9b5ca0bc
Fixed preview button
2020-04-19 20:48:43 -04:00
Ajay Ramachandran
0223aa8307
Only show selected categories when submitting and added a "show more categories" button
2020-04-13 12:43:12 -04:00
Ajay Ramachandran
e2128f7ae3
Fixed editing non first index submissions.
...
The idSuffix was not being set properly and was set to undefined.
2020-04-09 12:54:04 -04:00
Ajay Ramachandran
e085163dfd
Only shows sponsor category if test server is disabled
2020-04-09 12:13:56 -04:00
Ajay Ramachandran
f6945b56d8
Fixed submitted sponsors and prevented preview sponsors from being voted on
2020-04-04 23:35:44 -04:00
Ajay Ramachandran
7af44eae66
Category submission notice now works.
...
It still submits to the server without a category since the server-side is not done.
2020-04-04 22:06:59 -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
d4d5e4743e
Added key to sponsorTimeEditComponent
2020-04-02 22:14:52 -04:00
Ajay Ramachandran
5575eda7b1
Changed UI data to be store in strings for better UX
2020-04-02 01:29:12 -04:00
Ajay Ramachandran
e17eb60b4d
Added basic category selector to the UI
2020-04-02 01:25:06 -04:00
Ajay Ramachandran
e055a66342
Submission notice now updates when sponsors are added
2020-04-02 00:59:11 -04:00
Ajay Ramachandran
72c98923f6
Fixed close button on submission confirmation notice
2020-04-02 00:44:38 -04:00
Ajay Ramachandran
8ecea87c52
Added now button to editor
2020-04-01 20:38:10 -04:00
Ajay Ramachandran
7727cd56db
Save edits before previewing
2020-04-01 20:24:50 -04:00
Ajay Ramachandran
242fbf8009
Save edits correctly
2020-04-01 20:22:51 -04:00
Ajay Ramachandran
24f2ce4a32
Fixed event propagation issues
2020-04-01 20:19:31 -04:00
Ajay Ramachandran
0d08e11b1d
Added basic time editing.
...
The button presses don't work yet as YouTube steals the events.
2020-04-01 20:06:46 -04:00
Ajay Ramachandran
f100ee4738
Made preview button functional
2020-03-11 19:56:16 -04:00
Ajay Ramachandran
37662138df
Increase precision in submission preview
2020-03-11 19:48:51 -04:00
Ajay Ramachandran
3063591a4c
Added delete function to new dialog
2020-03-11 19:35:20 -04:00
Ajay Ramachandran
a182354254
Added basic react submission confirmation notice
2020-03-11 17:50:50 -04:00