Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
d1090c3
[Insights polish] Details RHP: Biggest changes
mhawryluk Nov 26, 2026
53e765f
Fix tests
mhawryluk Nov 26, 2026
1538442
Merge branch 'insights/details-rhp-recent-history' into insights/deta…
mhawryluk Nov 27, 2026
36393a0
Fix after merge
mhawryluk Nov 27, 2026
c6e15a8
Refactor section state resolution
mhawryluk Nov 27, 2026
d07c000
Fix gap
mhawryluk Nov 27, 2026
1726b15
Open Biggest changes items with the clicked period's date range and
mhawryluk Nov 27, 2026
fbfec73
Refactor InsightsDetailsPage
mhawryluk Nov 27, 2026
10e07fe
Rename members to spenders
mhawryluk Nov 27, 2026
9eb6417
Merge branch 'main' into insights/details-rhp-biggest-changes
mhawryluk Nov 30, 2026
26fcf9e
Use new comparison colors
mhawryluk Nov 30, 2026
1a17b03
Refactor useRequestInsightsDetails
mhawryluk Nov 30, 2026
95cd8c4
Don't fetch all policies from Onyx in useBiggestChangesGroupBy
mhawryluk Nov 30, 2026
2f967af
Type Biggest changes rows by grouping
mhawryluk Nov 30, 2026
672202b
Improve tests
mhawryluk Nov 30, 2026
0806768
Fetch Biggest changes only when the user picks a grouping
mhawryluk Nov 30, 2026
381cd0a
Refetch Biggest changes on grouping changes but ignore other sessions'
mhawryluk Nov 30, 2026
cf2cf02
Show tooltip for truncated text in the biggest changes rows
mhawryluk Nov 30, 2026
d7ab1eb
Major refactor
mhawryluk Nov 30, 2026
cde8843
Simplify useRequestInsightsDetails
mhawryluk Nov 30, 2026
7c44f84
Add translations
mhawryluk Dec 1, 2026
261e6a9
Merge branch 'main' into insights/details-rhp-biggest-changes
mhawryluk Dec 1, 2026
68ee5fc
Fix after merge
mhawryluk Dec 1, 2026
f3d1a6f
Update comments
mhawryluk Dec 1, 2026
9c60c00
Update tests
mhawryluk Dec 1, 2026
5fd03ae
Use useInitialOnyxValue in useBiggestChangesGroupBy
mhawryluk Dec 1, 2026
4265931
Merge branch 'main' into insights/details-rhp-biggest-changes
mhawryluk Dec 1, 2026
aad12f3
Merge branch 'main' into insights/details-rhp-biggest-changes
mhawryluk Dec 2, 2026
6bfe15b
Drop the percentage change line for giant percentages
mhawryluk Dec 2, 2026
f83394f
Send user-selected biggest changes group-by to the backend instead of
mhawryluk Dec 2, 2026
d937b12
Separate biggest changes errors from the whole panel's + show empty
mhawryluk Dec 2, 2026
76ebc06
Separate stale and error state presentation under biggest changes
mhawryluk Dec 2, 2026
e6ac8b0
Check for count in isEmptyWithoutSpend
mhawryluk Dec 2, 2026
98e1191
Change copy of the empty state to "No spender data for this period."
mhawryluk Dec 2, 2026
2e8aa5a
Apply translations again
mhawryluk Dec 2, 2026
91c9e31
Merge branch 'main' into insights/details-rhp-biggest-changes
mhawryluk Dec 2, 2026
c8b5343
Fix after merge
mhawryluk Dec 2, 2026
ca0556c
Rename prop
mhawryluk Dec 2, 2026
3930122
Merge remote-tracking branch 'origin/main' into insights/details-rhp-…
OlGierd03 Dec 3, 2026
f20cd7e
Merge branch 'main' into insights/details-rhp-biggest-changes
mhawryluk Dec 4, 2026
03e99b6
Update the change percent resolution logic
mhawryluk Dec 4, 2026
dfcfb30
Fix tests and react compiler
mhawryluk Dec 4, 2026
bb84d11
Show -101% for small net refunds that would round to -100%
mhawryluk Dec 4, 2026
5f71aca
Use StyleUtils.getMinimumHeight
mhawryluk Dec 4, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/CONST/SENTRY_LABEL.ts
Original file line number Diff line number Diff line change
Expand Up @@ -957,19 +957,23 @@ const SENTRY_LABEL = {
WORKSPACE: 'Insights-ControlPopupApply-Workspace',
GROUP_BY: 'Insights-ControlPopupApply-GroupBy',
TAG_LEVEL: 'Insights-ControlPopupApply-TagLevel',
BIGGEST_CHANGES: 'Insights-ControlPopupApply-BiggestChanges',
GROUP_CURRENCY: 'Insights-ControlPopupApply-GroupCurrency',
COMPARE: 'Insights-ControlPopupApply-Compare',
},
CONTROL_POPUP_RESET: {
WORKSPACE: 'Insights-ControlPopupReset-Workspace',
GROUP_BY: 'Insights-ControlPopupReset-GroupBy',
TAG_LEVEL: 'Insights-ControlPopupReset-TagLevel',
BIGGEST_CHANGES: 'Insights-ControlPopupReset-BiggestChanges',
GROUP_CURRENCY: 'Insights-ControlPopupReset-GroupCurrency',
COMPARE: 'Insights-ControlPopupReset-Compare',
},
DETAILS_TOP_EXPENSE: 'Insights-DetailsTopExpense',
DETAILS_TOP_EXPENSES_VIEW_ALL: 'Insights-DetailsTopExpensesViewAll',
DETAILS_RECENT_HISTORY_VIEW_ALL: 'Insights-DetailsRecentHistoryViewAll',
DETAILS_BIGGEST_CHANGES_GROUP_BY: 'Insights-DetailsBiggestChangesGroupBy',
DETAILS_BIGGEST_CHANGE: 'Insights-DetailsBiggestChange',
FUTURE_EXPENSES_VIEW: 'Insights-FutureExpensesView',
},
EXPENSE_RULES: {
Expand Down
3 changes: 3 additions & 0 deletions src/CONST/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11205,8 +11205,11 @@ const CONST = {
DETAILS_SECTION: {
SUMMARY: 'summary',
RECENT_HISTORY: 'recentHistory',
BIGGEST_CHANGES: 'biggestChanges',
TOP_EXPENSES: 'topExpenses',
},
BIGGEST_CHANGES_LIMIT: 5,
BIGGEST_CHANGE_MAX_SHOWN_PERCENT: 1000,
},

SECTION_LIST_ITEM_TYPE: {
Expand Down
4 changes: 4 additions & 0 deletions src/ONYXKEYS.ts
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,9 @@ const ONYXKEYS = {
/** Contains the user preference for the active inbox tab filter */
NVP_INBOX_TAB: 'nvp_inboxTab',

/** What the Insights Details panel's Biggest changes section groups by */
NVP_INSIGHTS_BIGGEST_CHANGES_GROUP_BY: 'nvp_insightsBiggestChangesGroupBy',

/** Contains the users's block expiration (if they have one) */
NVP_BLOCKED_FROM_CONCIERGE: 'nvp_private_blockedFromConcierge',

Expand Down Expand Up @@ -1948,6 +1951,7 @@ type OnyxValuesMapping = {
[ONYXKEYS.NVP_MUTED_PLATFORMS]: Partial<Record<Platform, true>>;
[ONYXKEYS.NVP_PRIORITY_MODE]: ValueOf<typeof CONST.PRIORITY_MODE>;
[ONYXKEYS.NVP_INBOX_TAB]: ValueOf<typeof CONST.INBOX_TAB>;
[ONYXKEYS.NVP_INSIGHTS_BIGGEST_CHANGES_GROUP_BY]: OnyxTypes.InsightsBiggestChangesGroupBy;
[ONYXKEYS.NVP_BLOCKED_FROM_CONCIERGE]: OnyxTypes.BlockedFromConcierge;
[ONYXKEYS.QUEUE_FLUSHED_DATA]: AnyOnyxUpdate[];
[ONYXKEYS.TRANSACTIONS_PENDING_3DS_REVIEW]: OnyxTypes.TransactionsPending3DSReview;
Expand Down
6 changes: 5 additions & 1 deletion src/ROUTES.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2533,7 +2533,9 @@ const ROUTES = {
dashboardID,
graphKey,
itemKey,
periodStart,
periodEnd,
periodGroupBy,
tagLevel,
parentTagPath,
asOfDate,
Expand All @@ -2542,13 +2544,15 @@ const ROUTES = {
dashboardID: ValueOf<typeof CONST.INSIGHTS.DASHBOARD>;
graphKey: ValueOf<typeof CONST.INSIGHTS.GRAPH>;
itemKey: string;
periodStart?: string;
periodEnd?: string;
periodGroupBy?: string;
tagLevel?: number;
parentTagPath?: string;
asOfDate?: string;
violationStage?: ValueOf<typeof CONST.INSIGHTS.VIOLATION_STAGE>;
}) =>
`insights/${dashboardID}/details/${graphKey}?item=${encodeURIComponent(itemKey)}${periodEnd ? `&end=${periodEnd}` : ''}${tagLevel ? `&level=${tagLevel}` : ''}${parentTagPath ? `&parent=${encodeURIComponent(parentTagPath)}` : ''}${asOfDate ? `&asOf=${asOfDate}` : ''}${violationStage ? `&stage=${violationStage}` : ''}` as const,
`insights/${dashboardID}/details/${graphKey}?item=${encodeURIComponent(itemKey)}${periodStart ? `&start=${periodStart}` : ''}${periodEnd ? `&end=${periodEnd}` : ''}${periodGroupBy ? `&period=${periodGroupBy}` : ''}${tagLevel ? `&level=${tagLevel}` : ''}${parentTagPath ? `&parent=${encodeURIComponent(parentTagPath)}` : ''}${asOfDate ? `&asOf=${asOfDate}` : ''}${violationStage ? `&stage=${violationStage}` : ''}` as const,
},

INSIGHTS_EXCLUDE: {
Expand Down
30 changes: 26 additions & 4 deletions src/components/Search/ChartErrorState.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,45 @@ import {CHART_CONTENT_MIN_HEIGHT} from '@components/Charts/VictoryTheme';
import {useMemoizedLazyIllustrations} from '@hooks/useLazyAsset';
import useLocalize from '@hooks/useLocalize';
import useResponsiveLayout from '@hooks/useResponsiveLayout';
import useStyleUtils from '@hooks/useStyleUtils';
import useThemeStyles from '@hooks/useThemeStyles';

import variables from '@styles/variables';

import React from 'react';

type ChartErrorStateProps = {
/** Whether the request got no response, which shows a refresh prompt instead of an error */
isStale?: boolean;

/** Asks for the chart's data again */
onRetry: () => void;
};

/** Stands in for a chart whose data failed to arrive. */
function ChartErrorState({onRetry}: ChartErrorStateProps) {
/** Stands in for a chart whose data failed to arrive, or got no response and needs a refresh. */
function ChartErrorState({isStale = false, onRetry}: ChartErrorStateProps) {
const styles = useThemeStyles();
const StyleUtils = useStyleUtils();
const {translate} = useLocalize();
const {shouldUseNarrowLayout} = useResponsiveLayout();
const illustrations = useMemoizedLazyIllustrations(['BrokenMagnifyingGlass']);
const illustrations = useMemoizedLazyIllustrations(['BrokenMagnifyingGlass', 'ChartSync']);

if (isStale) {
return (
<BlockingView
icon={illustrations.ChartSync}
iconWidth={variables.iconSizeUltraLarge}
iconHeight={variables.iconSizeUltraLarge}
title={translate('search.searchResults.staleResults.title')}
titleStyles={[styles.mt0, styles.mb2]}
subtitle={translate('search.searchResults.staleResults.subtitle')}
Comment thread
mhawryluk marked this conversation as resolved.
Resolved
subtitleStyle={styles.textSupporting}
containerStyle={[StyleUtils.getMinimumHeight(CHART_CONTENT_MIN_HEIGHT), styles.gap5, styles.pb5]}
buttonTranslationKey="search.searchResults.staleResults.buttonText"
onButtonPress={onRetry}
/>
);
}

return (
<BlockingView
Expand All @@ -30,7 +52,7 @@ function ChartErrorState({onRetry}: ChartErrorStateProps) {
titleStyles={[styles.mt0, styles.mb2]}
subtitle={translate('errorPage.subtitle')}
subtitleStyle={styles.textSupporting}
containerStyle={[{minHeight: CHART_CONTENT_MIN_HEIGHT}, styles.gap5, styles.pb5]}
containerStyle={[StyleUtils.getMinimumHeight(CHART_CONTENT_MIN_HEIGHT), styles.gap5, styles.pb5]}
contentFitImage="contain"
buttonTranslationKey="common.tryAgain"
onButtonPress={onRetry}
Expand Down
6 changes: 5 additions & 1 deletion src/languages/de.ts
Original file line number Diff line number Diff line change
Expand Up @@ -597,6 +597,8 @@ const translations: TranslationDeepObject<typeof en> = {
amount: 'Betrag',
submitter: 'Einreicher',
clearField: (fieldName: string) => `${fieldName} löschen`,
merchants: 'Händler',
spenders: 'Ausgebende Personen',
previousExpense: 'Vorherige Ausgabe',
nextExpense: 'Nächste Ausgabe',
previousReport: 'Vorheriger Bericht',
Expand Down Expand Up @@ -1350,7 +1352,6 @@ const translations: TranslationDeepObject<typeof en> = {
over: (percentage: string) => `${percentage} darüber`,
under: (percentage: string) => `${percentage} darunter`,
versusMerchantAverage: (amount: string) => `${amount} vs. dem Durchschnitt dieses Händlers`,
versusMemberAverage: (amount: string) => `${amount} vs. dem Durchschnitt dieses Mitglieds`,
versusCategoryAverage: (amount: string) => `${amount} im Vergleich zum Durchschnitt dieser Kategorie`,
versusAverageDay: (amount: string) => `${amount} vs durchschnittlicher Tag`,
versusAverageWeek: (amount: string) => `${amount} vs durchschnittliche Woche`,
Expand All @@ -1367,6 +1368,7 @@ const translations: TranslationDeepObject<typeof en> = {
monthAverage: (count: number) => `${count}-Monatsdurchschnitt`,
quarterAverage: (count: number) => `Durchschnitt der letzten ${count} Quartale`,
shareOfTotal: 'Anteil am Gesamtbetrag',
versusSpenderAverage: (amount: string) => `${amount} im Vergleich zum Durchschnitt dieses Ausgebenden`,
},
generatingAIInsights: 'KI-Einblicke werden erzeugt ...',
generatingAIInsightsSubtitle: 'Das sollte nicht länger als eine Minute dauern',
Expand All @@ -1389,6 +1391,8 @@ const translations: TranslationDeepObject<typeof en> = {
},
flaggedExpenses: 'Markierte Ausgaben',
noFlaggedExpensesInRange: 'Keine markierten Ausgaben in diesem Zeitraum',
biggestChanges: 'Größte Änderungen',
noSpenderData: 'Keine Daten zu ausgebenden Personen für diesen Zeitraum.',
chartEmptyState: {
noExpenses: 'Keine Ausgaben',
noTaggedExpenses: 'Keine getaggten Ausgaben',
Expand Down
6 changes: 5 additions & 1 deletion src/languages/el.ts
Original file line number Diff line number Diff line change
Expand Up @@ -593,6 +593,8 @@ const translations: TranslationDeepObject<typeof en> = {
amount: 'Ποσό',
submitter: 'Υποβάλλων',
clearField: (fieldName: string) => `Εκκαθαρίστε το πεδίο ${fieldName}`,
merchants: 'Έμποροι',
spenders: 'Δαπανώντες',
previousExpense: 'Προηγούμενη δαπάνη',
nextExpense: 'Επόμενη δαπάνη',
previousReport: 'Προηγούμενη αναφορά',
Expand Down Expand Up @@ -1393,7 +1395,6 @@ const translations: TranslationDeepObject<typeof en> = {
over: (percentage: string) => `${percentage} πάνω από`,
under: (percentage: string) => `${percentage} κάτω από`,
versusMerchantAverage: (amount: string) => `${amount} σε σύγκριση με τον μέσο όρο αυτού του εμπόρου`,
versusMemberAverage: (amount: string) => `${amount} σε σύγκριση με τον μέσο όρο αυτού του μέλους`,
versusCategoryAverage: (amount: string) => `${amount} σε σύγκριση με τον μέσο όρο αυτής της κατηγορίας`,
versusAverageDay: (amount: string) => `${amount} έναντι μέσης ημέρας`,
versusAverageWeek: (amount: string) => `${amount} σε σύγκριση με μέση εβδομάδα`,
Expand All @@ -1410,6 +1411,7 @@ const translations: TranslationDeepObject<typeof en> = {
monthAverage: (count: number) => `μέσος όρος ${count} μηνών`,
quarterAverage: (count: number) => `μέσος όρος ${count} τριμήνων`,
shareOfTotal: 'Ποσοστό επί του συνόλου',
versusSpenderAverage: (amount: string) => `${amount} έναντι του μέσου όρου αυτού του δαπανώντα`,
},
generatingAIInsights: 'Δημιουργία AI Insights...',
generatingAIInsightsSubtitle: 'Αυτό δεν θα πάρει πάνω από ένα λεπτό',
Expand All @@ -1432,6 +1434,8 @@ const translations: TranslationDeepObject<typeof en> = {
},
flaggedExpenses: 'Επισημασμένες δαπάνες',
noFlaggedExpensesInRange: 'Δεν υπάρχουν επισημασμένες δαπάνες σε αυτό το εύρος',
biggestChanges: 'Οι μεγαλύτερες αλλαγές',
noSpenderData: 'Δεν υπάρχουν δεδομένα δαπανώντων για αυτήν την περίοδο.',
chartEmptyState: {
noExpenses: 'Χωρίς δαπάνες',
noTaggedExpenses: 'Δεν υπάρχουν δαπάνες με ετικέτα',
Expand Down
6 changes: 5 additions & 1 deletion src/languages/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,8 @@ const translations = {
settings: 'Settings',
termsOfService: 'Terms of Service',
members: 'Members',
merchants: 'Merchants',
spenders: 'Spenders',
invite: 'Invite',
here: 'here',
avatar: 'Avatar',
Expand Down Expand Up @@ -1460,7 +1462,7 @@ const translations = {
over: (percentage: string) => `${percentage} over`,
under: (percentage: string) => `${percentage} under`,
versusMerchantAverage: (amount: string) => `${amount} vs this merchant's average`,
versusMemberAverage: (amount: string) => `${amount} vs this member's average`,
versusSpenderAverage: (amount: string) => `${amount} vs this spender's average`,
versusCategoryAverage: (amount: string) => `${amount} vs this category's average`,
versusAverageDay: (amount: string) => `${amount} vs average day`,
versusAverageWeek: (amount: string) => `${amount} vs average week`,
Expand All @@ -1485,6 +1487,8 @@ const translations = {
monthAverageFor: (count: number, item: string) => `${count}-month average for ${item}`,
quarterAverageFor: (count: number, item: string) => `${count}-quarter average for ${item}`,
},
biggestChanges: 'Biggest changes',
noSpenderData: 'No spender data for this period.',
compliance: 'Compliance',
violationsOverTime: 'Violations over time',
topViolations: 'Top violations',
Expand Down
6 changes: 5 additions & 1 deletion src/languages/es.ts
Original file line number Diff line number Diff line change
Expand Up @@ -580,6 +580,8 @@ const translations: TranslationDeepObject<typeof en> = {
amount: 'Importe',
submitter: 'Remitente',
clearField: (fieldName: string) => `Borrar ${fieldName}`,
merchants: 'Comercios',
spenders: 'Gastadores',
previousExpense: 'Gasto anterior',
nextExpense: 'Gasto siguiente',
previousReport: 'Informe anterior',
Expand Down Expand Up @@ -1344,7 +1346,6 @@ const translations: TranslationDeepObject<typeof en> = {
over: (percentage: string) => `${percentage} por encima`,
under: (percentage: string) => `${percentage} por debajo`,
versusMerchantAverage: (amount: string) => `${amount} frente a la media de este comercio`,
versusMemberAverage: (amount: string) => `${amount} vs la media de este miembro`,
versusCategoryAverage: (amount: string) => `${amount} frente a la media de esta categoría`,
versusAverageDay: (amount: string) => `${amount} frente al día promedio`,
versusAverageWeek: (amount: string) => `${amount} frente a una semana promedio`,
Expand All @@ -1361,6 +1362,7 @@ const translations: TranslationDeepObject<typeof en> = {
monthAverage: (count: number) => `Promedio de ${count} meses`,
quarterAverage: (count: number) => `Promedio de ${count} trimestres`,
shareOfTotal: 'Porcentaje del total',
versusSpenderAverage: (amount: string) => `${amount} frente a la media de este gastador`,
},
generatingAIInsights: 'Generando información con IA...',
generatingAIInsightsSubtitle: 'Esto no debería llevar más de un minuto',
Expand All @@ -1383,6 +1385,8 @@ const translations: TranslationDeepObject<typeof en> = {
},
flaggedExpenses: 'Gastos marcados',
noFlaggedExpensesInRange: 'No hay gastos marcados en este intervalo',
biggestChanges: 'Cambios más importantes',
noSpenderData: 'No hay datos de gastadores para este periodo.',
chartEmptyState: {
noExpenses: 'Sin gastos',
noTaggedExpenses: 'No hay gastos etiquetados',
Expand Down
6 changes: 5 additions & 1 deletion src/languages/fr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -596,6 +596,8 @@ const translations: TranslationDeepObject<typeof en> = {
amount: 'Montant',
submitter: 'Déclarant',
clearField: (fieldName: string) => `Effacer ${fieldName}`,
merchants: 'Commerçants',
spenders: 'Dépensiers',
previousExpense: 'Dépense précédente',
nextExpense: 'Dépense suivante',
previousReport: 'Note de frais précédente',
Expand Down Expand Up @@ -1357,7 +1359,6 @@ const translations: TranslationDeepObject<typeof en> = {
over: (percentage: string) => `${percentage} de plus`,
under: (percentage: string) => `${percentage} en dessous`,
versusMerchantAverage: (amount: string) => `${amount} par rapport à la moyenne de ce commerçant`,
versusMemberAverage: (amount: string) => `${amount} par rapport à la moyenne de ce membre`,
versusCategoryAverage: (amount: string) => `${amount} par rapport à la moyenne de cette catégorie`,
versusAverageDay: (amount: string) => `${amount} vs jour moyen`,
versusAverageWeek: (amount: string) => `${amount} vs semaine moyenne`,
Expand All @@ -1374,6 +1375,7 @@ const translations: TranslationDeepObject<typeof en> = {
monthAverage: (count: number) => `Moyenne sur ${count} mois`,
quarterAverage: (count: number) => `Moyenne sur ${count} trimestres`,
shareOfTotal: 'Part du total',
versusSpenderAverage: (amount: string) => `${amount} par rapport à la moyenne de ce dépensier`,
},
generatingAIInsights: 'Génération d’analyses IA...',
generatingAIInsightsSubtitle: 'Cela ne devrait pas prendre plus d’une minute',
Expand All @@ -1396,6 +1398,8 @@ const translations: TranslationDeepObject<typeof en> = {
},
flaggedExpenses: 'Dépenses signalées',
noFlaggedExpensesInRange: 'Aucune dépense signalée dans cet intervalle',
biggestChanges: 'Principaux changements',
noSpenderData: 'Aucune donnée sur les dépensiers pour cette période.',
chartEmptyState: {
noExpenses: 'Aucune dépense',
noTaggedExpenses: 'Aucune dépense taguée',
Expand Down
6 changes: 5 additions & 1 deletion src/languages/it.ts
Original file line number Diff line number Diff line change
Expand Up @@ -596,6 +596,8 @@ const translations: TranslationDeepObject<typeof en> = {
amount: 'Importo',
submitter: 'Mittente',
clearField: (fieldName: string) => `Cancella ${fieldName}`,
merchants: 'Esercenti',
spenders: 'Utenti che spendono',
previousExpense: 'Spesa precedente',
nextExpense: 'Spesa successiva',
previousReport: 'Report precedente',
Expand Down Expand Up @@ -1353,7 +1355,6 @@ const translations: TranslationDeepObject<typeof en> = {
over: (percentage: string) => `${percentage} in più`,
under: (percentage: string) => `${percentage} in meno`,
versusMerchantAverage: (amount: string) => `${amount} rispetto alla media di questo esercente`,
versusMemberAverage: (amount: string) => `${amount} rispetto alla media di questo membro`,
versusCategoryAverage: (amount: string) => `${amount} rispetto alla media di questa categoria`,
versusAverageDay: (amount: string) => `${amount} vs giorno medio`,
versusAverageWeek: (amount: string) => `${amount} rispetto a una settimana media`,
Expand All @@ -1370,6 +1371,7 @@ const translations: TranslationDeepObject<typeof en> = {
monthAverage: (count: number) => `media di ${count} mesi`,
quarterAverage: (count: number) => `Media di ${count} trimestri`,
shareOfTotal: 'Quota del totale',
versusSpenderAverage: (amount: string) => `${amount} rispetto alla media di questo utente`,
},
generatingAIInsights: 'Generazione di approfondimenti IA in corso...',
generatingAIInsightsSubtitle: 'Non dovrebbe volerci più di un minuto',
Expand All @@ -1392,6 +1394,8 @@ const translations: TranslationDeepObject<typeof en> = {
},
flaggedExpenses: 'Spese contrassegnate',
noFlaggedExpensesInRange: 'Nessuna spesa contrassegnata in questo intervallo',
biggestChanges: 'Cambiamenti principali',
noSpenderData: 'Nessun dato sugli utenti che spendono per questo periodo.',
chartEmptyState: {
noExpenses: 'Nessuna spesa',
noTaggedExpenses: 'Nessuna spesa con tag',
Expand Down
Loading
Loading