From 787ee9d18d1f95755461f0c20443fab542cf78f9 Mon Sep 17 00:00:00 2001 From: Arjun Patel Date: Mon, 31 Jan 2022 18:25:43 -0800 Subject: [PATCH] more progress on list of users --- .../web/components/v2/CreateConversation.tsx | 24 +++++++++++++++---- .../components/v2/KeyboardShortcutHandler.tsx | 23 ++++++++++++++++++ packages/web/pages/s/index.tsx | 3 +++ 3 files changed, 46 insertions(+), 4 deletions(-) create mode 100644 packages/web/components/v2/KeyboardShortcutHandler.tsx diff --git a/packages/web/components/v2/CreateConversation.tsx b/packages/web/components/v2/CreateConversation.tsx index d412108..0116370 100644 --- a/packages/web/components/v2/CreateConversation.tsx +++ b/packages/web/components/v2/CreateConversation.tsx @@ -1,5 +1,7 @@ import { Select, Tag } from "antd"; +import Avatar from "antd/lib/avatar/avatar"; import { useEffect, useRef } from "react"; +import { FaRegTimesCircle } from "react-icons/fa"; const options = [ { value: "gold" }, @@ -15,6 +17,10 @@ export default function CreateConversation() { input.current?.focus(); }, []); + // as people are selected, add a list of users + // if it's an email of a non-nirvana user, then hit invite button to email them with a voice clip along with it + // if it's an existing user, then show a nice chip of that user's profile picture and their name + return (