-
-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
adding bookmarking functionality #407
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are accessibility issues in these changes.
ordering/templates/index.html
Outdated
@@ -171,6 +172,7 @@ | |||
<tbody> | |||
{% for row in table_content %} | |||
<tr class="episode {{ series_map[row.series].id }}"> | |||
<td><input type='checkbox' data-episodeId="{{ row.series }} {{ row.episode_id }}" onclick="(event) => bookmarkEpisode(event)"/></td> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this element is missing an accessible name or label. That makes it hard for people using screen readers or voice control to use the control.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👏 You fixed the issue(s)! Great work.
Signed-off-by: Qamar Stationwala <[email protected]>
Signed-off-by: Qamar Stationwala <[email protected]>
…hing is pointless Signed-off-by: Qamar Stationwala <[email protected]>
Signed-off-by: Qamar Stationwala <[email protected]>
@AceFire6 got time to check out this PR? |
Hi! I wasn't able to test it because I am not that well versed in python. I am fairly certain I installed all the right packages but after running the server, attempting to access the page was met with Error 10061 connecting to localhost:6379. No connection could be made because the target machine actively refused it.
That being said, it is purely a frontend change and I am fairly certain this should work. The exact function does work when I use it with tampermonkey, so the logic of the JS is sound. Only question is whether I properly edited your html template :)