Skip to content

feat: Implement Centralized AI Workspace, History Filtering, and Enhanced UI Rendering - #86

Merged
Yashh56 merged 4 commits into
Relwave:developfrom
Yashh56:master
Aug 20, 2026
Merged

feat: Implement Centralized AI Workspace, History Filtering, and Enhanced UI Rendering#86
Yashh56 merged 4 commits into
Relwave:developfrom
Yashh56:master

Conversation

@Yashh56

@Yashh56 Yashh56 commented Aug 20, 2026

Copy link
Copy Markdown
Member

🚀 What's Changed

This PR significantly enhances the AI experience within RelWave by centralizing AI features, strictly scoping AI history to the active database context, and improving how AI results are rendered in the UI.

✨ Features

  • AI Workspace Panel: Created a centralized AIWorkspacePanel within the Database Details page. It acts as a dedicated hub for all AI features (Schema Analysis, NL to SQL, Query Explanation) and their history.
  • Context-Aware AI History: AI history is now strictly filtered by datasource_id.
  • Enhanced UI Rendering:
    • Added a custom FormattedResponseRenderer to intelligently parse and beautifully render JSON responses for Natural Language to SQL and Chart Recommendation features.
    • Added Markdown table parsing support to MarkdownRenderer for clean, native-looking tables in Query Explanations.
  • AI Disclaimers: Added "AI can make mistakes" disclaimers across all AI generation touchpoints to properly set user expectations.

🐛 Bug Fixes

  • Query Explanation Context: Fixed a bug where databaseName was being passed instead of dbId, causing Query Explanation history to vanish from the context-aware history panel.
  • Chart Recommendation Context: Fixed an issue where Chart Recommendations were missing the datasource_id entirely.

📦 Commits Included

  • feat: Add centralized AI Workspace panel with action cards
  • feat: Filter AI History by database context
  • fix: Pass correct dbId for Query Explanation and Chart Recommendation
  • feat: Add AI disclaimers and structured JSON rendering in AI dialogs

@Yashh56
Yashh56 merged commit 64124d9 into Relwave:develop Aug 20, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant