add insights & explore page

This commit is contained in:
MaysWind
2025-12-18 00:49:14 +08:00
parent 861e4c036b
commit e9b4392163
43 changed files with 3579 additions and 43 deletions
+16
View File
@@ -245,6 +245,19 @@ export const useSettingsStore = defineStore('settings', () => {
updateUserApplicationCloudSettingValue('alwaysShowTransactionPicturesInMobileTransactionEditPage', value);
}
// Insights & Explore Page
function setInsightsExploreDefaultDateRangeType(value: number): void {
updateApplicationSettingsValue('insightsExploreDefaultDateRangeType', value);
appSettings.value.insightsExploreDefaultDateRangeType = value;
updateUserApplicationCloudSettingValue('insightsExploreDefaultDateRangeType', value);
}
function setTimezoneUsedForInsightsExplorePage(value: number): void {
updateApplicationSettingsValue('timezoneUsedForInsightsExplorePage', value);
appSettings.value.timezoneUsedForInsightsExplorePage = value;
updateUserApplicationCloudSettingValue('timezoneUsedForInsightsExplorePage', value);
}
// Account List Page
function setTotalAmountExcludeAccountIds(value: Record<string, boolean>): void {
updateApplicationSettingsValue('totalAmountExcludeAccountIds', value);
@@ -467,6 +480,9 @@ export const useSettingsStore = defineStore('settings', () => {
setAutoSaveTransactionDraft,
setAutoGetCurrentGeoLocation,
setAlwaysShowTransactionPicturesInMobileTransactionEditPage,
// -- Insights & Explore Page
setInsightsExploreDefaultDateRangeType,
setTimezoneUsedForInsightsExplorePage,
// -- Account List Page
setTotalAmountExcludeAccountIds,
// -- Exchange Rates Data Page