Commit Graph

1074 Commits

Author SHA1 Message Date
dal 416dfa8714
fix query requests.. 2025-08-22 12:47:07 -06:00
dal fe5819efe1
Update AWS SDK dependencies and enhance metric data handling
- Upgraded '@aws-sdk/client-s3' to version 3.873.0 across multiple packages.
- Introduced caching mechanisms for metric data retrieval in the getMetricDataHandler function.
- Updated API endpoints to support report_file_id for cache lookups and data retrieval.
- Enhanced error handling and logging for cache operations.
- Refactored related components to accommodate new caching logic and parameters.
2025-08-22 12:45:05 -06:00
dal ec4a04b814
Merge pull request #752 from buster-so/share-report-functionality
Add report sharing endpoints and integrate with existing routes
2025-08-22 11:51:44 -06:00
dal db775397d9
Enhance report sharing functionality with response type integration
- Updated DELETE, GET, and POST handlers to return structured response types (ShareDeleteResponse, ShareGetResponse, SharePostResponse) for better consistency and clarity.
- Refactored permission checks and report existence validation to streamline logic.
- Improved optimistic UI updates in the frontend for sharing reports, ensuring a smoother user experience.
- Added response schemas for sharing operations to the shared reports module.
2025-08-22 11:46:30 -06:00
dal 82e81ec964
Merge remote-tracking branch 'origin/staging' into add-access-controls-to-reports 2025-08-22 11:15:47 -06:00
dal 250c02db3b
Merge remote-tracking branch 'origin/staging' into share-report-functionality 2025-08-22 11:15:38 -06:00
dal c1e1c1edac
Refactor report sharing endpoints for improved structure and clarity
- Exported handler functions for DELETE, GET, POST, and PUT endpoints to enhance modularity.
- Removed redundant authentication middleware from individual endpoint files, consolidating it in the index route.
- Cleaned up code formatting for better readability.
- Deleted outdated test file for report sharing endpoints.
2025-08-22 11:15:35 -06:00
dal f3cf5f46c4
Refactor report retrieval to include permission checks and enhance filtering options
- Updated GET reports endpoint to use `getReportsWithPermissions` for improved access control.
- Added support for filtering reports based on `shared_with_me` and `only_my_reports` flags.
- Introduced `getReportsWithPermissions` function to handle complex permission logic in the database layer.
- Enhanced report metadata retrieval to ensure proper access validation before fetching report details.
2025-08-22 11:14:50 -06:00
dal 4558f22f7e
refactor: remove duplicate report functionality from ReportThreeDotMenu
- Removed the duplicate report item from the dropdown menu.
- Cleaned up related code and comments for clarity.
2025-08-22 11:07:52 -06:00
dal 17ee5d2197
hide verification in UI 2025-08-22 10:53:28 -06:00
dal eedf5f42f8
Add report sharing endpoints and integrate with existing routes
- Implemented DELETE, GET, POST, and PUT endpoints for report sharing functionality.
- Added logic to handle sharing permissions, including validation of user access and email checks.
- Updated the sharing index route to include new endpoints.
- Created comprehensive tests for sharing functionalities to ensure proper behavior.
- Enhanced the frontend with hooks for sharing reports, unsharing reports, and updating sharing settings.
2025-08-22 10:49:05 -06:00
dal cd5ea1a3a6
Merge remote-tracking branch 'origin/staging' into add-report-to-collection-functionality 2025-08-22 10:41:57 -06:00
dal cfafa773ea
move reports above collections 2025-08-22 10:41:46 -06:00
dal d308b20c3e
fix: enable report navigation and display in collections
- Fix report route to use APP_REPORTS_ID instead of APP_REPORT_ID
- Add report icon to CollectionIconRecord
- Add report case to createAssetLink function for proper navigation
2025-08-22 10:39:22 -06:00
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 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