Commit Graph
100 Commits
Author SHA1 Message Date
PikachuEXEandGitHub bf4f6e42b4 Make chapter section scroll to current chapter when scroll into view port when expanded (#4725)
* * Make chapter section scroll to current chapter when scroll into view port when expanded

* * Use existing element instead of new dummy element
2024-04-02 12:53:43 -04:00
PikachuEXEandGitHub 4dea7746c5 Update icons for add to/remove from quick bookmark button (#4825)
* * Update icons for add to/remove from quick bookmark target button

* * Change quick bookmarked indicator to green

* * Stop importing star icon which is now unused
2024-04-01 21:54:19 -04:00
PikachuEXEandGitHub 8fa8e1fd99 ! Fix handling of video data without published (#4788) 2024-03-25 15:23:01 +00:00
PikachuEXEandGitHub 65a5b0c045 Add search playlists with matching videos function (#4537)
* * Update user playlists page to add search playlists with matching videos function

* * Update add videos to playlists prompt to add search playlists with matching videos function

* * Update UI & label text

* * Click on playlist link with search matching video enabled now also search for video when view switched

* * Only auto enable search video mode for playlists with video(s)

* * Make new toggle vertically align center

* * Make new toggle vertically align center
2024-03-14 17:16:15 -04:00
PikachuEXEandGitHub 672803d30c Add video search in user playlist feature (#4622)
* * Update single playlist view for user playlists to add search video function

* ! Fix load more button appears when searching & visible items under pagination limit

* * Show message when search returns no result

* * Make search button focused after existing search mode

* * Make search result show search result show original playlist item indexes

* * Make search button only appear with video count > 0
2024-03-06 15:27:01 -05:00
PikachuEXEandGitHub fcd7291beb Fix URL copied via right click menu (#4690)
* ! Fix URL copied via right click menu

- Invalid URL when copying IV video
- URL with user playlist ID

* * Make copy link entry in right click menu to only show for non user playlists
2024-03-03 21:28:26 +00:00
PikachuEXEandGitHub 6472c0374f * Make activating a chapter selector makes window scroll to top like clicking on timestamp links (#4722) 2024-03-02 13:59:04 -05:00
PikachuEXEandGitHub c386841e78 Make video thumbnails have certain height before image loading starts to avoid layout shifts (#4723)
* * Make video thumbnails have certain height before image loading starts to avoid layout shifts

* * Use "fallback to natural aspect ratio" feature of `aspect-ratio`
2024-03-01 13:34:35 +00:00
PikachuEXEandGitHub 0afc78314f Update add video ot playlist prompt to show presence count when adding one video (#4561)
* $ Rename props for ft-playlist-selector

* * Update add video ot playlist prompt to show presence count when adding one video
2024-02-28 09:15:59 -05:00
PikachuEXEandGitHub b32b6ed1f7 Bump youtubei.js to 9.1.0 for watch page fix (#4707) 2024-02-23 19:51:18 +00:00
PikachuEXEandGitHub bf83faa322 ! Fix comment channel link display w/ local API (#4652) 2024-02-09 03:26:28 +00:00
PikachuEXEandGitHub 5a6d4d5038 ! Fix playlist type not passed when playing next/prev item in a user playlist (#4623) 2024-01-31 17:16:29 +01:00
PikachuEXEandGitHub e560a8fb60 Update places generating sharable YT video URLs to always return prefix https://youtu.be/ (#4547)
* * Update places generating sharable YT video URLs to always return prefix https://youtu.be/

* ! Fix short form URL
2024-01-25 08:37:35 -05:00
PikachuEXEandGitHub 32a2ad9479 Add feature to set a playlist as quick bookmark target (#4518)
* + Add feature to set a playlist as quick bookmark target

* Add back button to watch page

* focus behavior style update

* * Different button text when video saved

* ! Fix mutation function `removeVideos` (still unused)

* * Make default generated favorites playlist as default quick bookmark target

* ! Add fix for `deleteVideoIdsByPlaylistId`

* * Update button text

* * Update quick bookmark playlist first allow revert later

* * Update single playlist view to hide fav button when viewing the target playlist

* - Remove unused code
2024-01-17 22:52:42 -05:00
PikachuEXEandGitHub 251abe4241 * Make top nav able to parse sharable video URL with playlist param (#4548) 2024-01-15 20:46:24 +00:00
PikachuEXEandGitHub dfbb12c444 ! Fix comment sort breakpoint (#4514) 2024-01-07 20:52:24 +01:00
PikachuEXEandGitHub f25b537901 * Update playlist view to auto load next page for local API to workaround issue of useless continuation data (#4519) 2024-01-06 11:27:17 +01:00
c40b4a69d5 (Multiple) Local Playlist (instead of saving video in one hidden list) (#4234)
* ! Fix add/removing videos from favourite list

* ! Fix playlist type not passed into video list item component

* ! Fix playlist data loading issue on new windows

* ! Fix user playlist data parsing

* * Ensure playlist view rerender on video additonal removal for displayed playlist

* ! Fix icons & moving videos up/down in user playlist

* * Don't show move up/down buttons when cannot be done

* * Make user playlist view filtering function now works for filtering playlists

* ! Fix style of prompt from any button within playlist-info component

* $ Refactor a function to use early return style

* * Disallow empty playlist name when saving in playlist edit mode

* * Update add video to playlist prompt to have simple filtering like user playlist view

* * Update playlist view to only show video reorder/remove buttons in edit mode

With notice message

* ! Fix playlist view for remote playlist unnecessary reload on save

* ! Fix add to playlist prompt behaviour when some playlists are hidden due to filtering

* $ Remove unused watch function arguments

* * Update user playlist view create new playlist button position

* * Update playlist view to add transitions to video reorder/removal

* * Allow playlist with different case to be created

* * Update visibility of user playlist related action components according to hide playlist settings

Only those visible on video, remote playlist are updated

* * Update video items to only show add to playlist buttons on hover

* - Remove add to favorites button from video list item component

* * Update watch-video-info component to add "add to playlist" button

* * Update watch-video-info component to remove "add to favourite" button

* * Ensure video thumbnail image displayed in 16/9 aspect ratio

Mainly due to YT missing video thumbnail image got different aspect ratio 4/3

* * Update new buttons theme

* * Put edit playlist button before copy button

* * Move "remove video from playlist" button to most right

* * Make video reorder & remove button visible on hover in user playlist view, regardless of "edit mode"

* ! Fix video count parsing for user playlist

* * Update user playlist to allow duplicate video entries (per video ID)

* * Remove extra attributes assignment to video object except `timeAdded`

Unintended change

* * Update copy playlist button to like adding multiple videos to playlists

* * Update copy playlist prompt to prefill title if create new playlist prompt shown

* * Ensure all playlists have `playlistName`

* $- Remove unused playlist property `removeOnWatched`

* * Update read all playlist code to ensure existing "default" playlist properties (_id, protected) have same values as those in default

Also fix issue discovered during testing

* *- Remove unnecessary code line

* * Update playlists from default playlists to be deletable

* ! Fix duplicate `timeAdded` value for videos copied from user playlist

* ! Fix playlist import (tested with db file exported from this branch)

* * Update grid view to only display playlist title up to 255 chars

Still can see full title in single playlist view

* * Update add video to playlist prompt to only display playlist title up to 255 chars

* * Update text of new playlist button to be same as new profile button

* * Ignore many extra keys from playlist objectrs

Also make data import check for object keys against required keys not key counts

* * Disallow playlist import from changing internal playlist ID of existing playlists

Existing playlists are matched by playlist name, not by internal playlist ID

* * Ensure playlist name & description trimmed when saved

* * Add missing change for importing playlist to ignore `protected`

* $ Refactor code for "video object has all require keys"

* ! Fix style of prompt from any button within playlist-info component again

z-index war

* * Update some empty message & button text

* * Ensure playlist item action buttons are hidden during animations

* ! Fix other prompt z-index

* * Update `showAddToPlaylistPromptForManyVideos` to throw error when required keys missing from passed in video data

* *- Remove unused video property `paid` from playlist related code

* *- Remove unused video property `type` from playlist related code

* ! Fix duplicate playlist displayed on playlist conversion

* *- Remove unused video property `published` from playlist related code

* * Don't require & generate property `timeAdded` when display a prompt

* *- Remove unused video property `isLive` from playlist related code

* ! Fix text

* ! Revert code change for debugging only

* ! Fix CSS for "Ensure playlist item action buttons are hidden during animations"

* * Update add playlist button to be shown for live videos

* + Add clear all playlists button

* * Update add video to playlist prompt to swap "save" & "create playlist" button

* ! Fix playlist view won't load after default playlist added due to lack of playlist

* * Show toast message when no playlist selected after pressing save button

* * Update add video to playlist prompt to show latest updated playlist first

Easier for copying playlist with new playlist(s)

* ! Fix watch page when visited via history after viewing the video from a deleted user playlist

* ! Fix share buttons emitting user playlist IDs

* * Add toast message after removing all playlists

* ! Fix remote playlist video list rendering with duplicate videos

* ! Fix missing key for some direct child elements under `transition-group`

* ! Fix animation introduced to unnecessary elements

* ! Prevent video link click during animation

* ! Fix playlist creation/removal not reflected in other windows

* * Ensure playlist visual selected state in sync with data in parent

* * Update add video to playlist prompt to auto select playlists created after prompt shown once

* * Update copy playlist button to show warning about not loaded videos when some not loaded yet

For remote playlist

Won't work for Invidious though (coz no way to load more)

* * Update add video prompt to make it easier to access buttons via keyboard

* * Make video reorder & remove button always visible in user playlist view

* * Make plus button can be focused with tab

Side effect is thumbnail link can be focused too (otherwise can't make plus button visible)

* * Update add video to playlist prompt to focus on search input on shown

* * Accept playlist optional property `createdAt` when importing

* * Update playlist view to always show add to playlist button

* $ Refactor `inUserPlaylist`

Only playlist view would supply `playlistType`

* * Improve accessibility for new prompts

* * Make edit playlist inputs focused on entering edit mode

* * Make most prompts focus back to last focused element on close

* $ Use tabindex 0 for prompts

Possible tabindex values unnecessary with elements programatically focused

* * Update add video to playlist prompt to focus back to search input after new playlist created

* * Update ft-list-video to focus back on thumbnail link element after add to playlist prompt closed

* ! Fix unable to import duplicate video entries into an existing playlist

* ! Fix create playlist prompt looks unclosed after playlist created when opened via add video to playlist prompt

* ! Fix duplicate video entry ID when playlist with duplicate videoId entries copied to another playlist

* ! Fix issues caused by last merge in e291cc8b41b2273a0d77c9f35ea760f0e0f7ac10

* $ Remove unused imports

* ! Fix default playlists added when no playlist stored had no required attributes added on 1st run

* ! Fix invalid prop type warning

* * Use v-if instead of v-show

* $ Just assign bool value instead of if-else

* + Update playlists view to add sorting option

* $- Remove unnecessary property assignments

* ! Fix issues caused by "Remove unnecessary property assignments"

* ! Fix issues caused by "Remove unnecessary property assignments"

* * Ensure sort by time also fallbacks to playlist name sorting

* ! Fix add/remove video does not update playlist last created time

* ! Fix multi window playlist sync

* * Show filtering input & sorting element when no. of playlist > 1

* * Update upcoming video to allow saving in playlist

* ! Fix unable to visit previous video when playing first video in a playlist

* * Update sorting options labels

* ! Fix add to play prompt max width

* ! Fix user playlist view incorrectly sorted playlists by latest updated first when filtered

* * Update add to playlist prompt to add sort options

* $ Remove unused classname

* ! Ensure new playlist button focused after add to playlist prompt closed while thumbnail link unselectable

* * Add playlists sort order for last played at, update it on play

* ! Fix bug introduced by last merge

* ! Fix thumbnail not respecting backend preference

* ! Fix empty playlist thumbnail in single playlist view

* * Make adding large no. of videos faster

* $ Remove unused mapActions entries

* $ Remove unused and unusable playlist code for inserting video IDs into a playlist

* * Update single playlist view to only show `Remove watched videos` btn when there is any video

* ! Fix prompt style issue caused by old branch changes

* ! Fix removing video from local playlist remove all entries with same video ID

* ! Fix adding video does not have uniqueID & timeAdded set

Caused by previous add many video performance fix

* ! Fix navigation in user playlist between entries of same video

* * Reflect playlist updates on watch page playlist panel

* $- Remove outdated incorrect prompt style fix

* ! Fix add video to playlist prompt too high when there are too many playlists

* ! Fix watch page play next/prev video in local playlist

* ! Fix error in online playlist playing

* * Keep partial playlist backward compatibility by restoring `type` in persisted playlist videos

* ! Fix grid item for playlist to hide external player button for local playlist

* * Make history rememeber uniqueId (local playlist video entry) when playing video with local playlist

* ! Fix grid item for video in user playlist to hide external player button

* ! Fix grid item for video in history with user playlist to hide external player button

* ! Fix grid item for video in watch page playlist component with user playlist to hide external player button

* * Update watch page to clear `uniqueID` from query when not playing local playlist

* ! Fix watch page about user playlist detection on new window

* * Reflect playlist updates on watch page playlist panel, even for currently playing video

* ! Allow video with local playlist to be played in external player, but without playlist

Also add missing fix for WatchVideoInfo

* ! Fix external player handling for video in local playlist

* ! Fix ft-video having different URLs in links

* yarn run lint-style-fix

* $ Rename uniqueId to playlistItemId

* * Ensure local playlist ID won't conflict with remote playlist ID

* - Remove import video while creating playlist related code

* * Make text translatable

* * Make sort option text translatable

* ! Fix reverse condition

* $ Just use ?.

* Code review changes

* Spaces

* beforeDestroy

* Remove unused methods

* Remove infoData

* filter > find

* avoid importing `crypto` from NodeJS

* Compress CSS ruleset

* $ Remove useless prefix from key

* Use template for element with v-if only

* Make playlist selector look more selectable (cursor: pointer)

* Translate toast messages and fix remove watched videos from playlist

* ! Fix translation

* - Remove unused methods

* $ Remove workaround for issue which cannot be reproduced anymore

* $ Remove remaining useless code following last commit removing workaround

* you have no playlist > you have no playlists

* CSS use var --horizontal-directionality-coefficient

* * Update danger buttons color to primary (like clear search cache button)

* ! Fix playlist icon container size

* ! Fix sorting in add video to playlist prompt when filtered

* $- Update ft-inputs to removed prop input-tabindex

* ! Fix vue warning

* + Add toggle to export playlist for older FT

* * Update tooltip text

* ! Fix vue warning

* * Update text align

* * Remove the extra surrounding spaces

* Backtick > quote

* - Remove useless prop

* Fix tootip in lower width view

* Update default filename

* * Make tooltip auto-wrap

* Revert "* Make tooltip auto-wrap"

This reverts commit 7d932b936c7814349e50204a7979d2d0f5b0ea73.

* Adjust tooltip styling

* * Wait for local playlist loading only when playing with a user playlist

* * Wait for local playlist loading only when playing with a user playlist requested

Request user playlist can still be absent (but not requested for no playlist or remote playlist)

* ! Fix single playlist view cover image having link when no video

* ! Workaround create playlist prompt won't close when enter pressed in input box

* ! Fix clear text button style

* ! Fix copying playlist twice to the same user playlist produces same playlistItemId

* ! Fix add video to playlist prompt input box style

* ! Fix workaround for "create playlist prompt won't close when enter pressed in input box"

* ! Ensure add video to playlist prompt updated when a playlist deleted (in another window)

* ! Avoid saving and displaying unwanted video attributes into playlists

* ! Fix playlist view for deleted user playlists

* ! Fix copying playlist twice to the same user playlist produces same playlistItemId

Real fix
Cause of issue: updating property of input objects (which is shared across multiple run)

* ! Fix search suggestions being blocked by playlist info component in single playlist view

* ! Fix warning when reversing playlist in watch view

* ! Fix prompt in playlist view (playlistinfo component) not above sidebar

* Remove CSS top comments absent in other CSS files

* Remove not useful comment for CSS

* Float with variable

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

* Revert "! Fix clear text button style"

This reverts commit 44ed286848e3cdf4c52f29a867fe09964adffd78.

* Missing change for Revert "! Fix clear text button style"

* $ Remove unused style for ft-playlist-selector

* Apply changes from review

* * Use $tc for translation entries with different value according to count values

* ! Fix playlist link in watch view

---------

Co-authored-by: Jason Henriquez <jasonhenriquez@protonmail.com>
Co-authored-by: Jason <84899178+jasonhenriquez@users.noreply.github.com>
2024-01-03 19:44:57 +01:00
PikachuEXEandGitHub b945cecb62 ! Fix ft-input style (#4437) 2023-12-11 14:03:18 -05:00
e05827b482 Update app menu to add items for profile list page (#4333)
* Update app menu to add items for profile list page

* Apply suggestions from code review

Co-authored-by: efb4f5ff-1298-471a-8973-3d47447115dc <73130443+efb4f5ff-1298-471a-8973-3d47447115dc@users.noreply.github.com>

---------

Co-authored-by: efb4f5ff-1298-471a-8973-3d47447115dc <73130443+efb4f5ff-1298-471a-8973-3d47447115dc@users.noreply.github.com>
2023-11-25 18:37:32 -05:00
PikachuEXEandGitHub 342444f433 Ensure updated locales are auto-reloaded in electron renderer dev mode (#4066)
* * Ensure updated locales are auto-reloaded in electron renderer dev mode

* * Add watch external file plugin in dev mode only

* * Make changes from code review
2023-10-25 21:36:35 +00:00
PikachuEXEandGitHub 4043961912 Upgrade electron from 22.x to 27.x and replace deprecated protocol.registerBufferProtocol (#3967)
* ^ Upgrade electron from 22.x to 27.x

* * Replace deprecated registerBufferProtocol
2023-10-20 23:39:07 +02:00
PikachuEXEandGitHub b55ad5d327 ! Fix single playlist view item index style (#4179) 2023-10-20 17:50:48 +02:00
PikachuEXEandGitHub 5c8d49bf51 ! Fix playlist item fetching for local API (#4102) 2023-10-07 22:14:16 +00:00
PikachuEXEandGitHub 0c92b63b99 ! Fix watch page video published time parsing (#4105) 2023-10-07 21:15:51 +00:00
PikachuEXEandGitHub c936a0ea5e Update FT history import to accept key lastViewedPlaylistId (#4038)
* * Update FT history import to accept key `lastViewedPlaylistId`

Also update the strange required key check logic
Which was last changed by 58882b3e16

* * Remove unused video property `paid`
2023-09-29 13:16:00 -04:00
PikachuEXEandGitHub 825aa4e332 ! Fix in sub view, restoring last tab is bugged when visible tabs do not include tab to be restored (#4064) 2023-09-23 19:11:17 +00:00
PikachuEXEandGitHub aa7c4a46a3 Group dependabot created updates for some packages in fewer PRs (#3968)
* * Update dependabot config to group updates for some packages in fewer PRs

* * Add group for @fortawesome/*

* * Add more
2023-09-05 05:56:55 +00:00
PikachuEXEandGitHub 621cc27938 ! Fix watch page layout when theatre mode enabled and sidebar "hidden" (#3931) 2023-08-30 03:13:11 +00:00
PikachuEXEandGitHub 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
PikachuEXEandGitHub 16aee6e094 * Update URL parser to recognize youtube.com/live/xxxxxxx (#3930) 2023-08-26 15:58:23 +00:00
PikachuEXEandGitHub b10a0c0806 ! Fix Scroll playback rate over video player prevents page scrolling when not activated (#3933) 2023-08-25 11:41:56 -04:00
PikachuEXEandGitHub 11c3402e2f ! Fix subscription view error channel list style (#3921) 2023-08-23 21:38:21 +00:00
PikachuEXEandGitHub 51576a9563 * Show error message in popular tab when instance does not support it (#3841) 2023-08-03 10:44:30 -04:00
PikachuEXEandGitHub ccefdb34a1 ! Fix unnecessary error message display in toast when paused before video started playing on load (#3835)
Caused by https://github.com/FreeTubeApp/FreeTube/pull/3775
2023-08-03 13:01:08 +00:00
PikachuEXEandGitHub 41fd6134ec * Update top nav bar icon to remove focus state style (#3792)
Fix "navigation bar icons are still being highlighted after click"
2023-08-02 07:20:58 -04:00
PikachuEXEandGitHub d8ed6b9f3e Update ft-input for top navbar search input to behave more like Youtube one (#3793)
* * Update ft-input for top navbar search input to behave more like Youtube one

* * Implement mouseleave = deselect

* ! Fix clicking option/enter causes incorrect displayed input

* * Update search input to update input data based on KB selected suggesion value on keydown

* * Allow suggesion deselection via arrow up/down

* $ Fix naming, import code style

* - Remove unused import
2023-08-02 07:20:03 -04:00
PikachuEXEandGitHub d2075718b4 Fix outdated subscription cache clearing code when "Remove All Subscriptions / Profiles" performed (#3817)
* ! Fix outdated subscription cache clearing code when "Remove All Subscriptions / Profiles" performed

* * Use one action to clear cache instead of three

* $ Use early return
2023-07-31 21:09:15 -04:00
PikachuEXEandGitHub b1fa24857e Bump electron-builder from 23.6.0 to 24.6.3 (#3815) 2023-07-29 10:17:19 +02:00
PikachuEXEandGitHub 32635d545c ! Fix exception thrown by play() called in timer handler in watch page (#3775) 2023-07-17 05:32:39 -07:00
PikachuEXEandGitHub 37e67f58c9 Fix Current Invidious Instance input field removes character while typing (#3776) 2023-07-17 05:32:07 -07:00
PikachuEXEandGitHub 35868b408f Update some views to opt out of "Hide Videos From Channels" (#3748)
* * Update channel view to opt out of "Hide Videos From Channels"

* * Update history, local playlist & subscription view to opt out of "Hide Videos From Channels"
2023-07-12 20:09:48 -04:00
PikachuEXEandGitHub 325b36ea01 Update recommended video section to use hide videos from channel preference (#3749)
* * Update recommended video section to use hide videos from channel preference

* * Update setting tooltip text

* Update `or` to `and`

* * Update most popular view to use hide videos from channel preference
2023-07-12 20:09:28 -04:00
PikachuEXEandGitHub 930184d29d Fix duplicate content updates run on channel switch (#3764)
* Revert "Bump prettier from 2.8.8 to 3.0.0 (#3758)"

This reverts commit f77ae6da16.

* ! Fix duplicate content updates run on channel switch
2023-07-12 20:08:11 -04:00
PikachuEXEandGitHub 0d10face50 Fix copyToClipboard function (#3762)
* Revert "Bump prettier from 2.8.8 to 3.0.0 (#3758)"

This reverts commit f77ae6da16.

* ! Fix function optioinal option argument declaration
2023-07-12 23:06:22 +02:00
PikachuEXEandGitHub 5f49215595 Revert "Bump prettier from 2.8.8 to 3.0.0 (#3758)" (#3761)
This reverts commit f77ae6da16.
2023-07-11 18:49:54 +02:00
242c93e163 Update subscription view to be able to load videos from video cache per channel (#3668)
* Changes from PR #3673

* * Update subscription view to be able to load videos from video cache again

* * Update subscription view to be able to load videos from video cache per channel

* * Remove meaningless argument `allowUseOfChannelCache`

* $ Remove unused imports

---------

Co-authored-by: petaded <code@zikl.co.uk>
2023-07-02 10:37:28 -04:00
PikachuEXEandGitHub 2c759b8ba1 * Update view to ignore keyboard events caused by user holding keys (#3709)
No point keep refreshing info on key hold
2023-06-27 19:04:48 +02:00
PikachuEXEandGitHub 27e9a22c21 Update watch page chapter component to scroll to current chapter on expand (#3610)
* * Update watch page chapter component to scroll to current chapter on expand

* ~ Remove irrelavent comment from copy & paste
2023-06-02 18:06:09 +02:00
PikachuEXEandGitHub cf7c6b9974 ! Fix live videos as list items had no save to playlist button (#3598)
Already present in watch page
2023-05-29 21:50:56 +02:00
PikachuEXEandGitHub da6acf2599 Ensure screen saver blocker removed when window closed (#3557)
* $ Extract method for stopping screen saver blocker

* ! Ensure screen saver blocker removed when window closed

* * Move beforeunload event listener removal to beforeDestroy
2023-05-23 07:37:44 -04:00
PikachuEXEandGitHub 9523bc733a Fix comment section style inconsistency and more... (#3231)
* ! Fix YT comment loading for video with comment disabled

* * Update video view w/ Local API to render video comment disabled as no comment

* ! Fix style with less side effects
2023-05-22 17:37:59 -04:00
PikachuEXEandGitHub d3b3be7794 Update watch view playlist component to auto scroll to current video (#3399)
* * Update watch view playlist component to auto scroll to current video

* ! Fix window being scrolled when playlist is out of initial view

* * Use `nextTick` instead of `setTimeout`

* Revert "* Use `nextTick` instead of `setTimeout`"

This reverts commit 9215b0fe54ddbff24a2f95641c996d57c540d82c.

* * Remove setTimeout, fix issue when Invidious API used
2023-05-18 22:13:42 -04:00
PikachuEXEandGitHub 4363c71ab4 ! Ensure FT stay "running in background" on MacOS after all window closed (#3526) 2023-05-11 23:34:20 +00:00
PikachuEXEandGitHub 8646e93f7f Fix the flash when more data loaded in History & UserPlaylists view (#3507)
* ! Fix the flash when more data loaded in History & UserPlaylists view

* * Remove unused imports
2023-05-11 20:28:42 +02:00
PikachuEXEandGitHub 1c29745d98 Update History & UserPlaylists view to filter with delay (#3451)
* * Update History & UserPlaylists view to filter with delay

* * Use lodash.debounce to implement

* * Update delay to 500ms

* * Update to have delay with empty query string
2023-05-06 12:19:47 +00:00
PikachuEXEandGitHub 8765d2ae6d Fix local run parsing to ensure URL not manipulated unnecessarily breaking the URL (#3467)
* ! Fix local run parsing to ensure URL not manipulated unnecesarily breaking the URL

* Rename new variable
2023-05-03 00:05:30 -04:00
0e11fd06f1 Update watch page to stop at end of playlist (when loop disabled) without countdown (#3362)
* * Update watch page to stop at end of playlist (when loop disabled) without countdown

* Update src/renderer/views/Watch/Watch.js

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

* ! Fix playlist end message shown when loop enabled

---------

Co-authored-by: absidue <48293849+absidue@users.noreply.github.com>
2023-04-27 17:10:14 +02:00
b5e35d0543 Add setting to auto load comment section (#3352)
* + Add setting to auto load comment section

* * Cleanup hooks when possible

* * Update new setting to be a toggle

Possible values reduced to disabled & 0%

* * Use vue-observe-visibility to implement comment autoload

* - Remove unused translation entries

* - Remove no longer valid code comment

* * Rename & retype new setting

* * Implement auto more comment loading

* - Remove outdated comment

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

* * Disable new setting switch when hide comments enabled

* * Remove the unnecessary delay on video comment loading

* * Update according to review

* * Disable autoload when hide comment enabled

---------

Co-authored-by: absidue <48293849+absidue@users.noreply.github.com>
2023-04-26 21:56:42 -04:00
PikachuEXEandGitHub f6d8e78d25 ! Fix video comment external link parsing for local API (#3448) 2023-04-25 20:01:06 -04:00
PikachuEXEandGitHub a3c4981ffa ! Fix thumbnail URL for protocol-relative URLs (#3452) 2023-04-25 23:12:40 +00:00
PikachuEXEandGitHub 3597499df1 * Update video list display & watch page to not use stored watch progress when progress saving disabled (#3453) 2023-04-20 16:43:59 +02:00
PikachuEXEandGitHub 8be4b0dffa Fix "mention" in comments was rendered as link with channel URL (#3351)
* ! Fix "mention" in comments was rendered as link with channel URL

* ! Fix original space padding logic

* $ Refactor code as suggested
2023-04-17 09:22:05 -04:00
PikachuEXEandGitHub 454534adb7 Fix some translation entries sometimes not used when rendered (#3337)
* * Update all translation keys with 2 spaces to have 1 space only

Avoid not being translated when rendering

* - Remove unused translation entry
2023-04-08 22:50:52 +00:00
dedd1f8f93 Fix trending & search result list rendered items not updated without workaround (#3342)
* ! Fix trending video list not updated without a workaround

* ~ Remove outdated comment

* ! Fix search result list rendered items not updated without workaround

* ! Fix invidious API search result incorrect appending

* ! Fix typo & key

* Remove not longer needed timeout

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

---------

Co-authored-by: absidue <48293849+absidue@users.noreply.github.com>
2023-04-01 22:15:38 +00:00
5db3ab5b5c Fix adaptive format picked by video JS sometimes not showing up in quality selector (#3350)
* ! Fix adaptive format picked by video JS sometimes not showing up in quality selector

* Apply suggestions from code review

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

* ! Workaround invidious issue on AV1 formats

* Update src/renderer/views/Watch/Watch.js

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

---------

Co-authored-by: absidue <48293849+absidue@users.noreply.github.com>
2023-04-01 18:27:30 +00:00
PikachuEXEandGitHub 6e44f1af9c * Update subscription view to render video as watched ASAP (#3353)
Before this change a view change (back & forth) is needed if video is watched in another window
2023-03-26 14:21:56 -04:00
PikachuEXEandGitHub f0ba90e766 ! Fix handling of channel.subscriber.text being undefined (#3340) 2023-03-22 19:10:34 +00:00
PikachuEXEandGitHub a878ff395a Fix error when playing video with playlist with Indivious API and... (#3294)
* ! Fix error when playing video with playlist with Indivious API

* ! Fix switching comment sort does not get first page of comments
2023-03-14 14:18:48 -04:00
PikachuEXEandGitHub 4ab2515696 ^ Update electron 22.x (#3263) 2023-03-06 18:28:44 +01:00
PikachuEXEandGitHub 5713e66822 * 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
PikachuEXEandGitHub 4ad3ec2c5f Update subscriptions view to display video publish time in relative form even fetched via RSS (#3216)
* * Update subscriptions view to display video publish time in relative form even fetched via RSS

* * Update to support seconds, months, years

Also add more code comments
Also fix issue of display after switching back from another view
2023-02-26 20:23:06 -05:00
PikachuEXEandGitHub 20064c6607 Fix last view playlist saving with multiple windows (#3137)
* $ Rename arguments in functions

* ! Fix last view playlist saving with multiple windows
2023-02-05 20:48:31 -05:00
PikachuEXEandGitHub 0daa422284 Add feature to remember video history with last viewed playlist when enabled (#3006)
* + Add "infra" code for new feature

* * Update view/component to implement remembering last playlistID in history

* * Implement option to disable new feature

* ! Fix implementation for use case "Find a video (with playlist PL-A) to view, go to channel, view that same video, no playlist restored"
2023-01-26 03:18:04 +01:00
PikachuEXEandGitHub 38b856f546 ! 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
PikachuEXEandGitHub 590f3a6121 ! Fix searching (2nd time onward) in channel view broken (#3073) 2023-01-20 01:00:29 +01:00
PikachuEXEandGitHub a89c2005e8 ! Fix search view not loading result starting 2nd page via local API (#3074) 2023-01-19 04:35:20 +01:00
PikachuEXEandGitHub 5f522d5635 ! Fix searching in channel view broken (#3062) 2023-01-14 15:01:45 +00:00
PikachuEXEandGitHub 67b9a74ae3 ! Fix code for getting event.key lowercase value (#3061) 2023-01-14 15:01:12 +00:00
PikachuEXEandGitHub fed27197da Add support for lefthook local config for setting up option rc (#2961)
* ^ Update lefthook to 1.2.6

* + Add support for lefthook local config for setting up option `rc`

https://github.com/evilmartians/lefthook/blob/master/docs/configuration.md#rc
2023-01-03 19:20:26 +01:00
PikachuEXEandGitHub 0d0d64d957 ! Fix Ctrl/Cmd + C unable to copy text when viewing video (#3027) 2023-01-03 19:20:16 +01:00
PikachuEXEandGitHub b96c6b5542 Fix clear button covered by new input wrapper (#3016)
* $ Fix CSS warnings

* ! Fix clear button covered by new input wrapper
2022-12-31 17:30:06 +01:00
PikachuEXEandGitHub f91395de85 Update copyleft year to 2023 (#3017) 2022-12-31 07:30:43 -05:00
72a839fc1c Update app menu to add items for side nav items (#2965)
* * Update app menu to add items for side nav items

* * Show app menu items accoridng to user settings

* * Update app menu on setting update

* ! Fix setting values reading when db entry(s) absent

* $ Use `?.` instead of try/catch

Suggested by absidue

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

Co-authored-by: absidue <48293849+absidue@users.noreply.github.com>
2022-12-26 16:42:43 -05:00
PikachuEXEandGitHub 1a0786f39b ! Fix possible to do both actions in video player by scrolling (#2989)
"Scroll playback rate over video player" and "Skip by Scrolling Over Video Player"
2022-12-25 13:06:18 +01:00
PikachuEXEandGitHub a09a94ac03 ! Fix incorrect selector (meant to be multiple targets not nested) (#2962) 2022-12-19 20:57:26 +00:00
PikachuEXEandGitHub 5603b40301 ! Fix enter on input doesn't work with empty visible data list (#2966) 2022-12-15 17:57:00 +01:00
PikachuEXEandGitHub e96116af10 * Update app menu to add items for going back/forward in router history (#2933) 2022-12-11 08:41:03 +01:00
PikachuEXEandGitHub fa9a992a52 Update copy/open YT video in playlist view to have playlist ID when present (#2848)
* * Update copy/open YT video in playlist view to have playlist ID when present

* * Update YT share URL for video with playlist
2022-12-06 08:47:34 +01:00
PikachuEXEandGitHub deb463e8fc * Update custom image request to handle error event (#2902)
https://www.electronjs.org/docs/latest/api/client-request#event-error
2022-11-30 08:03:38 -05:00
PikachuEXEandGitHub 2ad431622a * Update app menu to add item for history (#2870) 2022-11-24 18:47:44 +01:00
PikachuEXEandGitHub 53025b0339 * Update chapter marker style (#2776) 2022-11-01 22:37:04 -04:00
PikachuEXEandGitHub 31938d9b6f * Update app menu to add item for preferences (#2777) 2022-10-29 17:08:03 +00:00
PikachuEXEandGitHub 21a31cf6f5 Upgrade electron from 20 > 21 (#2717)
* ^ Update electron 20.x

* ^ Update electron 21.x

* * Update .babelrc about target
2022-10-13 22:09:02 +00:00
PikachuEXEandGitHub da5e967713 ^ Update electron 20.x (#2681) 2022-10-06 16:29:04 +02:00
PikachuEXEandGitHub 21371eec1a * Update search in new window function to also copy original query text to new window search input (#2637) 2022-09-29 21:22:28 +00:00
PikachuEXEandGitHub d8de7fe06f * Implement last window's fullscreen state (#2495) 2022-09-20 08:49:45 -04:00
PikachuEXEandGitHub 7ed47749f7 ^ Update electron 20.x (#2577) 2022-09-15 11:46:42 +02:00
PikachuEXEandGitHub 9a7a4c4fd7 Update auto-label-issue GH workflow config to use multiline (#2565)
Validated via a YAML Parser
2022-09-11 14:11:47 -04:00
PikachuEXEandGitHub c845df9d53 ^ Update electron 20.x (#2549) 2022-09-08 07:09:49 -04:00