Merge pull request 'Configure Renovate' (#2) from renovate/configure into develop
Some checks reported errors
Gitea Test/public-plex-watchlist/pipeline/head This commit looks good
Plex Watchlist Analysis/pipeline/head Something is wrong with the build of this commit
plex-watchlist/pipeline/head This commit looks good

Reviewed-on: #2
This commit is contained in:
2024-09-05 20:54:07 +00:00
7 changed files with 23 additions and 16 deletions

9
CHANGELOG.md Normal file
View File

@@ -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.

2
Jenkinsfile vendored
View File

@@ -36,7 +36,7 @@ pipeline {
stage('Deploy if tagged') {
when {
tag pattern: '(\\d+\\.){3}', comparator: "REGEXP"
tag pattern: '\\d+\\.\\d+\\.\\d+', comparator: "REGEXP"
}
steps {
s3Upload profileName: 'Irrsinn.net Buckets',

View File

@@ -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)

4
package-lock.json generated
View File

@@ -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",

View File

@@ -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": {

3
renovate.json Normal file
View File

@@ -0,0 +1,3 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json"
}

View File

@@ -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();
}
// }