Commit Graph

694 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 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 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 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 531023ca6d
add route to asset icons 2025-08-22 10:16:23 -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 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 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
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
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
Nate Kelley d1d7c959e5
Add padding 2025-08-21 16:18:27 -06:00
Nate Kelley 5fc37bbde2
Remove unused elements 2025-08-21 15:38:32 -06:00
Nate Kelley bff8e1d9fd
fixed cursor ovlerlay 2025-08-21 15:33:34 -06:00
Nate Kelley 39b68445a0
hot fix for j dawg 2025-08-21 14:50:58 -06:00