-
Notifications
You must be signed in to change notification settings - Fork 0
Inbox view for call review #61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
4caa796
4602e6c
cf31650
96ee1e4
609cbf9
4cefd1b
a2eea7c
129b27f
dcb9389
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,7 @@ | ||
| import type { AvatarProps } from '@radix-ui/themes'; | ||
|
|
||
| export interface IAvatarProps { | ||
| name: string; | ||
| pfp?: string; | ||
| size?: AvatarProps['size']; | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,3 +3,7 @@ | |
| border-radius: var(--radius-5); | ||
| border: 1px solid var(--gray-6); | ||
| } | ||
|
|
||
| .content { | ||
| height: 100%; | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,47 @@ | ||
| .inboxViewWrapper, | ||
| .transactionTimelineWrapper { | ||
| > div { | ||
| padding: 0; | ||
| } | ||
| } | ||
|
|
||
| .recentAlerts { | ||
| box-shadow: inset -1px 0 0 0 var(--gray-a5); | ||
| } | ||
|
|
||
| .alertDetails { | ||
|
kyleknighted marked this conversation as resolved.
|
||
| background-color: var(--color-background); | ||
| z-index: 1; | ||
| } | ||
|
|
||
| .callListItem { | ||
| border-radius: var(--radius-5); | ||
| background-color: var(--color-background); | ||
| box-shadow: inset 0 0 0 1px var(--gray-a4); | ||
| height: fit-content; | ||
| width: 100%; | ||
| align-items: start; | ||
| } | ||
|
|
||
| .callListItemHeading { | ||
| color: var(--gray-12); | ||
| width: 100%; | ||
| } | ||
|
|
||
| .callListItemSelected { | ||
| box-shadow: inset 0 0 0 1px var(--blue-9); | ||
| } | ||
|
|
||
| .newMessageBadge { | ||
| border-radius: var(--radius-5); | ||
| background-color: var(--blue-5); | ||
| width: 6px; | ||
| height: 6px; | ||
| } | ||
|
|
||
| .tabContentRoot { | ||
| height: 100%; | ||
| flex: 1; | ||
| position: relative; | ||
| padding-inline: var(--space-4); | ||
| } | ||
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,73 @@ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| import type { Meta, StoryObj } from '@storybook/react-vite'; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| import { InboxView, type IInboxViewProps } from '../..'; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| import TranscriptItem from './parts/TranscriptItem'; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| import { Box, Text } from '@radix-ui/themes'; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| const meta = { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| title: 'Compound/InboxView', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| component: InboxView, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| parameters: { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| layout: 'full', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| tags: ['autodocs'], | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| render: (args) => ( | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <Box height="100vh"> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <InboxView {...args} /> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| </Box> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| args: { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| tabs: [ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| label: 'Transcript', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| value: 'transcript', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| content: ( | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <TranscriptItem /> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <TranscriptItem /> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <TranscriptItem /> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <TranscriptItem /> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <TranscriptItem /> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <TranscriptItem /> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <TranscriptItem /> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <TranscriptItem /> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <TranscriptItem /> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <TranscriptItem /> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <TranscriptItem /> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <TranscriptItem /> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <TranscriptItem /> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <TranscriptItem /> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <TranscriptItem /> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <TranscriptItem /> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <TranscriptItem /> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <TranscriptItem /> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <TranscriptItem /> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <TranscriptItem /> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <TranscriptItem /> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <TranscriptItem /> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <TranscriptItem /> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| </> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| label: 'Details', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| value: 'details', | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| content: ( | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <Box> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <Text size="2" color="gray"> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Meeting Details: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| </Text> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <Text size="3">- Date: January 1, 2024</Text> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <Text size="3">- Time: 12:00 PM</Text> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <Text size="3">- Participants: Alice, Bob</Text> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| </Box> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ), | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ], | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Comment on lines
+19
to
+65
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| tabs: [ | |
| { | |
| label: 'Transcript', | |
| value: 'transcript', | |
| content: ( | |
| <> | |
| <TranscriptItem /> | |
| <TranscriptItem /> | |
| <TranscriptItem /> | |
| <TranscriptItem /> | |
| <TranscriptItem /> | |
| <TranscriptItem /> | |
| <TranscriptItem /> | |
| <TranscriptItem /> | |
| <TranscriptItem /> | |
| <TranscriptItem /> | |
| <TranscriptItem /> | |
| <TranscriptItem /> | |
| <TranscriptItem /> | |
| <TranscriptItem /> | |
| <TranscriptItem /> | |
| <TranscriptItem /> | |
| <TranscriptItem /> | |
| <TranscriptItem /> | |
| <TranscriptItem /> | |
| <TranscriptItem /> | |
| <TranscriptItem /> | |
| <TranscriptItem /> | |
| <TranscriptItem /> | |
| </> | |
| ), | |
| }, | |
| { | |
| label: 'Details', | |
| value: 'details', | |
| content: ( | |
| <Box> | |
| <Text size="2" color="gray"> | |
| Meeting Details: | |
| </Text> | |
| <Text size="3">- Date: January 1, 2024</Text> | |
| <Text size="3">- Time: 12:00 PM</Text> | |
| <Text size="3">- Participants: Alice, Bob</Text> | |
| </Box> | |
| ), | |
| }, | |
| ], | |
| content: ( | |
| <> | |
| <TranscriptItem /> | |
| <TranscriptItem /> | |
| <TranscriptItem /> | |
| <TranscriptItem /> | |
| <TranscriptItem /> | |
| <TranscriptItem /> | |
| <TranscriptItem /> | |
| <TranscriptItem /> | |
| <TranscriptItem /> | |
| <TranscriptItem /> | |
| <TranscriptItem /> | |
| <TranscriptItem /> | |
| <TranscriptItem /> | |
| <TranscriptItem /> | |
| <TranscriptItem /> | |
| <TranscriptItem /> | |
| <TranscriptItem /> | |
| <TranscriptItem /> | |
| <TranscriptItem /> | |
| <TranscriptItem /> | |
| <TranscriptItem /> | |
| <TranscriptItem /> | |
| <TranscriptItem /> | |
| </> | |
| ), | |
| callList: ( | |
| <Box> | |
| <Text size="2" color="gray"> | |
| Meeting Details: | |
| </Text> | |
| <Text size="3">- Date: January 1, 2024</Text> | |
| <Text size="3">- Time: 12:00 PM</Text> | |
| <Text size="3">- Participants: Alice, Bob</Text> | |
| </Box> | |
| ), |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,85 @@ | ||
| import type { IInboxViewProps } from './InboxView.types'; | ||
| import styles from './InboxView.module.css'; | ||
| import ContentWrapper from '../../atom/ContentWrapper/ContentWrapper'; | ||
| import { Box, Button, Flex, Heading, IconButton, Text } from '@radix-ui/themes'; | ||
| import { useState } from 'react'; | ||
| import CallList from './parts/CallList'; | ||
| import { SidebarSimpleIcon } from '@phosphor-icons/react'; | ||
|
|
||
| const InboxView = ({ content, callList }: IInboxViewProps) => { | ||
| const [callListCollapsed, setCallListCollapsed] = useState(false); | ||
|
|
||
| return ( | ||
| <ContentWrapper className={styles.inboxViewWrapper} overflow={'hidden'} height="100%"> | ||
| <Flex width="100%" height="100%"> | ||
| {!callListCollapsed && <CallList calls={callList} />} | ||
|
|
||
| <Flex | ||
| pb="4" | ||
| minWidth={'250px'} | ||
| gap="2" | ||
| direction={'column'} | ||
| position={'relative'} | ||
| flexGrow={'1'} | ||
| overflowY="scroll" | ||
| overflowX="hidden" | ||
| > | ||
| <Flex | ||
| justify="between" | ||
| position="sticky" | ||
| top={'0'} | ||
| pt="4" | ||
| px="4" | ||
| pb="2" | ||
| style={{ | ||
| position: 'sticky', | ||
| top: 0, | ||
| backgroundColor: 'var(--gray-1)', | ||
| zIndex: 1, | ||
| paddingTop: 'var(--space-4)', | ||
| paddingBottom: 'var(--space-2)', | ||
| boxShadow: 'inset 0 -1px 0 0 var(--gray-a4)', | ||
| paddingInline: 'var(--space-4)', | ||
| marginRight: '1px', | ||
| }} | ||
| > | ||
| <Flex gap="2"> | ||
| <IconButton | ||
| variant="ghost" | ||
| size="2" | ||
| color="gray" | ||
| mt="1" | ||
| onClick={() => { | ||
| setCallListCollapsed((prev) => !prev); | ||
| }} | ||
| > | ||
| <SidebarSimpleIcon weight="bold" size={20} aria-label="Toggle Call List" /> | ||
| </IconButton> | ||
| <Box> | ||
| <Text size="2" color="gray"> | ||
| January 1, 2024 at 12:00 AM | ||
| </Text> | ||
| <Heading size="6" mt="1"> | ||
| New Year Sync | ||
| </Heading> | ||
| </Box> | ||
| </Flex> | ||
| <Box> | ||
| <Button variant="outline" size="2" color="blue" mr="2"> | ||
| Join Meeting | ||
| </Button> | ||
| <Button variant="outline" size="2" color="red"> | ||
| Remove Agent | ||
| </Button> | ||
| </Box> | ||
| </Flex> | ||
|
|
||
| <Box px="4">{content}</Box> | ||
| </Flex> | ||
| </Flex> | ||
| </ContentWrapper> | ||
| ); | ||
| }; | ||
|
|
||
| export default InboxView; | ||
| export type { IInboxViewProps }; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| export type CallListItem = { | ||
| id: string; | ||
| label: React.ReactNode | string; | ||
| startTime: string; | ||
| severity: string; | ||
| onClick: () => void; | ||
| active: boolean; | ||
| read: boolean; | ||
| }; | ||
|
|
||
| export interface IInboxViewProps { | ||
| content: React.ReactNode; | ||
| callList: Array<CallListItem>; | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| export { default } from './InboxView'; | ||
| export type { IInboxViewProps } from './InboxView.types'; |
Uh oh!
There was an error while loading. Please reload this page.