diff --git a/packages/desktop-client/src/components/settings/Experimental.tsx b/packages/desktop-client/src/components/settings/Experimental.tsx index d60e50b844b..7589b3630f6 100644 --- a/packages/desktop-client/src/components/settings/Experimental.tsx +++ b/packages/desktop-client/src/components/settings/Experimental.tsx @@ -67,23 +67,6 @@ function FeatureToggle({ ); } -function TrackingBudgetFeature() { - const { t } = useTranslation(); - const [budgetType = 'rollover'] = useSyncedPref('budgetType'); - const enabled = useFeatureFlag('reportBudget'); - const blockToggleOff = budgetType === 'report' && enabled; - return ( - - Budget mode toggle - - ); -} - export function ExperimentalFeatures() { const [expanded, setExpanded] = useState(false); @@ -92,8 +75,6 @@ export function ExperimentalFeatures() { primaryAction={ expanded ? ( - - Goal templates diff --git a/packages/desktop-client/src/components/settings/index.tsx b/packages/desktop-client/src/components/settings/index.tsx index 28239f3360e..792bdaf71a9 100644 --- a/packages/desktop-client/src/components/settings/index.tsx +++ b/packages/desktop-client/src/components/settings/index.tsx @@ -177,7 +177,7 @@ export function Settings() { - {useFeatureFlag('reportBudget') && } + {isElectron() && } diff --git a/packages/desktop-client/src/hooks/useFeatureFlag.ts b/packages/desktop-client/src/hooks/useFeatureFlag.ts index 062a54cd6d8..e5702740257 100644 --- a/packages/desktop-client/src/hooks/useFeatureFlag.ts +++ b/packages/desktop-client/src/hooks/useFeatureFlag.ts @@ -3,7 +3,6 @@ import type { FeatureFlag } from 'loot-core/src/types/prefs'; import { useSyncedPref } from './useSyncedPref'; const DEFAULT_FEATURE_FLAG_STATE: Record = { - reportBudget: false, goalTemplatesEnabled: false, dashboards: false, actionTemplating: false, diff --git a/packages/loot-core/src/types/prefs.d.ts b/packages/loot-core/src/types/prefs.d.ts index 0c6f7ea498d..ba1e5424920 100644 --- a/packages/loot-core/src/types/prefs.d.ts +++ b/packages/loot-core/src/types/prefs.d.ts @@ -1,6 +1,5 @@ export type FeatureFlag = | 'dashboards' - | 'reportBudget' | 'goalTemplatesEnabled' | 'actionTemplating' | 'upcomingLengthAdjustment' diff --git a/upcoming-release-notes/3833.md b/upcoming-release-notes/3833.md new file mode 100644 index 00000000000..49ef283f9bb --- /dev/null +++ b/upcoming-release-notes/3833.md @@ -0,0 +1,6 @@ +--- +category: Features +authors: [MatissJanis] +--- + +Release tracking budget feature.