Call Quality Survey Integration

This commit is contained in:
yash-signal
2025-12-10 14:05:46 -06:00
committed by GitHub
parent 4b2f6af4ad
commit 1338eadf6f
29 changed files with 840 additions and 54 deletions

View File

@@ -329,6 +329,8 @@ type PropsFunctionType = {
__dangerouslyRunAbitraryReadOnlySqlQuery: (
readonlySqlQuery: string
) => Promise<ReadonlyArray<RowType<object>>>;
callQualitySurveyCooldownDisabled: boolean;
setCallQualitySurveyCooldownDisabled: (value: boolean) => void;
// Localization
i18n: LocalizerType;
@@ -538,6 +540,8 @@ export function Preferences({
generateDonationReceiptBlob,
internalDeleteAllMegaphones,
__dangerouslyRunAbitraryReadOnlySqlQuery,
callQualitySurveyCooldownDisabled,
setCallQualitySurveyCooldownDisabled,
}: PropsType): JSX.Element {
const storiesId = useId();
const themeSelectId = useId();
@@ -2289,6 +2293,12 @@ export function Preferences({
__dangerouslyRunAbitraryReadOnlySqlQuery={
__dangerouslyRunAbitraryReadOnlySqlQuery
}
callQualitySurveyCooldownDisabled={
callQualitySurveyCooldownDisabled
}
setCallQualitySurveyCooldownDisabled={
setCallQualitySurveyCooldownDisabled
}
/>
}
contentsRef={settingsPaneRef}