FreeTube/src/renderer/components
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
..
data-settings * Update export data default filename to use today's date in local timezone instead of UTC (#3236) 2023-03-02 22:11:36 +01:00
distraction-settings Switch from Vue.extend to defineComponent (#3066) 2023-01-18 08:50:02 +01:00
download-settings Miscellaneous cleanup (#3148) 2023-02-04 15:04:04 +08:00
experimental-settings Switch from Vue.extend to defineComponent (#3066) 2023-01-18 08:50:02 +01:00
external-player-settings Switch from Vue.extend to defineComponent (#3066) 2023-01-18 08:50:02 +01:00
ft-age-restricted Switch from Vue.extend to defineComponent (#3066) 2023-01-18 08:50:02 +01:00
ft-auto-grid Switch from Vue.extend to defineComponent (#3066) 2023-01-18 08:50:02 +01:00
ft-button Switch from Vue.extend to defineComponent (#3066) 2023-01-18 08:50:02 +01:00
ft-card Switch from Vue.extend to defineComponent (#3066) 2023-01-18 08:50:02 +01:00
ft-channel-bubble Switch from Vue.extend to defineComponent (#3066) 2023-01-18 08:50:02 +01:00
ft-community-post Channel community page (#1568) 2023-03-04 16:56:04 +08:00
ft-element-list Channel community page (#1568) 2023-03-04 16:56:04 +08:00
ft-flex-box Switch from Vue.extend to defineComponent (#3066) 2023-01-18 08:50:02 +01:00
ft-icon-button Use share menu on playlist page (#3121) 2023-02-01 15:38:27 -05:00
ft-input ! Fix shift enter on top nav search input does not open search in a new window (#3113) 2023-01-24 17:34:41 +01:00
ft-input-tags Switch from Vue.extend to defineComponent (#3066) 2023-01-18 08:50:02 +01:00
ft-list-channel Switch from Vue.extend to defineComponent (#3066) 2023-01-18 08:50:02 +01:00
ft-list-lazy-wrapper Channel community page (#1568) 2023-03-04 16:56:04 +08:00
ft-list-playlist Channel community page (#1568) 2023-03-04 16:56:04 +08:00
ft-list-video Update subscriptions view to display video publish time in relative form even fetched via RSS (#3216) 2023-02-26 20:23:06 -05:00
ft-list-video-lazy Switch from Vue.extend to defineComponent (#3066) 2023-01-18 08:50:02 +01:00
ft-loader Switch from Vue.extend to defineComponent (#3066) 2023-01-18 08:50:02 +01:00
ft-notification-banner Switch from Vue.extend to defineComponent (#3066) 2023-01-18 08:50:02 +01:00
ft-profile-bubble Switch from Vue.extend to defineComponent (#3066) 2023-01-18 08:50:02 +01:00
ft-profile-channel-list Switch from Vue.extend to defineComponent (#3066) 2023-01-18 08:50:02 +01:00
ft-profile-edit Switch from Vue.extend to defineComponent (#3066) 2023-01-18 08:50:02 +01:00
ft-profile-filter-channels-list Switch from Vue.extend to defineComponent (#3066) 2023-01-18 08:50:02 +01:00
ft-profile-selector Switch from Vue.extend to defineComponent (#3066) 2023-01-18 08:50:02 +01:00
ft-progress-bar Switch from Vue.extend to defineComponent (#3066) 2023-01-18 08:50:02 +01:00
ft-prompt Use share menu on playlist page (#3121) 2023-02-01 15:38:27 -05:00
ft-radio-button Switch from Vue.extend to defineComponent (#3066) 2023-01-18 08:50:02 +01:00
ft-search-filters add missing search filters (#3141) 2023-02-01 20:43:04 +00:00
ft-select Switch from Vue.extend to defineComponent (#3066) 2023-01-18 08:50:02 +01:00
ft-settings-section Switch from Vue.extend to defineComponent (#3066) 2023-01-18 08:50:02 +01:00
ft-share-button Use secondary colour theme for all share buttons (#3169) 2023-02-08 18:56:42 +00:00
ft-slider Switch from Vue.extend to defineComponent (#3066) 2023-01-18 08:50:02 +01:00
ft-sponsor-block-category Switch from Vue.extend to defineComponent (#3066) 2023-01-18 08:50:02 +01:00
ft-timestamp-catcher Miscellaneous cleanup (#3148) 2023-02-04 15:04:04 +08:00
ft-toast Switch from Vue.extend to defineComponent (#3066) 2023-01-18 08:50:02 +01:00
ft-toggle-switch Switch from Vue.extend to defineComponent (#3066) 2023-01-18 08:50:02 +01:00
ft-tooltip Switch from Vue.extend to defineComponent (#3066) 2023-01-18 08:50:02 +01:00
ft-video-player Fix video throttling because of range header (#3234) 2023-03-01 09:38:13 +08:00
general-settings Miscellaneous cleanup (#3148) 2023-02-04 15:04:04 +08:00
parental-control-settings Switch from Vue.extend to defineComponent (#3066) 2023-01-18 08:50:02 +01:00
password-dialog Switch from Vue.extend to defineComponent (#3066) 2023-01-18 08:50:02 +01:00
password-settings Switch from Vue.extend to defineComponent (#3066) 2023-01-18 08:50:02 +01:00
player-settings Filter out WebM DASH formats (#3105) 2023-01-25 15:58:25 -05:00
playlist-info Use share menu on playlist page (#3121) 2023-02-01 15:38:27 -05:00
privacy-settings Add feature to remember video history with last viewed playlist when enabled (#3006) 2023-01-26 03:18:04 +01:00
proxy-settings Switch from Vue.extend to defineComponent (#3066) 2023-01-18 08:50:02 +01:00
side-nav Switch from Vue.extend to defineComponent (#3066) 2023-01-18 08:50:02 +01:00
side-nav-more-options Adjust `side-nav-more-options` to account for anchor style (#3097) 2023-01-21 10:25:01 +01:00
sponsor-block-settings Switch from Vue.extend to defineComponent (#3066) 2023-01-18 08:50:02 +01:00
subscription-settings Switch from Vue.extend to defineComponent (#3066) 2023-01-18 08:50:02 +01:00
theme-settings Switch from Vue.extend to defineComponent (#3066) 2023-01-18 08:50:02 +01:00
top-nav Migrate channel related functionality to YouTube.js (#3143) 2023-03-01 08:39:33 +08:00
watch-video-chapters Use a computed property instead of a prop to specify the chapters layout (#3199) 2023-02-17 09:34:21 +08:00
watch-video-comments Fix spacing in the load comment replies text (#3171) 2023-02-08 18:52:36 +00:00
watch-video-description Switch from Vue.extend to defineComponent (#3066) 2023-01-18 08:50:02 +01:00
watch-video-info Switch from Vue.extend to defineComponent (#3066) 2023-01-18 08:50:02 +01:00
watch-video-live-chat Fix positioning of the live chat scroll to bottom button (#3168) 2023-02-08 18:32:39 +00:00
watch-video-playlist Switch from Vue.extend to defineComponent (#3066) 2023-01-18 08:50:02 +01:00
watch-video-recommendations Switch from Vue.extend to defineComponent (#3066) 2023-01-18 08:50:02 +01:00