Roo-Code/webview-ui/src
roomote[bot] b2fdb9ac57
fix: handle null/undefined token values in ContextCondenseRow to prevent UI crash (#6916)
* fix: handle null/undefined token values in ContextCondenseRow to prevent UI crash

- Added null/undefined checks for prevContextTokens, newContextTokens, and cost
- Default to 0 when values are null or undefined
- Added comprehensive test coverage for edge cases
- Fixes #6914

* Delete webview-ui/src/components/chat/__tests__/ContextCondenseRow.spec.tsx

---------

Co-authored-by: Roo Code <roomote@roocode.com>
Co-authored-by: Daniel <57051444+daniel-lxs@users.noreply.github.com>
2025-08-21 02:21:41 -07:00
..
__tests__ Redesigned Task Header (#6561) 2025-08-05 06:26:25 -07:00
components fix: handle null/undefined token values in ContextCondenseRow to prevent UI crash (#6916) 2025-08-21 02:21:41 -07:00
context Make enhance with task history default to true (#7140) 2025-08-15 22:40:46 -04:00
hooks feat: add ESC key handling for modes, API provider, and indexing settings popovers (#6175) 2025-07-28 23:04:23 -04:00
i18n feat: add "Installed" filter to Roo Marketplace (#7007) 2025-08-21 02:17:41 -07:00
lib Add shadcn/ui + Storybook 2025-01-30 12:50:09 -08:00
oauth Add a new @roo-code/types package and use it everywhere (#3912) 2025-05-26 12:06:45 -07:00
utils feat: Featherless provider (#7235) 2025-08-20 10:42:57 -07:00
vite-plugins fix: prevent empty mode names from being saved (fixes #5766) (#5767) 2025-08-04 11:03:34 -07:00
App.tsx debug: Add ErrorBoundary component for better error handling (#5085) 2025-07-23 08:45:35 -04:00
index.css feature: add toggle for disable mcp server tool from prompt (#3551) 2025-06-20 19:14:59 -04:00
index.tsx PNPM + Turbo monorepo + Nightly releases (#3407) 2025-05-21 21:01:20 -07:00
preflight.css Bring most of Tailwind's preflight.css back 2025-02-03 12:18:28 -08:00
types.d.ts Welcome page OAuth (#1913) 2025-03-23 10:08:16 -04:00
vite-env.d.ts Remove lucide 2025-01-30 14:47:59 -08:00