Roo-Code/webview-ui
Eric Wheeler 52031a5706 fix: persist edit warning dialog preference during session
This change fixes the issue where the edit warning dialog appears on every edit, even after the user has already seen it once. The solution:

1. Uses a React ref to store the preference in memory during the session
2. Bypasses the dialog if the user has already seen it
3. Adds double-click functionality to user messages for quick editing

The preference is reset when the VS Code window is reloaded, ensuring users are reminded of the warning after a restart.

Fixes: #6058

Signed-off-by: Eric Wheeler <roo-code@z.ewheeler.org>
2025-07-22 01:41:12 -07:00
..
audio feat: move play audio to webview to ensure cross-platform (#3659) 2025-05-20 01:15:05 -04:00
public Remove CRA cruft 2025-01-30 14:38:41 -08:00
src fix: persist edit warning dialog preference during session 2025-07-22 01:41:12 -07:00
.gitignore PR cleanup 2025-03-12 11:23:06 -04:00
components.json Remove lucide 2025-01-30 14:47:59 -08:00
eslint.config.mjs Preserve model settings when selecting a specific OpenRouter provider (#3915) 2025-05-23 23:22:41 -07:00
index.html Fix linter warning + run prettier on everything (#3581) 2025-05-13 15:16:24 -07:00
package.json fix: eliminate XSS vulnerability in CodeBlock component (#5157) 2025-06-27 10:20:59 -04:00
tsconfig.json Convert all webview-ui tests: jest -> vitest (#4771) 2025-06-17 15:29:17 -07:00
turbo.json Improve turbo task dependency declarations (#4323) 2025-06-04 09:32:27 -07:00
vite.config.ts feat: add LaTeX math equation rendering in chat window (#4258) (#4786) 2025-06-20 15:45:18 -04:00
vitest.config.ts Convert all webview-ui tests: jest -> vitest (#4771) 2025-06-17 15:29:17 -07:00
vitest.setup.ts feat: add undo functionality for enhance prompt feature (fixes #5741) (#5742) 2025-07-15 10:26:34 -04:00