feat: basic performance report #44
Loading…
Reference in a new issue
No description provided.
Delete branch "005-002-001-gross-profit-percentage-graph"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Spec 5.2.1
Changes
NOTE: On print screen full width is not possible to show, because charts are shown as svgs with fixed width on paper, and using 100% width cuts it from right that's why, had to give hardcoded width for it.
Testing
This is looking really good!
There seems to be a bug where I can't hover over every bar in the graph. I will hover over a bar and it will show the tooltip for a different bar.
I can't capture a screenshot of this, but it seems to happen frequently.
It appears that only one tooltip is shown for each day on the x-axis. Hovering over a bar shows the tooltip for the first invoice of that day 🤔
@addison wrote in #44 (comment):
I think, reason is that date is being used as id/key probably, I'll look into it
@ -29,2 +29,2 @@label: "Performance",description: "Coming soon...",label: "Gross Profit Graph",to: "/reports/performance/gross-profit",This new page should be titled "Performance" because it will contain more types of graph in the future
The URL should be
/reports/performanceInstead of having multiple pages for each performance graph, I think we will show multiple on one page.
Please also rename the page component.
@ -0,0 +94,4 @@return (<div className="mx-auto flex h-full w-full flex-col"><PageHeadertitle="Gross Profit Percentage Graph"We need to update the title of the page to match the nav bar.
Also update the component file name.
feat: add gross profit graph report and related componentsto feat: basic performance reportCheck formatting - CI failed