Introduce a new design for the left pane

This commit is contained in:
Evan Hahn 2021-10-12 18:59:08 -05:00 committed by GitHub
parent d60600d6fb
commit 35a54cdc02
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
63 changed files with 1205 additions and 576 deletions

View file

@ -46,6 +46,7 @@ import {
invertIdsByTitle,
} from '../../util/groupMemberNameCollisions';
import { ContactSpoofingType } from '../../util/contactSpoofing';
import type { WidthBreakpoint } from '../../components/_util';
type ExternalProps = {
id: string;
@ -109,6 +110,7 @@ const createBoundOnHeightChange = memoizee(
function renderItem({
actionProps,
containerElementRef,
containerWidthBreakpoint,
conversationId,
messageId,
nextMessageId,
@ -117,6 +119,7 @@ function renderItem({
}: {
actionProps: TimelineActionsType;
containerElementRef: RefObject<HTMLElement>;
containerWidthBreakpoint: WidthBreakpoint;
conversationId: string;
messageId: string;
nextMessageId: undefined | string;
@ -127,6 +130,7 @@ function renderItem({
<SmartTimelineItem
{...actionProps}
containerElementRef={containerElementRef}
containerWidthBreakpoint={containerWidthBreakpoint}
conversationId={conversationId}
messageId={messageId}
previousMessageId={previousMessageId}