Skip to content

Commit

Permalink
Custom reports reorganize table graph files (actualbudget#2153)
Browse files Browse the repository at this point in the history
* reorg

* notes

* Update upcoming-release-notes/2153.md

Co-authored-by: DJ Mountney <[email protected]>

* merge fixes

* fix

* another

* f

---------

Co-authored-by: DJ Mountney <[email protected]>
  • Loading branch information
carkom and twk3 authored Jan 7, 2024
1 parent 2cca8f2 commit bb36b20
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ import { BarLineGraph } from './graphs/BarLineGraph';
import { DonutGraph } from './graphs/DonutGraph';
import { LineGraph } from './graphs/LineGraph';
import { StackedBarGraph } from './graphs/StackedBarGraph';
import { ReportTable } from './graphs/tableGraph/ReportTable';
import { ReportTableHeader } from './graphs/tableGraph/ReportTableHeader';
import { ReportTableList } from './graphs/tableGraph/ReportTableList';
import { ReportTableTotals } from './graphs/tableGraph/ReportTableTotals';
import { ReportOptions } from './ReportOptions';
import { ReportTable } from './ReportTable';
import { ReportTableHeader } from './ReportTableHeader';
import { ReportTableList } from './ReportTableList';
import { ReportTableTotals } from './ReportTableTotals';

type ChooseGraphProps = {
data: DataEntity;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import React, {
} from 'react';
import { type RefProp } from 'react-spring';

import { type CSSProperties } from '../../style';
import { View } from '../common/View';
import { type CSSProperties } from '../../../../style';
import { View } from '../../../common/View';

type ReportTableProps = {
saveScrollWidth?: (value: number) => void;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import React, { type UIEventHandler } from 'react';
import { type RefProp } from 'react-spring';

import { styles, theme } from '../../style';
import { View } from '../common/View';
import { Row, Cell } from '../table';

import { type MonthData } from './entities';
import { styles, theme } from '../../../../style';
import { View } from '../../../common/View';
import { Row, Cell } from '../../../table';
import { type MonthData } from '../../entities';

type ReportTableHeaderProps = {
scrollWidth?: number;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import {
integerToCurrency,
} from 'loot-core/src/shared/util';

import { type CSSProperties, styles, theme } from '../../style';
import { View } from '../common/View';
import { Row, Cell } from '../table';
import { type CSSProperties, styles, theme } from '../../../../style';
import { View } from '../../../common/View';
import { Row, Cell } from '../../../table';

type TableRowProps = {
item: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,10 @@ import {
integerToCurrency,
} from 'loot-core/src/shared/util';

import { styles, theme } from '../../style';
import { View } from '../common/View';
import { Row, Cell } from '../table';

import { type DataEntity } from './entities';
import { styles, theme } from '../../../../style';
import { View } from '../../../common/View';
import { Row, Cell } from '../../../table';
import { type DataEntity } from '../../entities';

type ReportTableTotalsProps = {
data: DataEntity;
Expand Down
6 changes: 6 additions & 0 deletions upcoming-release-notes/2153.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
category: Maintenance
authors: [carkom]
---

Reorganize tableGraph files for custom reports.

0 comments on commit bb36b20

Please sign in to comment.