Commit Graph

7226 Commits

Author SHA1 Message Date
Jason Henriquez
bb3be09122 Clean up External Player Default Viewing Mode link template logic 2024-10-23 21:10:49 -05:00
Jason Henriquez
5a54142c70 Update to use expand icon instead 2024-10-23 20:36:14 -05:00
Jason Henriquez
d57111aea6 Update to trigger setFullWindow event when starting in fullwindow 2024-10-23 08:02:49 -05:00
Jason
5ca47a6349
Update src/renderer/components/player-settings/player-settings.js
Co-authored-by: absidue <48293849+absidue@users.noreply.github.com>
2024-10-23 07:30:46 -05:00
Jason Henriquez
937935f06a Revert Enable Theater Mode by Default removal
Theatre mode is not mutually exclusive with the viewing mode and thus should not be included here. This also saves us the work of having to update the default viewing mode to theatre mode on first load for 1-2 releases that we would have otherwise needed.
2024-10-20 20:03:05 -05:00
Jason Henriquez
0347336647 Fix fullscreen issue with icons by calling requestFullscreen on videoContainer element 2024-10-20 17:52:01 -05:00
Jason Henriquez
db27c7b923 Disable & hide 'External Player' default viewing mode when no external player is set
This will prevent issues with users who accidentally change this setting and report that clicking on videos results in errors.
2024-10-20 13:11:39 -05:00
Jason Henriquez
2f1986ca53 Implement external player default viewing mode
Current limitations: does not work for the search bar, randomly encountered YT video links (e.g., in descriptions), or the video thumbnail link in the playlist list view.
2024-10-20 13:11:39 -05:00
Jason Henriquez
b64d9896d4 Implement Default Viewing Mode setting 2024-10-20 13:11:39 -05:00
Jason Henriquez
e95426d193 Have fullscreen and PiP be re-requested on autoplay when they are open 2024-10-20 13:11:30 -05:00
Jason Henriquez
b8c6a40a36 MHave fullscreen persist when videos autoplay 2024-10-19 21:20:40 -05:00
Preston
74dd369490
Run linter when PRs are made against RC branches 2024-10-16 01:58:00 +00:00
KamilAhmedov
c36a71a0ba
Translated using Weblate (Azerbaijani)
Currently translated at 31.6% (281 of 888 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/az/
2024-10-16 01:15:48 +02:00
Cloud Esp
2ced1709bb
Translated using Weblate (French)
Currently translated at 100.0% (888 of 888 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2024-10-15 12:15:47 +02:00
Priit Jõerüüt
8492051992
Translated using Weblate (Estonian)
Currently translated at 100.0% (888 of 888 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/et/
2024-10-14 22:16:30 +02:00
dependabot[bot]
d4f93fcf9a
Bump the babel group with 3 updates (#5858)
Bumps the babel group with 3 updates: [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core), [@babel/eslint-parser](https://github.com/babel/babel/tree/HEAD/eslint/babel-eslint-parser) and [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env).


Updates `@babel/core` from 7.25.7 to 7.25.8
- [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.25.8/packages/babel-core)

Updates `@babel/eslint-parser` from 7.25.7 to 7.25.8
- [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.25.8/eslint/babel-eslint-parser)

Updates `@babel/preset-env` from 7.25.7 to 7.25.8
- [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.25.8/packages/babel-preset-env)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-14 12:36:29 -04:00
dependabot[bot]
455e16e0cd
Bump electron-builder from 25.1.7 to 25.1.8 (#5862)
Bumps [electron-builder](https://github.com/electron-userland/electron-builder/tree/HEAD/packages/electron-builder) from 25.1.7 to 25.1.8.
- [Release notes](https://github.com/electron-userland/electron-builder/releases)
- [Changelog](https://github.com/electron-userland/electron-builder/blob/master/packages/electron-builder/CHANGELOG.md)
- [Commits](https://github.com/electron-userland/electron-builder/commits/electron-builder@25.1.8/packages/electron-builder)

---
updated-dependencies:
- dependency-name: electron-builder
  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>
2024-10-14 16:08:14 +00:00
dependabot[bot]
12118373ed
Bump stylelint from 16.9.0 to 16.10.0 in the stylelint group (#5860)
Bumps the stylelint group with 1 update: [stylelint](https://github.com/stylelint/stylelint).


Updates `stylelint` from 16.9.0 to 16.10.0
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/16.9.0...16.10.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-14 14:35:51 +00:00
dependabot[bot]
0e9321c12b
Bump the eslint group with 2 updates (#5859)
Bumps the eslint group with 2 updates: [eslint-plugin-n](https://github.com/eslint-community/eslint-plugin-n) and [eslint-plugin-vue](https://github.com/vuejs/eslint-plugin-vue).


Updates `eslint-plugin-n` from 17.10.3 to 17.11.1
- [Release notes](https://github.com/eslint-community/eslint-plugin-n/releases)
- [Changelog](https://github.com/eslint-community/eslint-plugin-n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint-community/eslint-plugin-n/compare/v17.10.3...v17.11.1)

Updates `eslint-plugin-vue` from 9.28.0 to 9.29.0
- [Release notes](https://github.com/vuejs/eslint-plugin-vue/releases)
- [Commits](https://github.com/vuejs/eslint-plugin-vue/compare/v9.28.0...v9.29.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-14 16:26:28 +02:00
dependabot[bot]
40ccec801f
Bump globals from 15.10.0 to 15.11.0 (#5861)
Bumps [globals](https://github.com/sindresorhus/globals) from 15.10.0 to 15.11.0.
- [Release notes](https://github.com/sindresorhus/globals/releases)
- [Commits](https://github.com/sindresorhus/globals/compare/v15.10.0...v15.11.0)

---
updated-dependencies:
- dependency-name: globals
  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>
2024-10-14 16:26:00 +02:00
dependabot[bot]
9dfbbb067c
Bump sass from 1.79.4 to 1.79.5 (#5863)
Bumps [sass](https://github.com/sass/dart-sass) from 1.79.4 to 1.79.5.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.79.4...1.79.5)

---
updated-dependencies:
- dependency-name: sass
  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>
2024-10-14 16:25:00 +02:00
dependabot[bot]
626f022202
Bump electron from 32.1.2 to 32.2.0 (#5864)
Bumps [electron](https://github.com/electron/electron) from 32.1.2 to 32.2.0.
- [Release notes](https://github.com/electron/electron/releases)
- [Changelog](https://github.com/electron/electron/blob/main/docs/breaking-changes.md)
- [Commits](https://github.com/electron/electron/compare/v32.1.2...v32.2.0)

---
updated-dependencies:
- dependency-name: electron
  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>
2024-10-14 16:23:43 +02:00
Sveinn í Felli
7d0340c409
Translated using Weblate (Icelandic)
Currently translated at 99.2% (881 of 888 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/is/
2024-10-14 12:15:55 +02:00
Yosefario Dev
d2e212d49a
Translated using Weblate (Russian)
Currently translated at 100.0% (888 of 888 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ru/
2024-10-14 12:15:54 +02:00
Yaron Shahrabani
6443cdbdae
Translated using Weblate (Hebrew)
Currently translated at 99.8% (887 of 888 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/he/
2024-10-14 09:16:21 +02:00
Jeff Huang
9554a0a293
Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 100.0% (888 of 888 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/zh_Hant/
2024-10-14 07:14:20 +02:00
Massimo Pissarello
5730e9319f
Translated using Weblate (Italian)
Currently translated at 100.0% (888 of 888 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/it/
2024-10-14 04:15:41 +02:00
大王叫我来巡山
0528852473
Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 100.0% (888 of 888 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/zh_Hans/
2024-10-14 04:15:40 +02:00
NEXI
dc4c56a3b6
Translated using Weblate (Serbian)
Currently translated at 100.0% (888 of 888 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/sr/
2024-10-13 22:16:27 +02:00
Fjuro
1527f2b70b
Translated using Weblate (Czech)
Currently translated at 100.0% (888 of 888 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/cs/
2024-10-13 20:16:20 +02:00
Riki Shinozaki
ab59b40389
Translated using Weblate (Japanese)
Currently translated at 100.0% (888 of 888 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ja/
2024-10-13 20:16:19 +02:00
befag74614
7db25b8e74
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (888 of 888 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/pt_BR/
2024-10-13 16:15:38 +00:00
Rusi Dimitrov
ddb5f9b931
Translated using Weblate (Bulgarian)
Currently translated at 100.0% (888 of 888 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/bg/
2024-10-13 16:12:33 +02:00
Yaron Shahrabani
a1250f255b
Translated using Weblate (Hebrew)
Currently translated at 98.9% (879 of 888 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/he/
2024-10-13 13:16:22 +02:00
gallegonovato
a9f2512d2b
Translated using Weblate (Spanish)
Currently translated at 100.0% (888 of 888 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/es/
2024-10-13 13:16:21 +02:00
summoner001
9d7e1b6216
Translated using Weblate (Hungarian)
Currently translated at 100.0% (888 of 888 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/hu/
2024-10-13 09:15:49 +00:00
Oğuz Ersen
11ba6c87f4
Translated using Weblate (Turkish)
Currently translated at 100.0% (888 of 888 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/tr/
2024-10-13 09:15:48 +00:00
Markus Gaugg
4e9d1432da
Translated using Weblate (German)
Currently translated at 100.0% (888 of 888 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/de/
2024-10-13 09:15:47 +00:00
Oğuz Ersen
be9a931bb3
Translated using Weblate (Turkish)
Currently translated at 98.3% (873 of 888 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/tr/
2024-10-13 09:20:08 +02:00
Jason
98df210806
Settings menu & UX improvements (#5029)
* Implement settings section sorting

* Make IS_ELECTRON property used directly

* Implement settings menu with icons

* Implement short labels and fallback to longer label when translation doesn't exist

* Implement dynamic scroll-based underlining of active section

* Ensure General Settings is always first, ignoring sorting

Solving the problem of preventing 'jumping around' when changing locales with alphabetical sorting is hard. This problem is easily solved by stickying general settings to the top of the list unconditionally. This is in line with ChunkyProgrammer's initial assessment of how to improve the settings order in https://github.com/FreeTubeApp/FreeTube/issues/1739, albeit not also moving Theme Settings to the top for the time being. The rationale from a functional level is that General Settings is a hub. Even when you change languages, change sort order, or what have you, General Settings is right at the top. I don't imagine we need to update the label of the setting, as I think this relationship is quite intuitive.

* Styling & documentation improvements; remove problematized Hot Pink link underline removal experiment

* Implement bare minimum mobile styling

* Increase link padding

* Fix underline to be equal on both sides

* Update to have first section active by default

* Make constant for 'active' class name

* Replace proxy icon with more fitting one

* Move shortTitle logic

* Update scrolling logic to not use anchor links

* Implement mobile view for Settings Menu

* Replace rounded corners and move section titles to the interior

* Update font sizes and breakpoints to work for all supported devices & languages

* Update as per review comments

* Make class-specific constants declared in file

* Update settings menu link sizing to be dynamic to better accommodate mobile/tablet devices

* Focus active menu on mobile close

* Replace shortTitle with title, & replace EN-US labels with shorter forms

* Update menu font size for mobile devices

* Focus section heading on navigating to it in desktop view

---------

Co-authored-by: Jason <84899178+jasonhenriquez@users.noreply.github.com>
2024-10-13 09:16:00 +02:00
Priit Jõerüüt
70a1be141f
Translated using Weblate (Estonian)
Currently translated at 100.0% (887 of 887 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/et/
2024-10-12 22:16:17 +00:00
befag74614
738c67e913
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (887 of 887 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/pt_BR/
2024-10-12 17:15:38 +02:00
summoner001
bc80ec2961
Translated using Weblate (Hungarian)
Currently translated at 100.0% (887 of 887 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/hu/
2024-10-12 10:15:37 +02:00
Cloud Esp
f8d2655440
Translated using Weblate (French)
Currently translated at 100.0% (887 of 887 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2024-10-12 06:15:41 +02:00
大王叫我来巡山
c2b51dbd17
Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 100.0% (887 of 887 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/zh_Hans/
2024-10-12 06:15:40 +02:00
NEXI
cbd41abf75
Translated using Weblate (Serbian)
Currently translated at 100.0% (887 of 887 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/sr/
2024-10-12 04:16:32 +02:00
Massimo Pissarello
87d53f00ea
Translated using Weblate (Italian)
Currently translated at 100.0% (887 of 887 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/it/
2024-10-12 04:16:31 +02:00
J. Lavoie
a88b441ba9
Translated using Weblate (English (United Kingdom))
Currently translated at 100.0% (887 of 887 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/en_GB/
2024-10-12 00:21:10 +00:00
J. Lavoie
0e8df87716
Translated using Weblate (French)
Currently translated at 100.0% (887 of 887 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2024-10-12 00:21:08 +00:00
Fjuro
c2e9e8d832
Translated using Weblate (Czech)
Currently translated at 100.0% (887 of 887 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/cs/
2024-10-11 20:16:43 +00:00