feat(costs): consolidate /usage into /costs with Spend + Providers tabs

merge Usage page into Costs as two tabs ('Spend' and 'Providers'),
extract shared date-range logic to useDateRange() hook, delete /usage
route and sidebar entry, fix quota-windows bugs from prior review
This commit is contained in:
Sai Shankar
2026-03-08 17:11:08 +05:30
committed by Dotta
parent f14b6e449f
commit 56c9d95daa
8 changed files with 468 additions and 513 deletions

View File

@@ -4,7 +4,6 @@ import {
Target,
LayoutDashboard,
DollarSign,
Gauge,
History,
Search,
SquarePen,
@@ -108,7 +107,6 @@ export function Sidebar() {
<SidebarSection label="Company">
<SidebarNavItem to="/org" label="Org" icon={Network} />
<SidebarNavItem to="/costs" label="Costs" icon={DollarSign} />
<SidebarNavItem to="/usage" label="Usage" icon={Gauge} />
<SidebarNavItem to="/activity" label="Activity" icon={History} />
<SidebarNavItem to="/company/settings" label="Settings" icon={Settings} />
</SidebarSection>