Skip to content

Commit

Permalink
🔥 delete abandoned sankey feature (#2417)
Browse files Browse the repository at this point in the history
Closes #1919
  • Loading branch information
MatissJanis authored Mar 6, 2024
1 parent 76cbd44 commit 4570459
Show file tree
Hide file tree
Showing 10 changed files with 6 additions and 529 deletions.
10 changes: 0 additions & 10 deletions packages/desktop-client/src/components/reports/Overview.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,9 @@ import { View } from '../common/View';
import { CashFlowCard } from './reports/CashFlowCard';
import { CustomReportListCards } from './reports/CustomReportListCards';
import { NetWorthCard } from './reports/NetWorthCard';
import { SankeyCard } from './reports/SankeyCard';

export function Overview() {
const customReports = useReports();
const sankeyFeatureFlag = useFeatureFlag('sankeyReport');

const customReportsFeatureFlag = useFeatureFlag('customReports');

Expand Down Expand Up @@ -54,14 +52,6 @@ export function Overview() {
<NetWorthCard accounts={accounts} />
<CashFlowCard />
</View>
<View
style={{
flex: '0 0 auto',
flexDirection: 'row',
}}
>
{sankeyFeatureFlag && <SankeyCard />}
</View>
{customReportsFeatureFlag && (
<CustomReportListCards reports={customReports} />
)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { Overview } from './Overview';
import { CashFlow } from './reports/CashFlow';
import { CustomReport } from './reports/CustomReport';
import { NetWorth } from './reports/NetWorth';
import { Sankey } from './reports/Sankey';

export function ReportRouter() {
return (
Expand All @@ -14,7 +13,6 @@ export function ReportRouter() {
<Route path="/net-worth" element={<NetWorth />} />
<Route path="/cash-flow" element={<CashFlow />} />
<Route path="/custom" element={<CustomReport />} />
<Route path="/sankey" element={<Sankey />} />
</Routes>
);
}
137 changes: 0 additions & 137 deletions packages/desktop-client/src/components/reports/graphs/SankeyGraph.tsx

This file was deleted.

135 changes: 0 additions & 135 deletions packages/desktop-client/src/components/reports/reports/Sankey.jsx

This file was deleted.

This file was deleted.

Loading

0 comments on commit 4570459

Please sign in to comment.