From f9a2e30526bfd656164edadfc1c20dde0f76d3c2 Mon Sep 17 00:00:00 2001 From: talksik Date: Mon, 16 May 2022 16:56:18 -0500 Subject: [PATCH] cleaner playback chunks --- .../protected/terminal/panels/MainPanel.tsx | 151 ++++++++---------- 1 file changed, 69 insertions(+), 82 deletions(-) diff --git a/packages/desktop/src/tree/protected/terminal/panels/MainPanel.tsx b/packages/desktop/src/tree/protected/terminal/panels/MainPanel.tsx index bfe8a1f..5185a2d 100644 --- a/packages/desktop/src/tree/protected/terminal/panels/MainPanel.tsx +++ b/packages/desktop/src/tree/protected/terminal/panels/MainPanel.tsx @@ -163,52 +163,34 @@ function LineDetails() { - {/* line timeline */} -
- load more +
+ {/* line timeline */} +
+ load more - yesterday - -
- {selectedLine.otherUserObjects.map((otherUser) => ( -
- - {otherUser.givenName} - - {`${ - Math.floor(Math.random() * 10) + 1 - }:${Math.floor(Math.random() * 100) + 10}pm |`} - - {`${ - Math.floor(Math.random() * 60) + 1 - } seconds`} -
- ))} + yesterday
- - {'Arjun Patel'} + + {selectedLine.otherUserObjects.map((otherUser) => ( + + ))} + + + {selectedLine.otherUserObjects.map((otherUser) => ( + + {`${otherUser.givenName}, `} + + ))} {`${ Math.floor(Math.random() * 10) + 1 @@ -218,45 +200,53 @@ function LineDetails() { Math.floor(Math.random() * 60) + 1 } seconds`}
+ + today + +
+ + {selectedLine.otherUserObjects.map((otherUser) => ( + + ))} + + + {selectedLine.otherUserObjects.map((otherUser) => ( + + {`${otherUser.givenName}, `} + + ))} + + {`${ + Math.floor(Math.random() * 10) + 1 + }:${Math.floor(Math.random() * 100) + 10}pm |`} + + {`${ + Math.floor(Math.random() * 60) + 1 + } seconds`} +
+ + {/* live broadcasters */} + + + right now + + + {/* change to show only the broadcasters */} + {/* */}
- today - -
- {selectedLine.otherUserObjects.map((otherUser) => ( - // TODO: show the shadow if it's unheard -
- - {otherUser.name} - - {`${ - Math.floor(Math.random() * 10) + 1 - }:${Math.floor(Math.random() * 100) + 10}pm |`} - - {`${ - Math.floor(Math.random() * 60) + 1 - } seconds`} -
- ))} -
- - {/* live broadcasters */} - - - right now - -
+
{selectedLine.otherUserObjects.map((otherUser) => (
))}
- - {/* change to show only the broadcasters */} - {/* */}