Commit Graph

26 Commits

Author SHA1 Message Date
ChunkyProgrammer 7822f7423e
Remove console.logs (#2606)
* remove console.logs

* use 'off' instead of 0
2022-09-23 09:04:10 +08:00
Emma 25d954f990
Cleaning up calls to the Clipboard API (#2597)
* Added a copyToClipboard function to utils

This should make it easier to handle errors which
result from the clipboard API (which are more likely
in web builds). This should also make it easier to handle
copying to clipboard in cordova builds by abstracting the
platform specific code out of the views and moving it
all into one function.

* Moved the $t function out of utils

* Removing locale snippets I was using and am not now

* Added function comment to copyToClipboard

* Adding some missing references

* Adding an additional check

* Re-reviewing my changes, I found a mistake

* Update src/renderer/store/modules/utils.js

Co-authored-by: absidue <48293849+absidue@users.noreply.github.com>

* Update static/locales/en-US.yaml

Co-authored-by: ChunkyProgrammer <78101139+ChunkyProgrammer@users.noreply.github.com>

* Reverting the language back to what it was previously

* Switching to using i18n.t()

instead of handling the translations myself.
Also, it looks like eslint removed a tab.

Co-authored-by: absidue <48293849+absidue@users.noreply.github.com>
Co-authored-by: ChunkyProgrammer <78101139+ChunkyProgrammer@users.noreply.github.com>
2022-09-21 15:00:21 +08:00
absidue f2d2827e0f
Fix some web issues and cleanup (#2582) 2022-09-17 08:19:31 +00:00
absidue 62829b736a
Electron variable at build time instead of at runtime (#2574) 2022-09-15 08:59:09 +00:00
absidue 0146a63ce6
Add support for next/previous/pause/resume global hotkeys/actions (#2239) 2022-05-23 09:48:49 +08:00
PrestonN 2d7cd466bc Remove logic for getting the next page in the Invidious API as it isn't needed anymore 2021-11-11 16:29:37 -05:00
ChunkyProgrammer 27617ccc40
[Fix] Freetube does not play the next video in a playlist when using the Invidious API (#1488)
* fix playlists for invidious

* Code clean up + bug fix

Co-authored-by: Preston <freetubeapp@protonmail.com>
2021-08-24 20:52:30 +00:00
Svallinn 6ccc7e9fa4
Refactor: Swap `dispatch`/`commit` calls with mapped actions/mutations 2021-05-22 00:56:32 +01:00
Preston cb8cf1ef43 Start progress on fixing Search and Playlist for local API 2020-12-13 23:17:43 -05:00
Preston 895906e2f6 Fix playlist watch video playlist information and fix recommended videos list 2020-11-28 19:44:17 -05:00
Preston 37685de856 Remove private and deleted videos from watch playlist view 2020-09-22 16:56:19 -04:00
Preston d029c6161b Fix playlist view when private videos are in the list 2020-09-21 18:32:42 -04:00
Preston dea4eba109 Fix and add Locales. Add Reverse playlist functionality 2020-09-09 18:58:35 -04:00
Preston 160eae91c5 Fix playlist user links, fix mini playlist card in watch page. Update dependencies. 2020-08-27 17:40:01 -04:00
Preston 99524f3556 Add Locale Strings to Channel and Search pages 2020-08-08 23:15:00 -04:00
Preston 4a82822c69 Remove console logs 2020-08-08 18:08:50 -04:00
Preston 07f35da5be Actually fix the playlist navigation 2020-08-08 18:08:22 -04:00
Preston 49342dd75b Fix playlist navigation logic 2020-08-08 17:56:05 -04:00
Preston 233b009994 Remove console logs 2020-08-07 22:17:09 -04:00
Preston 5e1cdc8ee8 Update Dependencies and Add More Locales Strings to App 2020-08-07 22:16:06 -04:00
Preston f2d1f5afb9 Implement better playlist navigation logic 2020-08-06 23:08:27 -04:00
Preston 998f5c2688 Add a few toast messages 2020-08-04 23:44:34 -04:00
Preston 4e92b378da Check for and remove all trailing commas 2020-08-04 22:18:39 -04:00
Preston 275b6a0c12 Add Next and Previous buttons to playlist in watch page 2020-06-03 21:33:47 -04:00
Preston ca109be037 Fix playlists autoplay function 2020-05-29 22:15:03 -04:00
Preston 8980dc74d2 Add full playlist functionality (Shuffle, loop, autoplay) 2020-05-17 16:12:58 -04:00