Commit Graph

5433 Commits

Author SHA1 Message Date
Jason c371f6035d
Pastel & Hot Pink Themes (#3937)
* Add pastel and hot pink base configuration & labels

* Update Author Background Color to be based on --secondary-card-bg-color instead of --scrollbar-color

This unneeded dependency on the scrollbar color here resulted in the Author Background text blending into its background on the new Hot Pink theme. This change does not tangibly affect any other theme, whose scrollbar colors are incidentally similar to the secondary-card-bg-color, as this color is already being used for tags on the Channel About tab.

* Implement Pastel Pink and Hot Pink styling

Note that Hot Pink styling overwrites the primary and secondary color themes to maintain accessible color contrasts throughout FreeTube. It also updates the underline styling to match its aesthetic. The scrollbar-text-color-hover and side-nav-active-text-color colors are added for allow for the text and icon to both change on hover. This allows for more accessible hover and active styling.

* Add textWhiteSmall and iconWhiteSmall to repo; add FT pink icon themes

The textWhiteSmall was actually already sized exactly the same as the other small text files, so I just changed the name to reflect that fact.

* Add side-nav-hover-text-color and side-nav-active-text-color throughout FT

* Update Hot Pink theme accent-color-active

* Add side-nav hover-text and active-text styling to ft-icon-button

* Fix incorrect variable name

* Disable primary & secondary color theme controls when hot pink theme is enabled
2023-09-01 09:17:46 -04:00
Ramin Zare 6475ae3578
Translated using Weblate (Persian)
Currently translated at 98.8% (704 of 712 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fa/
2023-09-01 14:54:13 +02:00
Saeid Eslami d5155291b8
Translated using Weblate (Persian)
Currently translated at 98.8% (704 of 712 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fa/
2023-09-01 14:54:12 +02:00
Yaron Shahrabani 5501991421
Translated using Weblate (Hebrew)
Currently translated at 100.0% (712 of 712 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/he/
2023-09-01 11:54:27 +02:00
Rex_sa 38b52ea886
Translated using Weblate (Arabic)
Currently translated at 100.0% (712 of 712 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ar/
2023-09-01 09:51:55 +02:00
Ihor Hordiichuk f0d5e4d469
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (712 of 712 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/uk/
2023-09-01 02:46:06 +02:00
Eric 03b6e083a6
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (712 of 712 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/zh_Hans/
2023-09-01 02:46:04 +02:00
Eric 4694ff6ace
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (712 of 712 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/zh_Hans/
2023-09-01 00:56:14 +02:00
Fjuro f98cca388b
Translated using Weblate (Czech)
Currently translated at 100.0% (712 of 712 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/cs/
2023-08-31 23:56:36 +02:00
Priit Jõerüüt 10fe666c45
Translated using Weblate (Estonian)
Currently translated at 100.0% (712 of 712 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/et/
2023-08-31 20:54:26 +02:00
Oğuz Ersen fdefcb28cb
Translated using Weblate (Turkish)
Currently translated at 100.0% (712 of 712 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/tr/
2023-08-31 19:55:34 +02:00
David Frederick Batt 884ba91115
Add option to change thumbnail appearance (#3890)
* Add option to blur thumbnails

* Add dropdown for different thumbnail display modes

* Add dropdown for different thumbnail display modes

* Fix thumbnail display mode setting not appearing due to incorrect localization

* Rename thumbnail display mode option 'Not Loaded' to 'Hidden'

* Fix thumbnail display mode 'hidden' not working

* Fix thumbnail display mode not applying to playlists

Makes thumbnail display mode setting also affect thumbnails in ft-list-playlist and playlist-info.

* Remove unnecessary styling

Co-authored-by: PikachuEXE <pikachuexe@gmail.com>

* Make hidden thumbnails toggleable from thumbnail preferences

* Replace thumbnail placeholder png with svg

* Fix thumbnail preference 'hidden' not applying to ft-list-playlist

* Fix placeholder svg breaking playlist layout

* Refactor ft-list-video

---------

Co-authored-by: PikachuEXE <pikachuexe@gmail.com>
2023-08-31 11:18:52 -04:00
efb4f5ff-1298-471a-8973-3d47447115dc 1bcbb38065
Bug issue template - update installation methods (#3974)
* Update labels in issue labeler

* Update installation methods and add description

* Update .github/ISSUE_TEMPLATE/bug_report.yaml

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

---------

Co-authored-by: absidue <48293849+absidue@users.noreply.github.com>
2023-08-31 22:48:09 +08:00
Luna Jernberg 3d4d07f080
Translated using Weblate (Swedish)
Currently translated at 100.0% (710 of 710 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/sv/
2023-08-31 12:52:39 +02:00
Việt Tiến c73bd2b282
Translated using Weblate (Vietnamese)
Currently translated at 92.8% (659 of 710 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/vi/
2023-08-31 04:53:24 +02:00
Ihor Hordiichuk 01b47a8fc6
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (710 of 710 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/uk/
2023-08-30 23:55:56 +02:00
Priit Jõerüüt 85e2ce9b00
Translated using Weblate (Estonian)
Currently translated at 100.0% (710 of 710 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/et/
2023-08-30 23:55:55 +02:00
Oğuz Ersen 4a41f44222
Translated using Weblate (Turkish)
Currently translated at 100.0% (710 of 710 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/tr/
2023-08-30 23:55:54 +02:00
Alexthegib aba1a563d3
Translated using Weblate (Portuguese)
Currently translated at 100.0% (710 of 710 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/pt/
2023-08-30 23:55:53 +02:00
Grzegorz Wójcicki 303f63e891
Translated using Weblate (Polish)
Currently translated at 100.0% (710 of 710 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/pl/
2023-08-30 23:55:52 +02:00
0246_Hoàng Tiến Đạt ed237bd527
Translated using Weblate (Vietnamese)
Currently translated at 92.6% (658 of 710 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/vi/
2023-08-30 23:55:51 +02:00
Rex_sa ca49af68cf
Translated using Weblate (Arabic)
Currently translated at 100.0% (710 of 710 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ar/
2023-08-30 18:55:23 +02:00
gallegonovato f559ce1639
Translated using Weblate (Spanish)
Currently translated at 100.0% (710 of 710 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/es/
2023-08-30 15:58:26 +02:00
Saeid Eslami a424aed7f7
Translated using Weblate (Persian)
Currently translated at 77.1% (548 of 710 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fa/
2023-08-30 10:53:17 +02:00
Saeid Eslami 55160d5fe9
Translated using Weblate (Persian)
Currently translated at 57.6% (409 of 710 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fa/
2023-08-30 08:02:26 +02:00
Jeff Huang 4c3a83956e
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (710 of 710 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/zh_Hant/
2023-08-30 08:02:25 +02:00
PikachuEXE 621cc27938
! Fix watch page layout when theatre mode enabled and sidebar "hidden" (#3931) 2023-08-30 03:13:11 +00:00
Massimo Pissarello e11a55a1e2
Translated using Weblate (Italian)
Currently translated at 100.0% (710 of 710 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/it/
2023-08-30 05:00:55 +02:00
Eric f72f1dc17c
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (710 of 710 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/zh_Hans/
2023-08-30 03:57:36 +02:00
Benjababe 0b44548331
Include hide comment photos setting (#3939)
* Added hide comment photos option into settings

* Hide comment photos if setting is enabled

* include hidden photos for comment replies

* Always show video uploader photo in comments

* reverted en_GB changes

* Updated settings to "Hide Profile Pictures in Comments"
2023-08-30 00:08:55 +00:00
Saeid Eslami 11a7a36cd1
Translated using Weblate (Persian)
Currently translated at 37.3% (265 of 709 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fa/
2023-08-30 00:56:08 +02:00
Темак 5e0cdde403
Translated using Weblate (Russian)
Currently translated at 100.0% (709 of 709 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ru/
2023-08-29 18:55:54 +02:00
PikachuEXE 1a6c9e98c9
Make constants imported from @fortawesome/free-solid-svg-icons ordered by name again (#3958)
* $ Make constants imported from @fortawesome/free-solid-svg-icons ordered by name again

* ~ Add code comment about constant list ordering
2023-08-29 05:06:42 +00:00
efb4f5ff-1298-471a-8973-3d47447115dc 692a3c7ca0
Replace labeler workflow with GH labeler (#3966)
* Rename labeler.yml to pr-labeler.yml

* set config path to point to renamed labeler

* Create label-issue.yml

* Create issue-labeler.yml

* Delete autoLabelIssue.yaml

* Add all the other labels

* fix certain labels not being applied
2023-08-29 00:33:12 -04:00
Jason c5be5e5700
Fix HTML styling (e.g., hashtag links) showing up as raw HTML in descriptions (#3946) 2023-08-29 00:15:21 +02:00
Jason ce3de2bb07
Make certain controls non-selectable / non-draggable - Part II (#3957)
* This is due to my previous change which included the use of a poorly researched 'user-select: all' to unset a 'user-select'. The problem is that all does something else altogether: 'The content of the element shall be selected atomically: If a selection would contain part of the element, then the selection must contain the entire element including all its descendants. If a double-click or context-click occurred in sub-elements, the highest ancestor with this value will be selected.' Source: https://developer.mozilla.org/en-US/docs/Web/CSS/user-select

* Add user-select:none to one more area

* Remove extraneous additional dash

Co-authored-by: LQ2' <lq2.apostrophe@gmail.com>

---------

Co-authored-by: LQ2' <lq2.apostrophe@gmail.com>
2023-08-29 00:14:35 +02:00
Ettore Atalan 7c512113bc
Translated using Weblate (German)
Currently translated at 100.0% (709 of 709 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/de/
2023-08-28 21:52:48 +02:00
Jason c32b84c478
Show video list buttons on hover or focus (#3954)
* Implement external player icon and favorites icon only appearing after hover/focus

As a way of cleaning up the look of videos, only shows the video icons on hover or focus. This is for all purposes a very 'free' change that I would opine makes FreeTube appear much cleaner.

* Implement video list settings button only appearing on hover/focus

Same idea as for the favorites & external player icons; much cleaner look without any sizable 'cost' to boot.

* Ensure video list buttons always show on devices without hover (e.g., mobile)

* Remove user-select lines (already in another PR) & one extraneous line
2023-08-28 11:29:27 -07:00
dependabot[bot] 0b6edd625d
Bump @babel/eslint-parser from 7.22.10 to 7.22.11 (#3962)
Bumps [@babel/eslint-parser](https://github.com/babel/babel/tree/HEAD/eslint/babel-eslint-parser) from 7.22.10 to 7.22.11.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.22.11/eslint/babel-eslint-parser)

---
updated-dependencies:
- dependency-name: "@babel/eslint-parser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-28 08:50:44 -07:00
dependabot[bot] dddc244e8d
Bump youtubei.js from 6.0.0 to 6.1.0 (#3965)
Bumps [youtubei.js](https://github.com/LuanRT/YouTube.js) from 6.0.0 to 6.1.0.
- [Release notes](https://github.com/LuanRT/YouTube.js/releases)
- [Changelog](https://github.com/LuanRT/YouTube.js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/LuanRT/YouTube.js/compare/v6.0.0...v6.1.0)

---
updated-dependencies:
- dependency-name: youtubei.js
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-28 15:44:32 +00:00
dependabot[bot] 570af296bf
Bump eslint-plugin-n from 16.0.1 to 16.0.2 (#3964)
Bumps [eslint-plugin-n](https://github.com/eslint-community/eslint-plugin-n) from 16.0.1 to 16.0.2.
- [Release notes](https://github.com/eslint-community/eslint-plugin-n/releases)
- [Commits](https://github.com/eslint-community/eslint-plugin-n/compare/16.0.1...16.0.2)

---
updated-dependencies:
- dependency-name: eslint-plugin-n
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-28 13:27:25 +00:00
dependabot[bot] 079cef0758
Bump eslint from 8.47.0 to 8.48.0 (#3963)
Bumps [eslint](https://github.com/eslint/eslint) from 8.47.0 to 8.48.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.47.0...v8.48.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-28 13:27:13 +00:00
dependabot[bot] d60672df79
Bump marked from 7.0.4 to 7.0.5 (#3961)
Bumps [marked](https://github.com/markedjs/marked) from 7.0.4 to 7.0.5.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json)
- [Commits](https://github.com/markedjs/marked/compare/v7.0.4...v7.0.5)

---
updated-dependencies:
- dependency-name: marked
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-28 13:26:47 +00:00
dependabot[bot] 5524d30afa
Bump @babel/core from 7.22.10 to 7.22.11 (#3959)
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.22.10 to 7.22.11.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.22.11/packages/babel-core)

---
updated-dependencies:
- dependency-name: "@babel/core"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-28 13:26:34 +00:00
Jason 665da2c1c3
Make certain controls non-selectable / non-draggable (#3947)
* Make settings heading text unselectable

I often encounter the issue of accidentally selecting/highlighting the settings heading text, which ends up highlighting all of the text inside of that settings tab. This is an unpleasant appearance that I have to click to remove. This change removes this issue altogether.

* Switch all instances of user-select to be only user-select and -webkit-user-select

* Make side-nav labels unselectable

* Make side-nav and channels un-draggable

* Remove selection from ft-flex-box, ft-input placeholders, and profile icons
2023-08-27 08:46:19 +08:00
Benjababe 08f8b2768a
Add updated video resolution to auto selector (#3935)
* CSS updates

* Include resolution to 'auto' in quality display

* Include auto info in video statistics

* Value integrity check in CreateDashQualitySelector
2023-08-26 18:20:55 +02:00
Vinit Jha 4c3f369aca
Fix Save icon blocking issue (#3951)
* Fix Save icon blocking issue

* Fixed favorite button style
2023-08-26 09:07:04 -07:00
PikachuEXE 16aee6e094
* Update URL parser to recognize youtube.com/live/xxxxxxx (#3930) 2023-08-26 15:58:23 +00:00
Fjuro 356c4a07c2
Translated using Weblate (Czech)
Currently translated at 100.0% (709 of 709 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/cs/
2023-08-26 16:55:40 +02:00
Alexthegib 1896197ee0
Translated using Weblate (Portuguese)
Currently translated at 100.0% (709 of 709 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/pt/
2023-08-26 16:55:39 +02:00