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
1217b9ed0b
Added change category button for testing server
2020-05-10 16:44:53 -04:00
Ajay Ramachandran
ebf333b8c6
Removed cancel button
2020-05-05 23:36:06 -04:00
Ajay Ramachandran
1b8af9da11
Redid hidden sponsor implementation + added info about being hid due to minimum duration
...
Fixes https://github.com/ajayyy/SponsorBlock/issues/326 and https://github.com/ajayyy/SponsorBlock/issues/325
2020-04-25 23:41:08 -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
1b2bc6def4
Submission notice size now updates when the video size changes.
...
React listeners are properly cleaned up now.
2020-04-14 00:47:09 -04:00
Ajay Ramachandran
18c7be8161
Made submission notice max height dynamic
2020-04-14 00:31:47 -04:00
Ajay Ramachandran
638439a671
Moved notice closing to renderer (no leftover nodes)
2020-04-14 00:10:20 -04:00
Ajay Ramachandran
9fafb9cf54
Made the submission notice scroll when too large
2020-04-13 21:48:55 -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
adef65b878
Made submission notice above other notices
2020-04-09 01:42:16 -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
55e17ceb60
Fixed issues with manual skipping
2020-04-04 23:26:34 -04:00
Ajay Ramachandran
0115a6df13
Merge pull request #315 from Joe-Dowd/react
...
Audio notification on skip
2020-04-04 22:26:51 -04:00
Ajay Ramachandran
09f53c80f0
Sync volume with video volume
2020-04-04 22:22:37 -04:00
Ajay Ramachandran
37e2fb0972
Fixed react whitespace error
2020-04-04 22:11:39 -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
Joe Dowd
48a614943d
Merge branch 'react' into react
2020-04-04 18:44:05 +01:00
Ajay Ramachandran
ec9f1efd55
Added category skip option to just show an overlay without skipping
2020-04-04 12:58:02 -04:00
Joe-Dowd
d7a7476cd1
fixed tabbing
2020-04-04 14:01:31 +01:00
Joe-Dowd
36981af95a
Added audio notification on skip to options menu
2020-04-04 13:59:04 +01:00
Ajay Ramachandran
d4d5e4743e
Added key to sponsorTimeEditComponent
2020-04-02 22:14:52 -04:00
Ajay Ramachandran
3afde08a6e
Category selections now save
2020-04-02 22:13:36 -04:00
Ajay Ramachandran
6ea87d7cd0
Added basic category chooser UI
2020-04-02 21:26:13 -04:00
Ajay Ramachandran
b6c243236b
Submission notice now saves on submission
2020-04-02 14:38:33 -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
Ajay Ramachandran
a02aef591e
Split notice text into a separate component
2020-03-10 12:57:26 -04:00
Ajay Ramachandran
1a92265e65
Made non timed notice the default
2020-03-10 12:08:54 -04:00
Ajay Ramachandran
92a6065c98
Added support for untimed notice
2020-03-10 03:08:15 -04:00
Ajay Ramachandran
d7ca56941a
Moved timing mechanism to separate component
2020-03-10 03:01:20 -04:00
Ajay Ramachandran
da6ccb561d
Fixed manual skip vote check using wrong variable
2020-03-09 23:04:01 -04:00
Ajay Ramachandran
c526a812e0
Made manual skip vote follow config
2020-03-09 22:50:07 -04:00
Ajay Ramachandran
ccbc0456f9
Made skip notice use react states
2020-03-09 21:51:44 -04:00