Skip to content

task-report: Add task report view#139

Merged
its-me-abhishek merged 2 commits into
CCExtractor:mainfrom
RajVishh:task-report-view
Nov 2, 2025
Merged

task-report: Add task report view#139
its-me-abhishek merged 2 commits into
CCExtractor:mainfrom
RajVishh:task-report-view

Conversation

@RajVishh

@RajVishh RajVishh commented Nov 1, 2025

Copy link
Copy Markdown
Contributor

- Adds a toggle button to the main tasks view:-
Screenshot 2025-10-31 at 7 40 17 PM

- Conditionally renders a new ReportsView component.

screen recording:-
https://github.com/user-attachments/assets/793d7c62-c026-4b3b-8810-97736f302f8c

- ReportsView shows Daily, Weekly, and Monthly bar charts for 'Completed' vs 'Ongoing' tasks:-
Screenshot 2025-10-31 at 7 39 58 PM

- 3 items column on medium or small screens

screen recording:-
https://github.com/user-attachments/assets/7bcd11b9-9ec9-470a-9828-e388566cfe14

- Adds a toggle button to the main tasks view.
- Conditionally renders a new ReportsView component.
- ReportsView shows Daily, Weekly, and Monthly bar charts
  for 'Completed' vs 'Ongoing' tasks.
} from 'recharts';

const Legend: any = RechartsLegend;
type ReportsViewProps = {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should move all Types, helpers to types.ts and utils.ts in the same directories

return new Date(date.getFullYear(), date.getMonth(), date.getDate());
};

const ReportChart = ({ data, title }: { data: any[]; title: string }) => (

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this can be a separate component imho

@its-me-abhishek its-me-abhishek left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix

@RajVishh

RajVishh commented Nov 1, 2025

Copy link
Copy Markdown
Contributor Author

Please fix

on it!

@RajVishh

RajVishh commented Nov 2, 2025

Copy link
Copy Markdown
Contributor Author

Please fix

done, please check

@its-me-abhishek its-me-abhishek merged commit 2902655 into CCExtractor:main Nov 2, 2025
4 checks passed
ShivaGupta-14 pushed a commit to ShivaGupta-14/ccsync that referenced this pull request Dec 25, 2025
* task-report: Add task report view

- Adds a toggle button to the main tasks view.
- Conditionally renders a new ReportsView component.
- ReportsView shows Daily, Weekly, and Monthly bar charts
  for 'Completed' vs 'Ongoing' tasks.

* fix-CI: Fix prettier formatting error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants