New feature flag with ability to migrate GV1 groups

This commit is contained in:
Scott Nonnenberg 2020-12-01 08:42:35 -08:00 committed by GitHub
parent 089a6fb5a2
commit 2b8ae412e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
26 changed files with 608 additions and 189 deletions

View file

@ -8,7 +8,7 @@ import { action } from '@storybook/addon-actions';
import { setup as setupI18n } from '../../../js/modules/i18n';
import enMessages from '../../../_locales/en/messages.json';
import { Props, Timeline } from './Timeline';
import { PropsType, Timeline } from './Timeline';
import { TimelineItem, TimelineItemType } from './TimelineItem';
import { LastSeenIndicator } from './LastSeenIndicator';
import { TimelineLoadingRow } from './TimelineLoadingRow';
@ -278,7 +278,7 @@ const renderTypingBubble = () => (
/>
);
const createProps = (overrideProps: Partial<Props> = {}): Props => ({
const createProps = (overrideProps: Partial<PropsType> = {}): PropsType => ({
i18n,
haveNewest: boolean('haveNewest', overrideProps.haveNewest !== false),