diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..bf2a9a6 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,9 @@ +# Changelog + +## 1.0.0 + +1. Initial release +2. Load from RSS with automatic handling of paging in background load +3. Searching and filtering, with faceted filters on keywords and rating + +Doesn't include the keyword chips being clickable to add to the column filter. \ No newline at end of file diff --git a/README.md b/README.md index e689717..7b1371d 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ -# public-plex-watchlist -Turn your Plex Watchlist RSS feed into an interface non-Plex folks can search and filter +# Public Plex Watchlist + +Turn your Plex Watchlist RSS feed into an interface non-Plex folks can search and filter. + +[Changelog](/CHANGELOG.md) diff --git a/package-lock.json b/package-lock.json index f1e6d5a..c7f41ff 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "public-plex-watchlist", - "version": "0.0.1", + "version": "1.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "public-plex-watchlist", - "version": "0.0.1", + "version": "1.0.0", "license": "Unlicense", "dependencies": { "@emotion/react": "^11.11.4", diff --git a/package.json b/package.json index 70ff83b..f0bdb1e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "public-plex-watchlist", - "version": "0.0.1", + "version": "1.0.0", "description": "Turn your Plex Watchlist RSS feed into an interface non-Plex folks can search and filter.", "source": "src/index.html", "scripts": { diff --git a/src/components/Watchlist/index.js b/src/components/Watchlist/index.js index 9ba827b..6c03efa 100644 --- a/src/components/Watchlist/index.js +++ b/src/components/Watchlist/index.js @@ -1,6 +1,6 @@ import { useInfiniteQuery } from '@tanstack/react-query'; import { fetchPlexWatchlistFeed } from '../../api/plexApi'; -import { useCallback, useEffect, useMemo, useRef } from 'react'; +import { useCallback, useEffect, useMemo } from 'react'; import React from 'react'; import WatchlistTable from '../WatchlistTable'; @@ -24,15 +24,7 @@ export default function Watchlist() { let loadMoreItems = useCallback( (containerRefElement) => { - // if (containerRefElement) { - // const { scrollHeight, scrollTop, clientHeight } = containerRefElement; - //once the user has scrolled within 400px of the bottom of the table, fetch more data if we can - - if ( - // scrollHeight - scrollTop - clientHeight < 400 && - !isFetching && - hasNextPage - ) { + if (!isFetching && hasNextPage) { fetchNextPage(); } // }