paperclip/ui/src/hooks
Sai Shankar db20f4f46e fix(costs): harden company auth check, fix frozen date memo, hide empty quota rows
- add company existence check on quota-windows route to guard against
  sentinel and forged company IDs (was a no-op assertCompanyAccess)
- fix useDateRange minuteTick memo frozen at mount; realign interval to
  next calendar minute boundary via setTimeout + intervalRef pattern
- fix midnight timer in Costs.tsx to use stable [] dep and
  self-scheduling todayTimerRef to avoid StrictMode double-invoke
- return null for rolling window rows with no DB data instead of
  rendering $0.00 / 0 tok false zeros
- fix secondsToWindowLabel to handle windows >168h with actual day count
  instead of silently falling back to 7d
- fix byProvider.get(p) non-null assertion to use ?? [] fallback
2026-03-16 15:08:54 -05:00
..
useAutosaveIndicator.ts feat(issues): add issue documents and inline editing 2026-03-13 21:30:48 -05:00
useCompanyPageMemory.test.ts Fix company switch remembered routes 2026-03-13 10:01:32 -05:00
useCompanyPageMemory.ts Fix company switch remembered routes 2026-03-13 10:01:32 -05:00
useDateRange.ts fix(costs): harden company auth check, fix frozen date memo, hide empty quota rows 2026-03-16 15:08:54 -05:00
useInboxBadge.ts Align inbox badge with visible unread items 2026-03-11 09:02:23 -05:00
useKeyboardShortcuts.ts fix: remove Cmd+1..9 company-switch shortcut 2026-03-11 15:32:39 -04:00
useProjectOrder.ts refactor: rename packages to @paperclipai and CLI binary to paperclipai 2026-03-03 08:45:26 -06:00