Commit Graph

5567 Commits

Author SHA1 Message Date
dal ff0828d75a
Merge remote-tracking branch 'origin/staging' into add-report-to-collection-functionality 2025-08-22 10:28:36 -06:00
dal 49e072979c
fix: add ReportContent variant to VersionContent enum
- Add ReportContent(String) variant to handle report version history
- Reports store content as plain strings unlike metrics/dashboards which use YAML
- Fixes deserialization error when fetching reports with version history
2025-08-22 10:20:33 -06:00
dal 531023ca6d
add route to asset icons 2025-08-22 10:16:23 -06:00
dal 7229faea25
fix: add report type support to collection REST endpoints
- Add 'report' case to add_assets_to_collection endpoint
- Add 'report' case to remove_assets_from_collection endpoint
- Update error response mappings to include ReportFile type
2025-08-22 10:15:12 -06:00
dal 13a1d38437
Merge remote-tracking branch 'origin/staging' into add-report-to-collection-functionality 2025-08-22 10:05:24 -06:00
dal 21a2d3f2d7
Refactor report generation handling and UI updates
- Simplified the `GeneratingContent` component to display a static loading message.
- Updated `ReportPageController` to determine if a report is being generated based on the current message context.
- Adjusted report status handling in the delta creation process to maintain 'loading' status during streaming.
- Enhanced logic in the modify reports helper to ensure file status reflects loading during streaming and only updates to completed or failed when all edits are finalized.
- Modified database query to preserve input order for new messages during updates.
2025-08-22 10:05:07 -06:00
dal 41ca18ea98
feat: add report files support to collections functionality
- Create report_files.rs helper module with permission checking
- Add ReportFile asset type handling in add_assets_to_collection_handler
- Add Report variant to AssetToRemove enum for removal operations
- Include report files in collection queries and responses
- Follow existing patterns for MetricFile and DashboardFile
2025-08-22 09:59:24 -06:00
dal ad4d7a3134
Merge pull request #750 from buster-so/migrate-metric-data-endpoints-to-ts
Migrate-metric-data-endpoints-to-ts
2025-08-22 09:06:46 -06:00
dal 2059f33906
Merge pull request #749 from buster-so/start-chat-with-report
Start-chat-with-report
2025-08-22 09:04:45 -06:00
dal 6e591abeee
Merge remote-tracking branch 'origin/staging' into migrate-metric-data-endpoints-to-ts 2025-08-22 09:01:32 -06:00
dal d1155e5978
Enhance metric query execution and metadata handling
- Introduced `executeMetricQuery` utility for standardized metric SQL query execution with retry logic.
- Updated `getMetricDataHandler` and metric tool execution functions to utilize the new query utility, improving error handling and result processing.
- Added metadata generation from query results to provide detailed insights into data structure.
- Refactored SQL validation to ensure only read-only queries are executed, enhancing data integrity.
2025-08-22 09:01:28 -06:00
dal 50e8e431b5
merge staging 2025-08-22 09:00:26 -06:00
dal 0a0596b4b1
Comment out the disabled prop in DynamicReportEditor for clarity 2025-08-22 08:59:37 -06:00
dal 05575fe65e
Implement integration tests for chat creation and enhance report menu functionality 2025-08-22 08:46:28 -06:00
dal 4277181a71
Add ReportFile enum variant and implement related database schema and handlers 2025-08-22 08:44:48 -06:00
Nate Kelley c21d84a5d2
fixed bug with metric and a callout 2025-08-21 23:07:23 -06:00
Nate Kelley eb52262bcd
Update next.config.mjs 2025-08-21 22:30:37 -06:00
dal 33e37edeba
add in the report file for start chat 2025-08-21 22:30:25 -06:00
Nate Kelley b2797ee759
Update MetricContent.tsx 2025-08-21 22:28:03 -06:00
Nate Kelley 25162bac0e
Merge branch 'staging' of https://github.com/buster-so/buster into staging 2025-08-21 22:26:26 -06:00
Nate Kelley eadb3389cd
Update EditorContainer.tsx 2025-08-21 22:26:25 -06:00
Nate Kelley 99f8dcfbaf
Merge pull request #748 from buster-so/cursor/fix-divider-border-color-to-use-global-tailwind-f772
Fix divider border color to use global tailwind
2025-08-21 22:23:55 -06:00
Nate Kelley 6b0e473da9
Merge pull request #747 from buster-so/devin/1755829561-auto-scroll-report-editor
feat: integrate useAutoScroll hook with ReportEditor for streaming content
2025-08-21 22:22:09 -06:00
Nate Kelley b29fb18a3c
scroll to bottom button 2025-08-21 22:21:46 -06:00
Nate Kelley 6818c46578
rename prop 2025-08-21 22:11:07 -06:00
Nate Kelley 55751b0468
Merge branch 'staging' into devin/1755829561-auto-scroll-report-editor 2025-08-21 22:09:52 -06:00
Nate Kelley 52aa0feb44
Merge pull request #745 from buster-so/devin/1755828769-comment-out-equation-button
Comment out equation button and three dot menu from floating toolbar
2025-08-21 22:08:36 -06:00
Nate Kelley 9a28782123
Merge pull request #744 from buster-so/devin/1755828681-add-three-keyword-to-three-column-component
feat: add 'three' keyword synonym for three column component
2025-08-21 22:08:09 -06:00
Nate Kelley cb450fd8ae
Merge pull request #743 from buster-so/devin/1755828439-report-editor-streaming-loading
Add streaming loading message to report editor
2025-08-21 22:07:47 -06:00
Nate Kelley ad92215018
Merge branch 'staging' into devin/1755828439-report-editor-streaming-loading 2025-08-21 22:07:04 -06:00
Nate Kelley 8cd289ea59
Add a loading indactor that is stylized 2025-08-21 22:05:44 -06:00
dal 44c8191f94
Merge remote-tracking branch 'origin/staging' into migrate-metric-data-endpoints-to-ts 2025-08-21 22:00:26 -06:00
Cursor Agent 7f767f462e web(report): use Tailwind border-border for editor divider (hr) to respect global theme 2025-08-22 03:54:00 +00:00
dal 60d7bd67d1
Update modify-reports-transform-helper to display elapsed time only when all edits are complete, ensuring accurate reporting during the editing process. 2025-08-21 21:53:13 -06:00
dal a1a213a1ba
secret id 2025-08-21 21:46:04 -06:00
Nate Kelley fbc0e94281
Merge branch 'staging' into devin/1755828439-report-editor-streaming-loading 2025-08-21 21:38:11 -06:00
Nate Kelley 65260104c1
Merge pull request #746 from buster-so/nate/report-hot-fix
Fix Plate editor re-rendering issue by removing readOnly prop
2025-08-21 21:37:55 -06:00
Nate Kelley 4cfacbc1e3
read only partial fix 2025-08-21 21:37:28 -06:00
dal fe1ccb303a
Refactor metric data retrieval to enhance type handling and metadata generation
- Updated getMetricDataHandler to convert query results into a consistent type format (string | number | null).
- Improved metadata construction for query results, including detailed type mapping for database fields.
- Changed API call in the web client to use mainApiV2 for metric data requests.
2025-08-21 21:31:31 -06:00
dal 1eb3b8369a
Merge remote-tracking branch 'origin/staging' into migrate-metric-data-endpoints-to-ts 2025-08-21 21:31:19 -06:00
Nate Kelley 29fe1a1b34
Merge branch 'nate/report-hot-fix' of https://github.com/buster-so/buster into nate/report-hot-fix 2025-08-21 21:22:52 -06:00
Nate Kelley 5123fb56c1
update ready only status 2025-08-21 21:22:08 -06:00
Nate Kelley c80880c792
Merge pull request #742 from buster-so/cursor/include-own-domain-for-iframes-in-next-js-config-d9d1
Include own domain for iframes in next js config
2025-08-21 21:21:18 -06:00
Devin AI c91e5bb6bc feat: integrate useAutoScroll hook with ReportEditor for streaming content
- Add useAutoScroll hook to ReportEditor component
- Configure auto-scroll to be enabled only when isStreaming is true
- Add ref forwarding to EditorContainer for scroll container access
- Hook observes DOM mutations from StreamContentPlugin updates
- Maintains user scroll interaction handling (disable when scrolling up)

Co-Authored-By: nate@buster.so <nate@buster.so>
2025-08-22 02:30:50 +00:00
Devin AI 536e21e425 Fix Plate editor re-rendering issue by removing readOnly prop
- Remove readOnly prop from Plate provider to prevent re-renders
- Apply pointer-events-none and user-select-none CSS classes to EditorContainer when readonly
- Remove readOnly prop from usePlateEditor hook
- Editor becomes inert when readonly without causing re-renders

Co-Authored-By: nate@buster.so <nate@buster.so>
2025-08-22 02:24:11 +00:00
Devin AI b4e9a12c2e Comment out equation button and three dot menu from floating toolbar
- Remove InlineEquationToolbarButton from floating toolbar popup
- Remove MoreToolbarButton (three dot menu) from floating toolbar popup
- Comment out unused import statements
- Buttons were appearing when text is highlighted in report editor

Co-Authored-By: nate@buster.so <nate@buster.so>
2025-08-22 02:15:34 +00:00
Devin AI 4ff4905b0a feat: add 'three' keyword synonym for three column component
- Add 'three', '3', and 'columns' to keywords array in columnsThree configuration
- Enables users to type 'three' in slash command to find three column component
- Follows existing pattern from numberedList component which includes '1' keyword

Co-Authored-By: nate@buster.so <nate@buster.so>
2025-08-22 02:14:53 +00:00
Devin AI dd9b33927c Add streaming loading message to report editor
- Add shimmer loading message at bottom of editor when streaming
- Use existing ShimmerText component for consistency
- Position with absolute positioning and backdrop blur
- Show 'Generating content...' message during streaming

Co-Authored-By: nate@buster.so <nate@buster.so>
2025-08-22 02:11:38 +00:00
Cursor Agent 0a39ceb662 Update Next.js CSP to include public URL origin for frame sources
Co-authored-by: nate <nate@buster.so>
2025-08-22 02:08:22 +00:00
dal 3d2909cc16
Merge pull request #741 from buster-so/better-error-messages-for-sql-protections
Enhance SQL permission validation error messages with actionable guidance. Update tests to reflect improved error handling and specific feedback for unauthorized queries and wildcard usage. Ensure consistency in error reporting across various SQL operations.
2025-08-21 16:58:01 -06:00