Skip to content

Commit

Permalink
Added new shuffle hints
Browse files Browse the repository at this point in the history
  • Loading branch information
NikkelM committed Nov 16, 2023
1 parent 514c9a8 commit 914f96b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 10 deletions.
23 changes: 14 additions & 9 deletions src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,29 +42,33 @@ export const configSyncDefaults = {

export const shufflingHints = [
// General extension hints
"The extension adds a 'Shuffle' button to all channel and video pages on YouTube, which has the same behaviour as shuffling from the popup!",
"The extension adds a 'Shuffle' button to all channel and video pages on YouTube, this button has the same behaviour as shuffling from the popup!",
"If you are the first person to shuffle from a channel, the video ID's of that channel are saved both locally and in a remote database for other users to use!",
"Try using the extension on April 1st - maybe something unexpected will happen!",
"The extension does not collect any personal information, it only stores video ID's of channels you shuffle from, without linking them back to you!",
"You only have certain number of requests to the YouTube API per day. You can remove this limit by providing your own API key in the options!",
"You only have a certain number of requests to the YouTube API per day. You can remove this limit by providing your own API key in the popup!",
"The extension popup shows you how many videos you have shuffled so far!",
"The list of videos uploaded on a channel is updated regularly, so don't worry if you don't immediately see a recently uploaded video when shuffling!",
"All video ID's are stored locally in your browser's cache, to make shuffling from a channel even faster the next time you visit it!",
"If it ever happens that the 'Shuffle' button is not displayed, simply reload the page and it should be there again. If it doesn't, please open an issue on GitHub!",
"All video ID's are stored locally in your browser's storage, to make shuffling from a channel even faster the next time you visit it!",
"The 'Shuffle' button will display a progress percentage if the extension has to fetch data from the YouTube API!",

// Errors
"Whenever an error is encountered, an alert will open with more detailed information on what caused it, and how you may resolve it. If you still need assistence, please open an issue on GitHub!",
"Whenever an error is encountered, an alert will open with more detailed information on what caused it, and how you may resolve it. If you still need assistence, please open an issue on GitHub and include the channel ID!",

// Options
// General options
"Use the 'Open in new tab' option to open each shuffled video in its own tab!",
"Use the 'Reuse new tab' option to only open a new tab on the first shuffle, and open subsequent shuffled videos in that tab, no matter from which tab you start the shuffle!",
"Use the 'Open in playlist' option to open shuffled videos in the uploads playlist of the channel!",
"Use the 'Ignore Shorts' option to ignore videos marked as shorts when shuffling!",
"Use the 'Use custom API key' option to provide your own YouTube API key, which will be used instead of the extension's keys. This removes the API quota limit!",
"Use the 'Open in playlist' option to open shuffled videos in the uploads playlist of the channel! You can customize how many videos are added to the playlist!",
"You can choose to ignore, include, or only shuffle from shorts uploaded on a channel!",
"Use the 'Use custom API key' option to provide your own YouTube API key, which will be used instead of the extension's keys. This removes the API quota limit and allows you to opt out of sharing video IDs with other users!",

// Channel options
"The extension popup allows you to customize the shuffling experience for the most recently visited channel at any time!",
"You can choose from a number of filters to choose what videos are considered when shuffling from a specific channel!",
"The 'Shuffle' button in the popup always shuffles from your most recently visited channel!",
"You can choose to only shuffle from the most recent X percentage of videos uploaded on the channel by using the '...the most recent x% of videos' shuffle filter!",
"You can choose to only shuffle from videos uploaded after a specific date by using the '...videos uploaded after date' shuffle filter!",
"You can choose to only shuffle from videos uploaded after a specific other video by using the '...videos after video with ID' shuffle filter!",

// Custom API key
"If you provide a custom YouTube API key, it will be validated first to make sure you can use it with the extension!",
Expand All @@ -77,6 +81,7 @@ export const shufflingHints = [

// Meta/GitHub
"Do you have an idea on how this extension could be improved? Open an issue on GitHub and let me know!",
"Use the handy links located at the bottom of the popup and other pages to immediately view the extension on different stores!",
"If you are enjoying this extension, please consider leaving a review to help others find it!",
"If you want to stay up-to-date with the extension's development, consider starring the GitHub repository!",
"This extension is a hobby project - you can support it by sponsoring me on GitHub or donating on Ko-Fi!",
Expand Down
2 changes: 1 addition & 1 deletion static/html/popup.html
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ <h3 id="channelCustomOptionsHeader">Channel settings</h3>
<!-- Dropdown menu START -->
<select id="channelCustomOptionsDropdown" class="displayInline" title="Choose from one of the provided options in the dropdown to customize your shuffling experience on this channel.">
<option value="allVideosOption" option-width="190px" title="No filters are applied, and a random video from all uploaded videos will be chosen.">all videos on this channel.</option>
<option value="dateOption" option-width="205px" title="Only videos uploaded on or after the chosen date will be considered when shuffling.">videos uploaded since date:</option>
<option value="dateOption" option-width="205px" title="Only videos uploaded on or after the chosen date will be considered when shuffling.">videos uploaded after date:</option>
<option value="videoIdOption" option-width="190px" title="Only videos uploaded on or after the day the video with the given ID was uploaded will be considered when shuffling.">
videos after video with ID:
</option>
Expand Down

0 comments on commit 914f96b

Please sign in to comment.