-
Notifications
You must be signed in to change notification settings - Fork 421
integration with tidewave, which allows for AI agent driven UI development. #5260
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
|
| }, | ||
| proxy: { | ||
| "/tidewave": `http://localhost:5540` // your backend port | ||
| }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bug: Tidewave proxy points to wrong backend port
The proxy configuration routes /tidewave requests to http://localhost:5540, which is the RedisInsight API server port, not the tidewave backend. Tidewave runs its own separate backend service that needs to be proxied. This hardcoded port conflicts with the existing RedisInsight API and will cause tidewave requests to fail since the RedisInsight API doesn't handle tidewave endpoints.
Code Coverage - Integration Tests
|
| allow: ['..', '../../node_modules/monaco-editor', 'static', 'defaults'], | ||
| }, | ||
| proxy: { | ||
| "/tidewave": `http://localhost:5540` // your backend port |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| "/tidewave": `http://localhost:5540` // your backend port | |
| '/tidewave': 'http://localhost:5540' |
| allow: ['..', '../../node_modules/monaco-editor', 'static', 'defaults'], | ||
| }, | ||
| proxy: { | ||
| "/tidewave": `http://localhost:5540` // your backend port |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bug: Incorrect Vite proxy configuration format
The proxy configuration uses a string value directly instead of an object with a target property. Vite's proxy configuration expects an object format like { target: 'http://localhost:5540' }. The current string format may cause the proxy to fail or behave unexpectedly during development.
What
https://tidewave.ai/ is a tool that allows integration between AI agents and React development so that UI can be interactively modified via the agent while looking at the ui changes.
Ask me for a demo.
Testing
Note
Adds Tidewave integration (Vite plugin + proxy) and documents AI-powered development with Tidewave.
tidewave()and import inredisinsight/ui/vite.config.mjs."/tidewave"tohttp://localhost:5540.tidewavetodevDependenciesinpackage.json.README.mdwith Tidewave overview, key features, quick start, and link todocs/development/ai-tools.md.Written by Cursor Bugbot for commit f722e35. This will update automatically on new commits. Configure here.