diff --git a/frontend/src/components/IncomingStreams.tsx b/frontend/src/components/IncomingStreams.tsx index eedcdeb4..7af9ccce 100644 --- a/frontend/src/components/IncomingStreams.tsx +++ b/frontend/src/components/IncomingStreams.tsx @@ -45,6 +45,35 @@ const ClaimableAmount: React.FC<{ stream: Stream }> = ({ stream }) => { ); }; +/** + * Shown when the current filter returns no results. + * Distinguished from the global empty-state (no streams at all), which is + * handled one level up in dashboard-view.tsx. + */ +const FilterEmptyState: React.FC<{ filter: string; onClearFilter: () => void }> = ({ filter, onClearFilter }) => ( +
+ No {filter} streams found. +
++ Try a different filter or wait for new streams to arrive. +
+ +| Sender | -Token | -Deposited | -Withdrawn | -Claimable | -Status | -Actions | -
|---|---|---|---|---|---|---|
|
- {stream.recipient}
- Stream #{stream.id}
- |
- {stream.token} | -{formatTokenAmount(stream.deposited)} {stream.token} | -{formatTokenAmount(stream.withdrawn)} {stream.token} | -
- |
- - - {stream.status} - - | -- | +
{description}
+ {action} +{message}
+- {formatCurrency(snapshot.totalReceived)} -
+{formatCurrency(snapshot.totalReceived)}
- {formatCurrency(snapshot.totalValueLocked)} -
+{formatCurrency(snapshot.totalValueLocked)}
{stream.recipient}
- {stream.recipient}{activity.description}
- {formatActivityTime(activity.timestamp)} -No recent activity yet.
-{activity.description}
+ {formatActivityTime(activity.timestamp)} +{snapshotError}
-- You haven't created or received any payment streams yet. - Connect with others and start streaming tokens in real-time. -
-No active outgoing streams.
-| Stream ID | -Counterparty | -Token | -Status | -
|---|---|---|---|
| #{s.id} | -{s.recipient} | -{s.token} | -Paused | -
| Stream ID | +Counterparty | +Token | +Status | +
|---|---|---|---|
| #{s.id} | +{s.recipient} | +{s.token} | ++ + Paused + + | +
- Save recurring stream settings once, apply instantly, then override - before submitting. -
+Save recurring stream settings once, apply instantly, then override before submitting.
No templates yet. Save your first stream setup.
-No templates yet. Save your first stream setup.