-
Notifications
You must be signed in to change notification settings - Fork 866
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
Add keyboard shortcuts to titles #5857
Open
kommunarr
wants to merge
18
commits into
FreeTubeApp:development
Choose a base branch
from
kommunarr:feat/add-shortcut-labels
base: development
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 9 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
fe5de7f
Update title for custom FreeTube button labels with keyboard shortcuts
kommunarr 3134053
Add keyboard shortcut to unmodified Shaka control labels
kommunarr 0d3882e
Replace in-code use of available shortcuts with the corresponding con…
kommunarr 443c4af
Add explanatory comments
kommunarr 42c3128
Fix captions constant name
kommunarr 7c379e2
Prevent creating new shortcut localization if Shaka localization key …
kommunarr 764cace
Add util functions to localize special keys
kommunarr 6798c3a
Replace more video player shortcut usage in code with corresponding c…
kommunarr 6f8d212
Add labels for History and Settings app shortcuts, and update variabl…
kommunarr 16693ea
Display 'Option' instead of 'Alt' for Mac users
kommunarr cf263fb
Use Mac icons in keyboard shortcuts for Macs
kommunarr d642682
Update Mac arrow icon choice
kommunarr 348100d
Update KeyboardShortcuts constant organization in preparation for key…
kommunarr dd1fffa
Merge branch 'development' of github.com:FreeTubeApp/FreeTube into fe…
kommunarr 89b6861
Adjust nameSpan._textContent to be set to same value as aria-label
kommunarr fdae9b4
Merge branch 'feat/add-shortcut-labels' of github.com:kommunarr/FreeT…
kommunarr 304fa82
Add code comment explaining shakaControlKeysToShortcuts
kommunarr 532fcc7
Move changes from deleted Popular.js to Popular.vue
kommunarr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
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.
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.
Non-blocking: For locales that shaka-player doesn't pre-bundle (so the ones loaded by the code above), we call
.insert()
twice, once to add the strings and the second time to overwrite them with the shortcuts text. So in the future it might be worth considering having two separate code paths, the current one would be used for locales that are pre-bundled and a second one that combines the fetching and modifications in a single step so we only need to insert the strings once.