FreeTube/src/renderer/components
Jason ab3c1b9b29
Show when Subscriptions / Trending / Most Popular were last updated (#4380)
* Implement first draft of last subscription refresh timestamp

* Update styling to be a top bar

* Update styling to be banner-compatible, & increase banner X button size on mobile

* Update subscription refresh timestamp to be relative

* Implement refresh timestamps for Shorts, Live, and Community tabs

* Extract refresh widget to its own component

* Add Trending and Popular refresh widgets with timestamps

* Fix justifying when no timestamp exists

* Move timestamps to utils store

* Remove unneeded ref classes and currentLocale computed property

* Add page-specific titles for each feed type

* Implement showing least recent cache date per profile

* Update styling property placement & match top nav box shadow on ft-refresh-widget

* Implement showing timestamp for profile only if all channel subscriptions can be found in cache

* Disable refresh button instead of removing it or the widget from the DOM

* Increase top banner's top margin

* Update channel caching calls to provide timestamps

* Modify updateCacheByChannel functions to have default timestamp of new Date()

* Fix 30-day month relative date calculation scenarios through new optional parameter

* Rectify Case 3 (see https://github.com/FreeTubeApp/FreeTube/pull/3668)

* Add back missing line in Popular.js
2024-04-18 05:54:46 +08:00
..
channel-about Local API: Support extracting about information from YouTube's new about popup (#4370) 2023-12-20 22:27:49 -05:00
data-settings Add SUPPORTS_LOCAL_API build flag (#4931) 2024-04-12 06:12:50 +00:00
distraction-settings Add back 3 Stylelint configs (#4350) 2024-04-17 19:49:37 +02:00
download-settings Fix imports of the "electron" module that are missing an Electron guard (#4935) 2024-04-14 13:16:55 +00:00
experimental-settings Add back 3 Stylelint configs (#4350) 2024-04-17 19:49:37 +02:00
external-player-settings Add i18n-eslint-plugin (#4763) 2024-04-07 14:58:15 +00:00
ft-age-restricted Add i18n-eslint-plugin (#4763) 2024-04-07 14:58:15 +00:00
ft-auto-grid Switch from Vue.extend to defineComponent (#3066) 2023-01-18 08:50:02 +01:00
ft-auto-load-next-page-wrapper Define emits before using them (#4973) 2024-04-17 21:50:23 +00:00
ft-button Add back 3 Stylelint configs (#4350) 2024-04-17 19:49:37 +02:00
ft-card Add back 3 Stylelint configs (#4350) 2024-04-17 19:49:37 +02:00
ft-channel-bubble Define emits before using them (#4973) 2024-04-17 21:50:23 +00:00
ft-community-poll Add back 3 Stylelint configs (#4350) 2024-04-17 19:49:37 +02:00
ft-community-post Add back 3 Stylelint configs (#4350) 2024-04-17 19:49:37 +02:00
ft-create-playlist-prompt (Multiple) Local Playlist (instead of saving video in one hidden list) (#4234) 2024-01-03 19:44:57 +01:00
ft-element-list Add search playlists with matching videos function (#4537) 2024-03-14 17:16:15 -04:00
ft-flex-box Add back 3 Stylelint configs (#4350) 2024-04-17 19:49:37 +02:00
ft-icon-button Show when Subscriptions / Trending / Most Popular were last updated (#4380) 2024-04-18 05:54:46 +08:00
ft-input Define emits before using them (#4973) 2024-04-17 21:50:23 +00:00
ft-input-tags Define emits before using them (#4973) 2024-04-17 21:50:23 +00:00
ft-list-channel Add back 3 Stylelint configs (#4350) 2024-04-17 19:49:37 +02:00
ft-list-hashtag Add back 3 Stylelint configs (#4350) 2024-04-17 19:49:37 +02:00
ft-list-lazy-wrapper Add search playlists with matching videos function (#4537) 2024-03-14 17:16:15 -04:00
ft-list-playlist Add back 3 Stylelint configs (#4350) 2024-04-17 19:49:37 +02:00
ft-list-video Show when Subscriptions / Trending / Most Popular were last updated (#4380) 2024-04-18 05:54:46 +08:00
ft-list-video-lazy Video title filter / blacklist (#4202) 2024-01-22 17:59:46 -05:00
ft-list-video-numbered Fix v-observe-visibility error when playlist items are updated (#4774) 2024-03-26 21:36:34 -04:00
ft-loader Add back 3 Stylelint configs (#4350) 2024-04-17 19:49:37 +02:00
ft-notification-banner Show when Subscriptions / Trending / Most Popular were last updated (#4380) 2024-04-18 05:54:46 +08:00
ft-playlist-add-video-prompt Add back 3 Stylelint configs (#4350) 2024-04-17 19:49:37 +02:00
ft-playlist-selector Define emits before using them (#4973) 2024-04-17 21:50:23 +00:00
ft-profile-bubble Add back 3 Stylelint configs (#4350) 2024-04-17 19:49:37 +02:00
ft-profile-channel-list Add back 3 Stylelint configs (#4350) 2024-04-17 19:49:37 +02:00
ft-profile-edit Define emits before using them (#4973) 2024-04-17 21:50:23 +00:00
ft-profile-filter-channels-list Add back 3 Stylelint configs (#4350) 2024-04-17 19:49:37 +02:00
ft-profile-selector Add back 3 Stylelint configs (#4350) 2024-04-17 19:49:37 +02:00
ft-progress-bar Add back 3 Stylelint configs (#4350) 2024-04-17 19:49:37 +02:00
ft-prompt Define emits before using them (#4973) 2024-04-17 21:50:23 +00:00
ft-radio-button Add back 3 Stylelint configs (#4350) 2024-04-17 19:49:37 +02:00
ft-refresh-widget Show when Subscriptions / Trending / Most Popular were last updated (#4380) 2024-04-18 05:54:46 +08:00
ft-search-filters Define emits before using them (#4973) 2024-04-17 21:50:23 +00:00
ft-select Add back 3 Stylelint configs (#4350) 2024-04-17 19:49:37 +02:00
ft-settings-section Add back 3 Stylelint configs (#4350) 2024-04-17 19:49:37 +02:00
ft-share-button Add back 3 Stylelint configs (#4350) 2024-04-17 19:49:37 +02:00
ft-slider Add back 3 Stylelint configs (#4350) 2024-04-17 19:49:37 +02:00
ft-sponsor-block-category Add back 3 Stylelint configs (#4350) 2024-04-17 19:49:37 +02:00
ft-subscribe-button Add back 3 Stylelint configs (#4350) 2024-04-17 19:49:37 +02:00
ft-timestamp-catcher Define emits before using them (#4973) 2024-04-17 21:50:23 +00:00
ft-toast Add back 3 Stylelint configs (#4350) 2024-04-17 19:49:37 +02:00
ft-toggle-switch Add back 3 Stylelint configs (#4350) 2024-04-17 19:49:37 +02:00
ft-tooltip Add back 3 Stylelint configs (#4350) 2024-04-17 19:49:37 +02:00
ft-video-player Define emits before using them (#4973) 2024-04-17 21:50:23 +00:00
general-settings Update most paginated places to auto load next page (except comments) (#4565) 2024-04-16 22:16:08 +02:00
parental-control-settings Switch from Vue.extend to defineComponent (#3066) 2023-01-18 08:50:02 +01:00
password-dialog Implement Stylelint linting of CSS logical properties (#4023) 2023-09-14 08:22:33 +08:00
password-settings Switch from Vue.extend to defineComponent (#3066) 2023-01-18 08:50:02 +01:00
player-settings Update most paginated places to auto load next page (except comments) (#4565) 2024-04-16 22:16:08 +02:00
playlist-info Define emits before using them (#4973) 2024-04-17 21:50:23 +00:00
privacy-settings Use blob URLs for storyboards instead of writing them to the file system (#4891) 2024-04-08 09:31:20 +08:00
proxy-settings Fix imports of the "electron" module that are missing an Electron guard (#4935) 2024-04-14 13:16:55 +00:00
side-nav Add back 3 Stylelint configs (#4350) 2024-04-17 19:49:37 +02:00
side-nav-more-options Add back 3 Stylelint configs (#4350) 2024-04-17 19:49:37 +02:00
sponsor-block-settings Add dearrow support for thumbnails (#4520) 2024-01-15 04:20:15 +00:00
subscription-settings Show latest from channel (#4352) 2023-11-26 08:27:29 +08:00
subscriptions-community Show when Subscriptions / Trending / Most Popular were last updated (#4380) 2024-04-18 05:54:46 +08:00
subscriptions-live Show when Subscriptions / Trending / Most Popular were last updated (#4380) 2024-04-18 05:54:46 +08:00
subscriptions-shorts Show when Subscriptions / Trending / Most Popular were last updated (#4380) 2024-04-18 05:54:46 +08:00
subscriptions-tab-ui Show when Subscriptions / Trending / Most Popular were last updated (#4380) 2024-04-18 05:54:46 +08:00
subscriptions-videos Show when Subscriptions / Trending / Most Popular were last updated (#4380) 2024-04-18 05:54:46 +08:00
theme-settings Fix imports of the "electron" module that are missing an Electron guard (#4935) 2024-04-14 13:16:55 +00:00
top-nav Add back 3 Stylelint configs (#4350) 2024-04-17 19:49:37 +02:00
watch-video-chapters Define emits before using them (#4973) 2024-04-17 21:50:23 +00:00
watch-video-comments Define emits before using them (#4973) 2024-04-17 21:50:23 +00:00
watch-video-description Define emits before using them (#4973) 2024-04-17 21:50:23 +00:00
watch-video-info Define emits before using them (#4973) 2024-04-17 21:50:23 +00:00
watch-video-live-chat Add back 3 Stylelint configs (#4350) 2024-04-17 19:49:37 +02:00
watch-video-playlist Add back 3 Stylelint configs (#4350) 2024-04-17 19:49:37 +02:00
watch-video-recommendations Update recommended video section to use hide videos from channel preference (#3749) 2023-07-12 20:09:28 -04:00