Commit Graph

1054 Commits

Author SHA1 Message Date
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 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
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 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 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 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
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 0bf2c95147
Merge remote-tracking branch 'origin/staging' into migrate-metric-data-endpoints-to-ts 2025-08-21 16:57:08 -06:00
dal 71efdff64e
Add data source integration for metric data retrieval
- Added '@buster/data-source' dependency to the server and pnpm lock files.
- Enhanced the getMetricDataHandler function to support versioning and data source integration.
- Updated the metric data query schema to include an optional version number parameter.
- Modified the API endpoint to accommodate the new versioning feature for metric data retrieval.
2025-08-21 16:57:04 -06:00
dal 4b34e65fc1
get rid of random perbuild? 2025-08-21 16:32:34 -06:00
dal 96d20ff512
package.json 2025-08-21 16:25:00 -06:00
Nate Kelley d1d7c959e5
Add padding 2025-08-21 16:18:27 -06:00
dal 3c8f1f4615
Add metric data retrieval endpoint and update schemas
- Introduced a new endpoint to retrieve metric data with pagination at /metric_files/:id/data.
- Added MetricDataParamsSchema and MetricDataQuerySchema for request validation.
- Updated GetMetricDataRequestSchema to include an optional limit parameter for pagination.
2025-08-21 15:55:19 -06:00
Nate Kelley 111955042c
Merge pull request #737 from buster-so/nate/report-hot-fix
Remove unused elements
2025-08-21 15:38:55 -06:00
Nate Kelley 5fc37bbde2
Remove unused elements 2025-08-21 15:38:32 -06:00
Nate Kelley 5fa39bcd6f
Merge pull request #736 from buster-so/nate/report-hot-fix
fixed cursor ovlerlay
2025-08-21 15:34:02 -06:00
Nate Kelley bff8e1d9fd
fixed cursor ovlerlay 2025-08-21 15:33:34 -06:00
dal cf8610eda4
Merge remote-tracking branch 'origin/fix-deployment-pipeline' into staging 2025-08-21 15:00:06 -06:00
dal 5fabf17df6
remove env utils 2025-08-21 14:57:34 -06:00
Nate Kelley 39b68445a0
hot fix for j dawg 2025-08-21 14:50:58 -06:00