Compare commits

..

1 commit

Author SHA1 Message Date
Claude
b67fdeff53
Expose SQL queries in log explorer and widget details
Added functionality to display the generated SQL queries alongside KQL queries:

- Modified selectLogTable to return the generated SQL query along with results
- Updated log explorer to display SQL query in a collapsible "Show generated SQL" section
- Added SQL query to ApiLogsPageData for passing to UI components
- Updated AI.hs and bot utilities to handle the new return type (4-tuple instead of 3-tuple)
- Widget expanded details already had SQL preview via widgetSqlPreviewGetH endpoint
- Widget menu already has "Copy SQL" button alongside "Copy KQL" button

The SQL query is now visible in:
1. Log Explorer - collapsible details section below query box with copy button
2. Widget expanded details - existing "Show generated SQL" section
3. Widget menu - existing "Copy SQL" option

This helps users understand the actual SQL being executed from their KQL queries
for debugging and learning purposes.
2026-01-13 03:03:23 +00:00
1198 changed files with 54362 additions and 264562 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

33
.gitignore vendored

Can't render this file because it contains an unexpected character in line 1 and column 39.

Some files were not shown because too many files have changed in this diff Show more