New compose UX for usernames/e164

Co-authored-by: Jamie Kyle <113370520+jamiebuilds-signal@users.noreply.github.com>
This commit is contained in:
Fedor Indutny 2024-02-08 15:19:03 -08:00 committed by GitHub
parent e69826dcc6
commit a329189489
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
42 changed files with 19223 additions and 142 deletions

View file

@ -11,6 +11,7 @@ import type {
SaveAvatarToDiskActionType,
} from '../../types/Avatar';
import type { DurationInSeconds } from '../../util/durations';
import type { LookupConversationWithoutServiceIdActionsType } from '../../util/lookupConversationWithoutServiceId';
import type { ShowConversationType } from '../../state/ducks/conversations';
export enum FindDirection {
@ -43,6 +44,7 @@ export abstract class LeftPaneHelper<T> {
onChangeComposeSearchTerm: (
event: ChangeEvent<HTMLInputElement>
) => unknown;
onChangeComposeSelectedRegion: (newRegion: string) => void;
updateSearchTerm: (searchTerm: string) => unknown;
showConversation: ShowConversationType;
}>
@ -83,11 +85,15 @@ export abstract class LeftPaneHelper<T> {
}
getFooterContents(
_: Readonly<{
i18n: LocalizerType;
startSettingGroupMetadata: () => void;
createGroup: () => unknown;
}>
_: Readonly<
{
i18n: LocalizerType;
startSettingGroupMetadata: () => void;
createGroup: () => unknown;
showInbox: () => void;
showConversation: ShowConversationType;
} & LookupConversationWithoutServiceIdActionsType
>
): null | ReactChild {
return null;
}