✨ NEW: sync tabs by URL query parameters#196
Merged
chrisjsewell merged 1 commit intomainfrom May 22, 2024
Merged
Conversation
Synchronised tabs can now be selected by adding a query parameter to the URL, for that sync-group, such as `?code=python`
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #196 +/- ##
==========================================
+ Coverage 87.81% 87.87% +0.05%
==========================================
Files 11 11
Lines 1026 1031 +5
==========================================
+ Hits 901 906 +5
Misses 125 125
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
chrisjsewell
added a commit
that referenced
this pull request
May 22, 2024
Synchronised tabs can now be selected by adding a query parameter to the URL, for that sync-group, such as `?code=python` for
```restructuredtext
.. tab-set-code::
.. literalinclude:: snippet.py
:language: python
.. literalinclude:: snippet.js
:language: javascript
```
The last selected tab key, per group, is also persisted to `SessionStroage`
Co-authored-by: Mike McKiernan <mmckiernan@nvidia.com>
Member
Author
|
@mikemckiernan I added you as co-author thanks! I changed #104, to allow for specifying the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Synchronised tabs can now be selected by adding a query parameter to the URL, for that sync-group, such as
?code=pythonforThe last selected tab key, per group, is also persisted to
SessionStroage