Commit Graph

88 Commits

Author SHA1 Message Date
constraintAutomaton 001b679183
Stats for nerds (#1867)
* transition duration of 0.5s added to watched videos

* small code reformating

* extra white spaces deleted

* typo in the word transition corrected

* original whitespaces respected

* transition added when hovering end

* video stat components started and properties chosen

* ft-video-stats integraded into the video player for dev and debugging

* using a timer to get video stats and a method to update the statistic every second

* getting statistic from vhs and adaptativeFormat

* frame drop capture

* stats capture in the form of event

* useless comment deleted

* stats render with a for loop in the template

* stats correctly displayed

* overlay stats added

* video stats component deleted

* video stats component deleted inside template video player

* video stats component fully deleted

* modal solution working need more styling and code messy

* lint

* modal working with stats

* keyboard shortcut for stats

* lint fix

* network state is now a string

* new line deleted

* useless whitespace deleted

* package-lock.json remove and ignore

* keyboard shortcut restricted to up arrow

* stats overlay made larger

* align to left corner

* useless formatting of string deleted

* renaming of variable formatedStrats for formattedStats

* keyboard shortcut made into a variable

* lint-fix

* key change for i

* label translated

* whitespace added for gitignore

* lock file not ignored

* videoId stat deleted

* ft-video-player.js, en-US.yaml, fr-FR.yaml: changing percentage stats display

changing the display for percentage stats for the format 'x%' instead of 'xx.xx'

* ft-video-player.js, en-US.yaml, fr-FR.yaml: network state video statistic deleted

* ft-video-player.js: made stats modal background color darker

* ft-video-player.js, en-US.yaml, fr-FR.yaml: video id are now related to the one of youtube

* ft-video-player.js, en-US.yaml, fr-FR.yaml: stats displayed made closet to the youtube implementation

the name are capitalized, the order of display is changed and fps is combined with viewport

* lint-fix

* en-US.yaml, fr-FR.yaml: network state possibilities deleted because not used

* package.json.lock: deleted

* ft-video-player.js: formated_stats renamed for formatted_stats

* lock file deleted

* index.js, ft-video-player.js: handling of right click context menu

via electon ipc bus an event is send to tell the vue component to show the stats modal

* ft-video-player.js, index.js: renaming of video stats display event and definition of it as a variable

* index.js, en-US.yaml: inconsistant capitalization of video statistics label solved

* index.js: pluralized video stats

* ft-video-player.js: fix right click undefined this.player

change the arrow function inside the closure for a function with a bind to this

* ft-video-player.js: handling of the case when this.player is not defined

the property this.stats.display.activated as been added and manage when the to show the stats. In this way in the runtime (it is still refered in the run time but it is capture in an event loop) with dont have to refer to this.player so when it is not defined it doesnt affect the behavior.

* lint fix

* src/renderer/components/ft-video-player/ft-video-player.js: modal.close move into the display event of the statistic context

* lint fix

* src/renderer/components/ft-video-player/ft-video-player.js, static/locales/en-US.yaml, static/locales/fr-FR.yaml: better capitalization of the stats labels

* static/locales/en-US.yaml: fps capitalized

* static/locales/fr-FR.yaml, static/locales/en-US.yaml: capitalized label
2021-11-23 06:34:04 -05:00
J. Lavoie 69a6904dea
Translated using Weblate (French)
Currently translated at 100.0% (527 of 527 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2021-11-09 14:51:48 +01:00
J. Lavoie c98f265fa9
Translated using Weblate (French)
Currently translated at 100.0% (523 of 523 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2021-10-07 11:04:01 +02:00
J. Lavoie b501bc5dc9
Translated using Weblate (French)
Currently translated at 100.0% (522 of 522 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2021-10-06 02:06:19 +02:00
J. Lavoie b5312cc7d1
Translated using Weblate (French)
Currently translated at 100.0% (521 of 521 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2021-09-26 05:38:57 +02:00
Cody Sechelski edf0f0bc93
Added Dracula Theme (#1727)
* Added Dracula Theme
• Added Light and Dark versions of the logo using Dracula Colors
• Added the base theme and Dracula accent colors to the theme.css
• Added the options for the new theme and colors in the theme-settings comp
• Added translations for the theme and color names to all local yaml files that
  already had theme and color information

* fixed some yamls that I broke

* fixed some more yamls that I broke

* fixed an indentation error

* fixed the formating issues. It's back to 2 spaces rather than 4.

* removed package-lock, added back a new line at the end of the .gitignore, tweaked the colors a bit to add more contrast beween the text and backgroud colors in the overflow menu on the video cards., changed the card color to be slightly ligher than the background instead of slightly darker.

* apparently there was a blank line in the package.json file that was removed. Just trying to get this diff out of the pr

* apparently there was a blank line in the package.json file that was removed. Just trying to get this diff out of the pr

* fixed formating issues that I created in the theme.css. Converted my new code to use double quotes and uppercase hex codes to match existing formatting.

* fixed formating issues that I created in the theme.css. Converted my new code to use double quotes and uppercase hex codes to match existing formatting.

* fixed formating issues that I created in the theme.css. Converted my new code to use double quotes and uppercase hex codes to match existing formatting.

* resoliving conflicts in a local file

* added contract to all of the dracula primary colors. Added contrast for the main dracula theme's secondary and teriary text colors
2021-09-22 18:26:14 -04:00
J. Lavoie 4cbafa5865
Translated using Weblate (French)
Currently translated at 100.0% (513 of 513 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2021-09-18 04:36:30 +02:00
Dragibus Noir 45e6e592cf
Translated using Weblate (French)
Currently translated at 99.6% (511 of 513 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2021-09-17 15:37:54 +02:00
Dragibus Noir b72ba3d4d1
Translated using Weblate (French)
Currently translated at 100.0% (506 of 506 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2021-09-06 20:35:38 +02:00
Dragibus Noir 974b4dbb4a
Translated using Weblate (French)
Currently translated at 100.0% (505 of 505 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2021-08-30 17:35:43 +02:00
J. Lavoie 2c486bd50c
Translated using Weblate (French)
Currently translated at 100.0% (505 of 505 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2021-08-30 08:34:27 +02:00
Dragibus Noir 0331c9f273
Translated using Weblate (French)
Currently translated at 100.0% (505 of 505 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2021-08-29 19:35:05 +02:00
J. Lavoie 16e6b0c279
Translated using Weblate (French)
Currently translated at 100.0% (505 of 505 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2021-08-29 17:35:07 +02:00
J. Lavoie 369938627e
Translated using Weblate (French)
Currently translated at 100.0% (505 of 505 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2021-08-29 14:31:57 +02:00
Dragibus Noir ae80bfb6a2
Translated using Weblate (French)
Currently translated at 100.0% (505 of 505 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2021-08-25 02:45:02 +02:00
ChunkyProgrammer 011ee17711
[Feature] Add trending pages for music, gaming & movies (#1483)
* Add other trending pages

* Add better formatting

* fixed trending cache

* Fix Trending page title

Changes in PR #1321 make this necessary

* update locale files

* add accessibility improvements

accessibility improvements

* focus tab on reload

Co-authored-by: Preston <freetubeapp@protonmail.com>
2021-08-21 23:08:38 +02:00
Dragibus Noir 341e58a8c9
Translated using Weblate (French)
Currently translated at 100.0% (499 of 499 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2021-08-18 20:32:33 +02:00
John Doe 30d19de351
Translated using Weblate (French)
Currently translated at 99.7% (498 of 499 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2021-08-08 16:34:31 +02:00
Dragibus Noir 870f4ca389
Translated using Weblate (French)
Currently translated at 100.0% (498 of 498 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2021-07-22 00:34:27 +02:00
Dragibus Noir 136aca3f66
Translated using Weblate (French)
Currently translated at 100.0% (496 of 496 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2021-07-03 19:32:33 +02:00
Dragibus Noir 48faf47dc3
Translated using Weblate (French)
Currently translated at 100.0% (489 of 489 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2021-06-19 09:35:42 +02:00
Dragibus Noir 29ca006142
Translated using Weblate (French)
Currently translated at 100.0% (489 of 489 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2021-06-16 05:34:23 +02:00
Dragibus Noir 5ec5ef300f
Translated using Weblate (French)
Currently translated at 100.0% (489 of 489 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2021-06-15 13:34:02 +02:00
Dragibus Noir 85a7e99862
Translated using Weblate (French)
Currently translated at 100.0% (489 of 489 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2021-06-15 03:35:59 +02:00
Dragibus Noir 69237c0f34
Translated using Weblate (French)
Currently translated at 96.7% (473 of 489 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2021-06-14 02:39:15 +02:00
Dragibus Noir d22f703aa2
Translated using Weblate (French)
Currently translated at 100.0% (468 of 468 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2021-05-29 23:33:11 +02:00
Dragibus Noir 8f850a3f72
Translated using Weblate (French)
Currently translated at 100.0% (467 of 467 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2021-05-26 23:33:54 +02:00
Dragibus Noir 7e4cae1f7a
Translated using Weblate (French)
Currently translated at 100.0% (466 of 466 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2021-05-17 03:35:17 +02:00
Dragibus Noir 2735ec1e5b
Translated using Weblate (French)
Currently translated at 100.0% (455 of 455 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2021-05-07 16:33:30 +02:00
Dragibus Noir 489cb5faad
Translated using Weblate (French)
Currently translated at 100.0% (454 of 454 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2021-05-01 02:37:55 +02:00
Dragibus Noir c23a5f6274
Translated using Weblate (French)
Currently translated at 100.0% (453 of 453 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2021-04-29 22:32:09 +02:00
Dragibus Noir bb61ae0201
Translated using Weblate (French)
Currently translated at 100.0% (453 of 453 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2021-04-25 19:32:07 +02:00
Dragibus Noir 388b80d809
Translated using Weblate (French)
Currently translated at 100.0% (451 of 451 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2021-04-11 00:26:57 +02:00
J. Lavoie f9e5ffa8de
Translated using Weblate (French)
Currently translated at 100.0% (448 of 448 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2021-03-27 04:29:42 +01:00
Dragibus Noir 014eee7990
Translated using Weblate (French)
Currently translated at 100.0% (448 of 448 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2021-03-07 02:50:45 +01:00
Dragibus Noir 081eda6ff0
Translated using Weblate (French)
Currently translated at 100.0% (444 of 444 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2021-01-22 22:32:25 +01:00
Dragibus Noir 5af086bb6f
Translated using Weblate (French)
Currently translated at 100.0% (443 of 443 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2021-01-22 00:32:13 +01:00
Dragibus Noir d677b1f1b1
Translated using Weblate (French)
Currently translated at 100.0% (442 of 442 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2021-01-16 03:32:11 +01:00
Dragibus Noir 013af12d00
Translated using Weblate (French)
Currently translated at 100.0% (442 of 442 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2021-01-16 01:35:48 +01:00
Dragibus Noir 92d95e38fc
Translated using Weblate (French)
Currently translated at 96.8% (428 of 442 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2021-01-15 19:32:29 +01:00
Dragibus Noir d021981a2a
Translated using Weblate (French)
Currently translated at 100.0% (430 of 430 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2021-01-14 23:32:11 +01:00
Dragibus Noir 8405ef4d1f
Translated using Weblate (French)
Currently translated at 100.0% (427 of 427 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2021-01-14 05:32:10 +01:00
Dragibus Noir 68484ac4f4
Translated using Weblate (French)
Currently translated at 100.0% (427 of 427 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2021-01-14 01:35:12 +01:00
Dragibus Noir a8f3a43513
Translated using Weblate (French)
Currently translated at 100.0% (418 of 418 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2021-01-10 21:32:08 +01:00
J. Lavoie 9ab37e3768
Translated using Weblate (French)
Currently translated at 100.0% (417 of 417 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2020-12-30 05:29:14 +01:00
Dragibus Noir 9a110c208b
Translated using Weblate (French)
Currently translated at 100.0% (417 of 417 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2020-12-07 23:29:08 +01:00
J. Lavoie ae6136f414
Translated using Weblate (French)
Currently translated at 100.0% (417 of 417 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2020-11-28 17:29:20 +01:00
Dragibus Noir d5b14adc45
Translated using Weblate (French)
Currently translated at 100.0% (417 of 417 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2020-11-03 01:26:47 +01:00
Dragibus Noir bbde5c3ec1
Translated using Weblate (French)
Currently translated at 100.0% (415 of 415 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2020-10-26 04:26:46 +01:00
Dragibus Noir 09e6889530
Translated using Weblate (French)
Currently translated at 100.0% (415 of 415 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2020-10-25 13:19:53 +01:00