-
Notifications
You must be signed in to change notification settings - Fork 70
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
♻️ REFACTOR: Reduce JS/CSS size and improve accessibility #94
Conversation
Codecov Report
@@ Coverage Diff @@
## master #94 +/- ##
==========================================
+ Coverage 90.04% 94.02% +3.98%
==========================================
Files 1 1
Lines 201 201
==========================================
+ Hits 181 189 +8
+ Misses 20 12 -8
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Quite a large change to the underlying HTML here, so wouldn't be surprised if it introduces bugs for some use cases... Though I've trialed it with the demos in the docs and it seems to work well. Also worth noting that:
Edit: |
Ahoy! As a heads up, I won't be properly reviewing this myself anytime soon (context here) but I definitely wanted to drop in and say -- Thanks a lot for picking this up, and as far as I can see, this looks great! |
Hey @chrisjsewell, please could you provide a review of this sometime? I appreciate that there's quite a few changes piled in here, but it made sense to include them given the extent of the rewrite. If there's nothing obviously broken here I'll be around to pick up any bugs I may have thrown in, if released 😅 |
Heya, @Daltz333 I don't want to be too much of a blocker on this package, so I've invited you and @foster999 as maintainers I've made a quick review comment above also:
Could you add a note on this to the documentation (https://sphinx-tabs--94.org.readthedocs.build/en/94/#), and in fact it would be good to improve this page with a bit more explanation of the extension, including sphinx configuration options etc |
Thanks @chrisjsewell, sounds good to me I've dropped the sphinx js override and updated the RTD docs to include code examples and describe features. Please could one of you have a quick look at https://sphinx-tabs--94.org.readthedocs.build/en/94/#, then I think it should be good to go 😄 |
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 fine to me! I think we should ship it if no other objections!
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.
thanks @foster999 looking good, just a minor thing to change
90de1e0
to
e5feb59
Compare
cheers! |
I imagine this should be released as v2.0.0 |
Hurray! Thanks for doing this folks! ^>^ |
Cheers for the review both! Shall punch a new release now |
Removes:
Changes:
sphinx
rather than explicitly in the extensionAdds:
tabindex
atributes to allow users to focus and switch tabs using a keyboard (left and right arrows, and enter key to change)Closes #92, closes #66, closes #87, closes #90 and closes #80, closes #65, closes #93.
It also includes an equivalent of #73