From 0e339f5fd5985f1c5d233d2f59671b8b9b9f47ab Mon Sep 17 00:00:00 2001 From: Matthias Luger Date: Sun, 8 Mar 2026 21:38:39 +0100 Subject: [PATCH 1/3] show info if no flips are shown --- components/Flipper/Flipper.tsx | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/components/Flipper/Flipper.tsx b/components/Flipper/Flipper.tsx index 6264a5ea5..22335f9bd 100644 --- a/components/Flipper/Flipper.tsx +++ b/components/Flipper/Flipper.tsx @@ -6,7 +6,7 @@ import HandIcon from '@mui/icons-material/PanTool' import SearchIcon from '@mui/icons-material/Search' import Link from 'next/link' import { useEffect, useRef, useState } from 'react' -import { Button, Card, Form, Modal } from 'react-bootstrap' +import { Alert, Button, Card, Form, Modal } from 'react-bootstrap' import { Item, Menu, useContextMenu } from 'react-contexify' import Countdown, { zeroPad } from 'react-countdown' import AutoSizer from 'react-virtualized-auto-sizer' @@ -55,8 +55,8 @@ function Flipper(props: Props) { let [flips, setFlips] = useState( props.flips ? props.flips.map(parseFlipAuction).filter(flip => { - return flipperFilter.onlyUnsold ? !flip.sold : true - }) + return flipperFilter.onlyUnsold ? !flip.sold : true + }) : [] ) let [isLoggedIn, setIsLoggedIn] = useState(false) @@ -208,7 +208,7 @@ function Flipper(props: Props) { function onArrowRightClick() { if (listRef.current) { - ;(listRef.current as any).scrollToItem(flips.length - 1) + ; (listRef.current as any).scrollToItem(flips.length - 1) } } @@ -353,7 +353,7 @@ function Flipper(props: Props) { setFlipperFilter(newFilter) setFlips([]) if (listRef.current) { - ;(listRef.current as any)?.scrollToItem(flips.length - 1) + ; (listRef.current as any)?.scrollToItem(flips.length - 1) } } @@ -412,7 +412,7 @@ function Flipper(props: Props) { () => { window.location.reload() }, - () => {}, + () => { }, true ) localStorage.removeItem('userSettings') @@ -655,6 +655,15 @@ function Flipper(props: Props) { ) : null}
+ {flips.length === 0 && !isLoading ? ( + + No flips match your current filters +

+ Your filter settings are limiting results. Try reducing the minimum profit, lowering the minimum volume, increasing the + maximum cost, or removing blacklist entries to see more flips. +

+
+ ) : null} {!isSSR ? (
Date: Sun, 8 Mar 2026 21:52:36 +0100 Subject: [PATCH 2/3] Update components/Flipper/Flipper.tsx Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- components/Flipper/Flipper.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/Flipper/Flipper.tsx b/components/Flipper/Flipper.tsx index 22335f9bd..d9730971a 100644 --- a/components/Flipper/Flipper.tsx +++ b/components/Flipper/Flipper.tsx @@ -656,7 +656,7 @@ function Flipper(props: Props) {
{flips.length === 0 && !isLoading ? ( - + No flips match your current filters

Your filter settings are limiting results. Try reducing the minimum profit, lowering the minimum volume, increasing the From e18519f3c88fa8c996ed03aea6d3f06e5e0d72c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=84kwav?= Date: Mon, 9 Mar 2026 14:38:59 +0100 Subject: [PATCH 3/3] update the info field --- components/Flipper/Flipper.tsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/components/Flipper/Flipper.tsx b/components/Flipper/Flipper.tsx index d9730971a..0f4340aba 100644 --- a/components/Flipper/Flipper.tsx +++ b/components/Flipper/Flipper.tsx @@ -656,11 +656,10 @@ function Flipper(props: Props) {


{flips.length === 0 && !isLoading ? ( - - No flips match your current filters + + No recent flips match your current filters

- Your filter settings are limiting results. Try reducing the minimum profit, lowering the minimum volume, increasing the - maximum cost, or removing blacklist entries to see more flips. + Your filter settings are limiting results. New flips probably show up soon. If they don't in 1-2 Minutes try making your settings less strict, eg reduce your minimum profit.

) : null}