Commit Graph

2792 Commits

Author SHA1 Message Date
Luca Hohmann
4ef2f709ee
Channel community page (#1568)
* Comunity page strings, Communtiy tab, Community initial API call
Added:
1) Community page strings - the first few strings are now available
2) Community tab - A clickable tab is now displayed on channel pages
3) Community initial API call - on loading the page, the initial access

* Comunity page strings, Communtiy tab, Community initial API call
Added:
1) Community page strings - the first few strings are now available
2) Community tab - A clickable tab is now displayed on channel pages
3) Community initial API call - on loading the page, the initial access

* Data returning added

* Comunity page strings, Communtiy tab, Community initial API call
Added:
1) Community page strings - the first few strings are now available
2) Community tab - A clickable tab is now displayed on channel pages
3) Community initial API call - on loading the page, the initial access

* Data returning added

* Images are now displayed in the community tab

* Comunity page strings, Communtiy tab, Community initial API call
Added:
1) Community page strings - the first few strings are now available
2) Community tab - A clickable tab is now displayed on channel pages
3) Community initial API call - on loading the page, the initial access

* Data returning added

* Images are now displayed in the community tab

* Added primitive video display

* Current changes

* Added preston's change with the ftcard and started on some layout basics

* Created Community Post Component and added fetch more button + functionality

* Fixed problem with videothumbnails not loading and adjusted their height to 100% in the ft-list sass file

* Added poll and ft-list-video to the community page

* Added author name placeholder (missing in module), the published date, the likes and dislikes as well as comment counts to posts. Additionally scaling of images was added

* Added basis for community page playlists

* Finalized a setup for playlists when wide enough

* Fix for missing key in custom list

* Added publish date translation

* Add empty alt tags

Co-authored-by: Jason <84899178+jasonhenriquez@users.noreply.github.com>

* fix accessibility issue

Co-authored-by: Jason <84899178+jasonhenriquez@users.noreply.github.com>

* change: ununique ids to classes

* add missing alt tag

* Redirect channel/id/community to the channel's community tab

* update yt-channel-info

* update to 3.0.1

* Update yarn.lock

* add basic multiImage support

* use tiny-slider for multiImage community posts

* update getChannelCommunityPostsMore

* Update yarn.lock

* fix yarn lock

* swap community and about tab

* Update yarn.lock

* Fix missing comma

* Removed trailing spaces

* Clearing all community post data when changing to another channel

* Restructuring of how the post cards are added, Empty page text,
ft-element-list props customization
1) Now the community page uses the same setup of ft-element-list as the
other pages on the channel.
2) If no posts are available, now it displays a message saying so
3) The ft-element-list component's display style can now be forced into
a certain display mode (list/grid) with the new prop. It will overwrite
the corresponding default value for list display

* Fixed display text path

* Fix lint"

* Adjusted css to fit to new layout

* Final touches community page to tidy up the console

* fix icons, fix linter

* fix hiding showmore button for community page

* fix showToast calls

* change all this.showToast to showToaast

* reinstall tinyslider

* use helpers

* small fixes

* fix: getting continuation of community posts

* remove unused code

* improve slider style import

* fix hiding 'ShowMore' button

* fix weird typo in css

* add invidous community tab support

* remove console testing code

* Apply suggestions from code review

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

* implement suggestions, improve thumbnail replacement

* use flip horizontal

* readd invidious fallback code, remove author name workaround

* replace another google domain when using invidious

* suppport invidious multiImage posts

* Use youtube.js for community posts

* add invidious polls, remove support for fetching more

* reorder icons alpabetically

* re-allow loading more when using localapi

* fix styling of multiImage, hide NA text

* fix loading playlist

* fix spacing of items

* fix issue with direct url to community tab

* make review recommendations

Co-Authored-By: absidue <48293849+absidue@users.noreply.github.com>

* fix displaying selected tab, get best quality image

---------

Co-authored-by: Preston <freetubeapp@protonmail.com>
Co-authored-by: ChunkyProgrammer <78101139+ChunkyProgrammer@users.noreply.github.com>
Co-authored-by: Jason <84899178+jasonhenriquez@users.noreply.github.com>
Co-authored-by: absidue <48293849+absidue@users.noreply.github.com>
2023-03-04 16:56:04 +08:00
Dragibus Noir
1b69215855
Translated using Weblate (French)
Currently translated at 100.0% (669 of 669 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2023-03-04 06:40:07 +01:00
Fjuro
60026e1d16
Translated using Weblate (Czech)
Currently translated at 100.0% (669 of 669 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/cs/
2023-03-03 22:38:17 +01:00
Артём Котлубай
f575d3ca32
Translated using Weblate (Russian)
Currently translated at 99.8% (668 of 669 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ru/
2023-03-02 20:36:28 +01:00
Ihor Hordiichuk
d3f25dbff0
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (669 of 669 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/uk/
2023-03-01 22:35:36 +01:00
Milo Ivir
dea7ccb207
Translated using Weblate (Croatian)
Currently translated at 100.0% (669 of 669 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/hr/
2023-03-01 22:35:35 +01:00
Sveinn í Felli
c2c3692f10
Translated using Weblate (Icelandic)
Currently translated at 100.0% (669 of 669 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/is/
2023-03-01 19:39:08 +01:00
Allan Nordhøy
0678661d95
Translated using Weblate (Norwegian Bokmål)
Currently translated at 89.6% (600 of 669 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/nb_NO/
2023-03-01 19:39:07 +01:00
J. Lavoie
6507d5a2c2
Translated using Weblate (English (United Kingdom))
Currently translated at 100.0% (669 of 669 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/en_GB/
2023-03-01 16:38:25 +01:00
jc
3bca0686f6
Translated using Weblate (Portuguese)
Currently translated at 100.0% (669 of 669 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/pt/
2023-03-01 16:38:24 +01:00
gallegonovato
a96a8839c7
Translated using Weblate (Spanish)
Currently translated at 100.0% (669 of 669 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/es/
2023-03-01 16:38:23 +01:00
J. Lavoie
b1e36b35f7
Translated using Weblate (Italian)
Currently translated at 100.0% (669 of 669 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/it/
2023-03-01 16:38:22 +01:00
Grzegorz Wójcicki
5485dbb10a
Translated using Weblate (Polish)
Currently translated at 100.0% (669 of 669 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/pl/
2023-03-01 16:38:21 +01:00
J. Lavoie
7d80254641
Translated using Weblate (French)
Currently translated at 100.0% (669 of 669 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2023-03-01 16:38:20 +01:00
J. Lavoie
362b7fb967
Translated using Weblate (Finnish)
Currently translated at 98.9% (662 of 669 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fi/
2023-03-01 16:38:19 +01:00
jc
2f2fc17418
Translated using Weblate (Portuguese (Portugal))
Currently translated at 100.0% (669 of 669 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/pt_PT/
2023-03-01 16:38:18 +01:00
J. Lavoie
cdef79bf6c
Translated using Weblate (German)
Currently translated at 100.0% (669 of 669 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/de/
2023-03-01 16:38:17 +01:00
Eric
64326c4f18
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (669 of 669 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/zh_Hans/
2023-03-01 10:39:03 +01:00
Yaron Shahrabani
55f9fcf104
Translated using Weblate (Hebrew)
Currently translated at 100.0% (669 of 669 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/he/
2023-03-01 08:38:53 +01:00
Oğuz Ersen
63dc3e41b9
Translated using Weblate (Turkish)
Currently translated at 100.0% (669 of 669 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/tr/
2023-03-01 08:38:52 +01:00
Massimo Pissarello
637a1d6667
Translated using Weblate (Italian)
Currently translated at 100.0% (669 of 669 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/it/
2023-03-01 08:38:50 +01:00
Jeff Huang
7d16a4f830
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (669 of 669 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/zh_Hant/
2023-03-01 08:38:49 +01:00
Retrial
9ea5bfe404
Translated using Weblate (Greek)
Currently translated at 100.0% (669 of 669 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/el/
2023-03-01 03:37:16 +01:00
Rex_sa
f51a070bde
Translated using Weblate (Arabic)
Currently translated at 100.0% (669 of 669 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ar/
2023-03-01 03:37:15 +01:00
Retrial
4b25201d19
Translated using Weblate (Greek)
Currently translated at 99.5% (666 of 669 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/el/
2023-03-01 01:49:29 +01:00
absidue
291aeff1a6
Migrate channel related functionality to YouTube.js (#3143)
* Migrate channel related functionality to YouTube.js

* Better alert handling

* Add support for special autogenerated channels

* Add support for latest YouTube.js changes

* Add support for age restricted channels

* Update YouTube.js to 3.0.0

* Obey hide search bar setting for the tag searching

* Choose a better parameter name

* Allow sharing terminated and age restricted channels

* Add handle support for handles on Invidious

* Fix the backend fallback

* Use a positive parameter name

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

* Fix duplicate tags causing errors

* Fix sorting for the Invidious API

* Move URL resolving to the channel page

* Update YouTube.js to 3.1.0

---------

Co-authored-by: PikachuEXE <pikachuexe@gmail.com>
2023-03-01 08:39:33 +08:00
Franco Castillo
290435d545
Translated using Weblate (Spanish)
Currently translated at 100.0% (660 of 660 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/es/
2023-02-27 00:42:44 +01:00
Adrián López Galera
4c0fc006b1
Translated using Weblate (Spanish)
Currently translated at 100.0% (660 of 660 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/es/
2023-02-26 20:37:46 +01:00
Thunderstrike116
8a3ca07c06
Translated using Weblate (Greek)
Currently translated at 100.0% (660 of 660 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/el/
2023-02-25 19:36:10 +01:00
Karl Tammik
69bec4071c
Translated using Weblate (Estonian)
Currently translated at 100.0% (660 of 660 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/et/
2023-02-22 13:36:42 +01:00
sanghyunna
c078e53c1d
Translated using Weblate (Korean)
Currently translated at 99.2% (655 of 660 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ko/
2023-02-21 06:04:28 +01:00
cosmic4237
6c8088a952
Translated using Weblate (Spanish)
Currently translated at 100.0% (660 of 660 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/es/
2023-02-17 22:37:14 +01:00
Temuri Doghonadze
c75c978390
Translated using Weblate (Georgian)
Currently translated at 25.4% (168 of 660 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ka/
2023-02-16 07:38:44 +01:00
HudobniVolk
f975b74765
Translated using Weblate (Slovenian)
Currently translated at 80.6% (532 of 660 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/sl/
2023-02-10 21:39:35 +01:00
jc
17831b3795
Translated using Weblate (Portuguese)
Currently translated at 100.0% (660 of 660 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/pt/
2023-02-09 16:39:36 +01:00
jc
73547e30bc
Translated using Weblate (Portuguese (Portugal))
Currently translated at 100.0% (660 of 660 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/pt_PT/
2023-02-09 16:39:35 +01:00
Milo Ivir
83a7c656ce
Translated using Weblate (Croatian)
Currently translated at 100.0% (660 of 660 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/hr/
2023-02-08 23:39:27 +01:00
William Weber Berrutti
96ccbce7b0
Translated using Weblate (Portuguese (Brazil))
Currently translated at 99.8% (659 of 660 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/pt_BR/
2023-02-07 01:55:43 +01:00
Kyotaro Iijima
52476acb96
Translated using Weblate (Japanese)
Currently translated at 100.0% (660 of 660 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ja/
2023-02-06 18:40:58 +01:00
Rusi Dimitrov
fa8cc07b5e
Translated using Weblate (Bulgarian)
Currently translated at 100.0% (660 of 660 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/bg/
2023-02-06 12:39:45 +01:00
Milo Ivir
875edf11da
Translated using Weblate (Croatian)
Currently translated at 99.8% (659 of 660 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/hr/
2023-02-05 22:39:19 +01:00
Franco Castillo
a6bb002e97
Translated using Weblate (Spanish)
Currently translated at 100.0% (660 of 660 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/es/
2023-02-05 07:39:16 +01:00
J. Lavoie
e3c9a5dd14
Translated using Weblate (English (United Kingdom))
Currently translated at 100.0% (660 of 660 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/en_GB/
2023-02-05 02:45:51 +01:00
J. Lavoie
a55415dfbe
Translated using Weblate (French)
Currently translated at 100.0% (660 of 660 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2023-02-05 02:45:50 +01:00
J. Lavoie
29df6a5d8b
Translated using Weblate (Finnish)
Currently translated at 98.3% (649 of 660 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fi/
2023-02-05 02:45:49 +01:00
J. Lavoie
e17fb58b0e
Translated using Weblate (German)
Currently translated at 100.0% (660 of 660 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/de/
2023-02-05 02:45:48 +01:00
Ihor Hordiichuk
a8b458ff12
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (660 of 660 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/uk/
2023-02-03 20:35:31 +01:00
Fjuro
91e6439c13
Translated using Weblate (Czech)
Currently translated at 100.0% (660 of 660 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/cs/
2023-02-03 20:35:31 +01:00
Артём Котлубай
db217a08c8
Translated using Weblate (Russian)
Currently translated at 100.0% (660 of 660 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ru/
2023-02-03 20:35:30 +01:00
gallegonovato
a42fc73b3a
Translated using Weblate (Galician)
Currently translated at 100.0% (660 of 660 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/gl/
2023-02-03 14:39:33 +01:00