Ability to click megaphone in narrow sidebar to expand sidebar

This commit is contained in:
ayumi-signal
2026-01-16 14:22:18 -08:00
committed by GitHub
parent 1c8b7fc45d
commit d6fc5ac6e3
15 changed files with 79 additions and 52 deletions

View File

@@ -19,12 +19,12 @@ import type {
} from '../state/ducks/calling.preload.js';
import { ConfirmationDialog } from './ConfirmationDialog.dom.js';
import type { UnreadStats } from '../util/countUnreadStats.std.js';
import type { WidthBreakpoint } from './_util.std.js';
import type { CallLinkType } from '../types/CallLink.std.js';
import type { CallStateType } from '../state/selectors/calling.std.js';
import type { StartCallData } from './ConfirmLeaveCallModal.dom.js';
import { I18n } from './I18n.dom.js';
import { AxoDropdownMenu } from '../axo/AxoDropdownMenu.dom.js';
import type { SmartPropsType as SmartToastManagerPropsType } from '../state/smart/ToastManager.preload.js';
enum CallsTabSidebarView {
CallsListView,
@@ -70,9 +70,7 @@ type CallsTabProps = Readonly<{
conversationId: string,
callHistoryGroup: CallHistoryGroup | null
) => React.JSX.Element;
renderToastManager: (_: {
containerWidthBreakpoint: WidthBreakpoint;
}) => React.JSX.Element;
renderToastManager: (_: SmartToastManagerPropsType) => React.JSX.Element;
regionCode: string | undefined;
savePreferredLeftPaneWidth: (preferredLeftPaneWidth: number) => void;
startCallLinkLobbyByRoomId: (options: { roomId: string }) => void;