diff --git a/packages/desktop/src/components/Conversations.tsx b/packages/desktop/src/components/Conversations.tsx index 80924ea..59321a4 100644 --- a/packages/desktop/src/components/Conversations.tsx +++ b/packages/desktop/src/components/Conversations.tsx @@ -95,8 +95,49 @@ const Conversations = () => { - {searchVal && } + {searchVal ? : <>} + + ); +}; +function ListPeople({ people }: { people: User[] }) { + return ( + + Search Results + + } + > + {people.length === 0 && ( + + Sorry please try someone else or invite them to nirvana. + + )} + + {people.map((person) => ( + + + + + + + + + 20 sec + + + ))} + + ); +} + +function StaticListConversations() { + return ( + <> { ); -}; - -function ListPeople({ people }: { people: User[] }) { - return ( - - Search Results - - } - > - {people.length === 0 && ( - - Sorry please try someone else or invite them to nirvana. - - )} - - {people.map((person) => ( - - - - - - - - - 20 sec - - - ))} - - ); } export default Conversations; diff --git a/packages/desktop/src/components/Terminal.tsx b/packages/desktop/src/components/Terminal.tsx index 921d846..d22f892 100644 --- a/packages/desktop/src/components/Terminal.tsx +++ b/packages/desktop/src/components/Terminal.tsx @@ -15,6 +15,22 @@ interface ITerminalContext { const TerminalContext = React.createContext({}); +// TODOS +// fetch all conversations that I am part of + +// create a convo +// 1. search +// 2. click on person +// 3. search database if there is already a convo for this +// - if yes: select this one +// - if no: create one +// 4. show the conversation details page show on right +// 5. connect live if other person there +// 6. send first clip +// 7. display all blocks/clips for convo simple and separate + +// if no conversations, show stale state + create one with nirvana + export function TerminalProvider({ children }: { children?: React.ReactNode }) { const { enqueueSnackbar } = useSnackbar();