Commit Graph

1075 Commits

Author SHA1 Message Date
Nate Kelley 105348562d
part 1 of adding three dot menu items 2025-08-07 14:48:19 -06:00
Nate Kelley 115a6da7e9
quick BIG alert 2025-08-07 14:18:12 -06:00
Nate Kelley 1ef2983d15
Merge branch 'staging' into big-nate-bus-1617-create-report-page-and-file-page 2025-08-07 14:08:59 -06:00
Nate Kelley 40a44cf1f9
Merge branch 'staging' into dallin-bus-1589-create-and-modify-report-tools 2025-08-07 14:05:44 -06:00
Nate Kelley 7e40fbd769
Editor is working 2025-08-07 13:34:35 -06:00
Nate Kelley 409af5e02e
Editor container fix 2025-08-07 13:25:08 -06:00
Nate Kelley 12d060cf58
Merge branch 'staging' into big-nate-bus-1617-create-report-page-and-file-page 2025-08-07 12:51:57 -06:00
Nate Kelley e67f896b7f
Update turbo.json 2025-08-07 12:51:44 -06:00
Nate Kelley 6fc8d70b45
Fixed toolbar button 2025-08-07 12:44:46 -06:00
Nate Kelley ae9efb406b
Update ImportToolbarButton.tsx 2025-08-07 12:18:44 -06:00
Nate Kelley 26b3fd0d88
update 2025-08-07 12:18:26 -06:00
Nate Kelley 48c34235cb
update msw 2025-08-07 11:07:32 -06:00
Nate Kelley f3f493740c
upgrade storybook to v9 2025-08-07 10:42:37 -06:00
Nate Kelley 63121edcf4
Add reports page 2025-08-07 10:03:14 -06:00
Nate Kelley 33bdee5ea4
update package versions 2025-08-07 09:40:51 -06:00
Nate Kelley c9f3ea8494
Merge pull request #672 from buster-so/big-nate-bus-1617-create-report-page-and-file-page
Big nate bus 1617 create report page and file page
2025-08-06 22:48:12 -06:00
Nate Kelley 81bddd5216
Add 3 dot menu for report 2025-08-06 22:46:15 -06:00
Nate Kelley ac818aff47
create a shared metric card component 2025-08-06 15:33:54 -06:00
Nate Kelley 1ccccce3a7
Update MetricElement.tsx 2025-08-06 12:54:26 -06:00
Nate Kelley 8695bd8579
metric plugin add modal update 2025-08-06 12:51:45 -06:00
Nate Kelley a3f9dc8d13
metric placeholder plugin 2025-08-06 11:16:45 -06:00
Nate Kelley 09e44171d4
fix merge conflict 2025-08-06 09:55:39 -06:00
Cursor Agent 295ecac4fe Refactor metric plugin with improved element rendering and resizing
Co-authored-by: natemkelley <natemkelley@gmail.com>
2025-08-06 14:52:16 +00:00
Nate Kelley 90d572c92f
Metric caption kit 2025-08-06 08:52:05 -06:00
Nate Kelley 4d5c3afc34
create temp hook override 2025-08-05 23:17:31 -06:00
Nate Kelley 9ba4750a65
Adjust add metric modal 2025-08-05 17:05:27 -06:00
Nate Kelley 57c1fe0f56
character counter kit 2025-08-05 15:43:28 -06:00
Nate Kelley b7a489d73b
counter reach 2025-08-05 15:15:52 -06:00
Nate Kelley 09c977a891
custom components 2025-08-05 14:43:37 -06:00
Nate Kelley 8e31d18066
Add markdown conversion function 2025-08-05 13:40:16 -06:00
dal a26242c46d
Enhance report handling by integrating markdown to PlateJS conversion in the report retrieval process, improving content formatting and error handling. Update report update schema to accept string content for markdown streaming. 2025-08-05 12:02:40 -06:00
Nate Kelley 45f7950851
Remove reports from sidebar 2025-08-05 11:10:14 -06:00
dal 9be23fac0e
Enhance SQL query safety checks with dialect-aware filtering and improve data source type retrieval in query engine 2025-08-05 11:00:34 -06:00
Nate Kelley 9b7921c38a
update unit tests 2025-08-05 10:22:53 -06:00
Nate Kelley 1ef0d18c61
Report playground updates for fixed toolbar 2025-08-05 10:15:22 -06:00
Nate Kelley e70d68d9ea
prefetch list if a name change 2025-08-05 09:30:38 -06:00
Nate Kelley 44787f5478
Add additional asset queries 2025-08-04 22:13:09 -06:00
Nate Kelley 0c0973195d
Update useGetAsset.tsx 2025-08-04 21:42:41 -06:00
Nate Kelley 255460b0e3
Add report file page 2025-08-04 21:39:35 -06:00
Nate Kelley 124523ade9
add a version number to reports 2025-08-04 21:37:23 -06:00
Nate Kelley 43af5fdb4d
add a fix for broken migrate 2025-08-04 20:45:30 -06:00
Nate Kelley 62644bffeb
better error handling for get report 2025-08-04 19:27:18 -06:00
Nate Kelley 4196b8bcd8
type safe create list by date 2025-08-04 19:15:40 -06:00
Nate Kelley c6834bdfeb
update 2025-08-04 18:20:06 -06:00
Nate Kelley ffeee17365
move enum types 2025-08-04 18:04:32 -06:00
Nate Kelley 87ea87e963
collection and assets queries 2025-08-04 16:45:49 -06:00
Nate Kelley a3198003a3
get report 2025-08-04 15:05:18 -06:00
Nate Kelley aae819e151
create new schema for reports 2025-08-04 14:03:52 -06:00
Nate Kelley 1c0947f73d
fix broken types 2025-08-04 13:42:35 -06:00
Nate Kelley f01c6d7dc5
create listing updates 2025-08-04 13:39:08 -06:00
Nate Kelley d98c5f6e37
add better layout config 2025-08-04 11:26:28 -06:00
Nate Kelley bcd06409ce
fixed button cn 2025-08-04 11:08:59 -06:00
Nate Kelley 1eb7201d5e
fix broken list type 2025-08-04 11:04:12 -06:00
Nate Kelley 75daab7f98
fix broken uni tests 2025-08-04 10:57:26 -06:00
Nate Kelley 08afd397bc
route id correctly 2025-08-04 10:44:16 -06:00
Nate Kelley 780749682d
added base report stuff 2025-08-04 10:40:29 -06:00
Nate Kelley 2435c1a5e3
update broken types 2025-08-04 10:24:22 -06:00
Nate Kelley fad6670e83
fix type assertion
added safe guards around report_fule

pass generics through

fix list pass throughs
2025-08-04 10:06:59 -06:00
Nate Kelley 46f812d823
add linking 2025-08-03 00:01:21 -06:00
Nate Kelley 08d7014725
report asset layout 2025-08-02 23:47:27 -06:00
Nate Kelley 21b3c22e5c
pass generics onto the components themselves 2025-08-02 23:38:48 -06:00
Nate Kelley 38e2bbafba
minor updates to pass through generic 2025-08-02 23:34:00 -06:00
Nate Kelley 962b4edd8d
make list column more type safe 2025-08-02 23:08:28 -06:00
Nate Kelley fd377cbfa2
create mapped union type 2025-08-02 23:00:42 -06:00
Nate Kelley 8eb1b276fd
update server type 2025-08-02 22:43:01 -06:00
Nate Kelley 55b66d866d
Part 1 of adding report to front end 2025-08-02 22:35:20 -06:00
Nate Kelley 3883248d8b
create report items container 2025-08-02 22:24:39 -06:00
Nate Kelley b031cec0c4
create report requests on web 2025-08-02 22:05:17 -06:00
Nate Kelley 729468d5cd
Merge pull request #659 from buster-so/devin/BUS-1605-1754181219
feat: implement reports API endpoints for BUS-1605
2025-08-02 21:49:24 -06:00
Nate Kelley cf5d549af3
stubbed in report lists 2025-08-02 21:48:15 -06:00
Nate Kelley 605b79f9b9
update parsing 2025-08-02 21:24:06 -06:00
Nate Kelley a4f960ff13
Update scheams for get list 2025-08-02 20:35:34 -06:00
Nate Kelley 7b3975c4ae
update schemas 2025-08-02 20:15:48 -06:00
Nate Kelley 13d814e980
Merge branch 'staging' into devin/BUS-1605-1754181219 2025-08-02 19:32:58 -06:00
Nate Kelley 3b3e9a2c9b
Merge pull request #661 from buster-so/big-nate-bus-1611-finalize-slash-menu
Big nate bus 1611 finalize slash menu
2025-08-02 19:32:34 -06:00
Nate Kelley 58ded517d5
update common shared add 2025-08-02 19:30:05 -06:00
Nate Kelley 19862ceaf6
update slash node 2025-08-02 19:18:30 -06:00
Nate Kelley 67f396eaa1
block context menu updates 2025-08-02 19:08:05 -06:00
Nate Kelley f38c61e70c
Remove logs 2025-08-02 18:39:11 -06:00
Devin AI abc801f10b feat: implement reports API endpoints for BUS-1605
- Add Report schema extending ReportElements with metadata fields
- Create GET /api/v2/reports endpoint with pagination
- Create PUT /api/v2/reports/:id endpoint for updates
- Use stubbed data responses following established patterns
- Follow modular route structure and Zod-first validation

Co-Authored-By: nate@buster.so <nate@buster.so>
2025-08-03 00:38:50 +00:00
Nate Kelley 90f5e3a05e
Add a shared icon strategry 2025-08-02 18:31:54 -06:00
Nate Kelley 3754be7875
make single icon config 2025-08-02 17:34:45 -06:00
Nate Kelley 5a501d9630
Finalized floating toolbars 2025-08-02 17:20:37 -06:00
Nate Kelley f51a599f3d
finalized highlighter 2025-08-02 17:12:33 -06:00
Nate Kelley 6502d9487d
finalized toolist 2025-08-02 16:49:01 -06:00
Nate Kelley 3d726438fb
custom colors in dropdown 2025-08-02 16:22:17 -06:00
Nate Kelley 0778c8db4e
update elements to support date 2025-08-02 15:49:52 -06:00
Nate Kelley b8b39b3d93
finalized equation 2025-08-02 14:04:37 -06:00
Nate Kelley ab9b19e9cd
fix toc 2025-08-02 13:33:02 -06:00
Nate Kelley 1f8cdd1677
media embed element 2025-08-02 13:16:06 -06:00
Nate Kelley 709c3bf627
embed parsing 2025-08-02 13:09:55 -06:00
Nate Kelley 3b4394874e
Update MediaEmbedNode.tsx 2025-08-02 12:49:36 -06:00
Nate Kelley ce7ecbe4bb
media embed update 2025-08-02 12:21:47 -06:00
Nate Kelley 76c87fb47c
update nodes 2025-08-02 11:54:42 -06:00
Nate Kelley f32a41b048
Fix table node 2025-08-02 10:26:27 -06:00
Nate Kelley 700e8f50a7
Fix font color picker 2025-08-02 10:22:14 -06:00
Nate Kelley 3ef2b6b2ef
edit floating toolbar for link 2025-08-02 10:16:25 -06:00
Nate Kelley ab887f6e85
fix imports 2025-08-01 23:34:11 -06:00
Nate Kelley 61539f1ca2
Merge branch 'staging' into big-nate-bus-1520-make-report-component 2025-08-01 23:32:44 -06:00
Nate Kelley cbb8cea4b6
Update editors imports 2025-08-01 23:31:45 -06:00
Nate Kelley 654f540cc4
Fix insert 2025-08-01 23:17:26 -06:00
Nate Kelley 677859e389
simplified insert 2025-08-01 23:10:29 -06:00
Nate Kelley c1e33fb1d2
Fix imports 2025-08-01 22:45:15 -06:00
Nate Kelley 9a4561e953
tooltip fixes 2025-08-01 22:36:32 -06:00
Nate Kelley 63112231a7
Update BlockContextMenu.tsx 2025-08-01 22:21:48 -06:00
Nate Kelley f00150c585
Update ExportToolbarButton.tsx 2025-08-01 22:19:40 -06:00
Nate Kelley b166f525a2
exporting is working 2025-08-01 22:16:14 -06:00
Nate Kelley b7e0862042
update pdf download 2025-08-01 22:05:59 -06:00
Nate Kelley bcc5566f27
Added static nodes 2025-08-01 21:58:15 -06:00
Nate Kelley 0d2b57d687
fixed broken dropdowns 2025-08-01 21:25:24 -06:00
Nate Kelley 090637fdb3
toolbar button update 2025-08-01 21:22:39 -06:00
Nate Kelley a406e46ee8
Add additional components 2025-08-01 21:12:59 -06:00
Nate Kelley 2c9abed9bc
Update list dynamics 2025-08-01 20:33:23 -06:00
Nate Kelley 8f4a0a7ec3
revert fonts 2025-08-01 20:20:06 -06:00
Nate Kelley 5d78af398e
Use our fonts update 2025-08-01 20:18:22 -06:00
Nate Kelley 8ed641af19
Update Toolbar.tsx 2025-08-01 19:55:34 -06:00
Nate Kelley 3163917d72
Update drag indactor position 2025-08-01 19:51:41 -06:00
Nate Kelley 6beb708138
Update theme style injector 2025-08-01 19:36:45 -06:00
Nate Kelley f20cf2812b
inject css vars 2025-08-01 19:25:57 -06:00
Nate Kelley 8d0ec3b6d9
fix critical imports 2025-08-01 18:41:24 -06:00
Nate Kelley bb82ed1942
update package versions 2025-08-01 18:27:56 -06:00
Nate Kelley 7f30a7c33f
fix toolbar imports 2025-08-01 17:56:02 -06:00
Nate Kelley 9639eba408
fixed toolbar import 2025-08-01 17:40:39 -06:00
Nate Kelley b5f8717b95
Add in base css vars 2025-08-01 17:25:36 -06:00
Nate Kelley f885798c61
Merge pull request #655 from buster-so/big-nate-bus-1592-chart-builder-test-environment
Big nate bus 1592 chart builder test environment
2025-08-01 17:06:07 -06:00
Nate Kelley 37ec2d5629
update outdated packages 2025-08-01 17:04:53 -06:00
Nate Kelley 7dbe92357f
Remove old image capture package 2025-08-01 17:02:49 -06:00
jacob-buster b06911a3f1 added new line 2025-07-30 14:35:15 -06:00
jacob-buster be297da61d Use Supabase context vibecode 2025-07-30 14:31:31 -06:00
Nate Kelley cb0ebe7eda
Add a splitter 2025-07-30 11:45:10 -06:00
Nate Kelley 6cfc2ec655
Add a chart playground 2025-07-30 11:38:19 -06:00
Nate Kelley cff68bd6ff
add suspense back in 2025-07-30 10:54:04 -06:00
Nate Kelley 6840439a96
Merge branch 'staging' into big-nate-bus-1520-make-report-component 2025-07-30 10:50:38 -06:00
Nate Kelley 7d12696b22
add prose and a nice loader 2025-07-30 10:49:55 -06:00
Nate Kelley f035b92579
yaml to json helpers 2025-07-29 22:49:29 -06:00
Nate Kelley 3e519c8ef6
Update additional tailwind configs 2025-07-29 18:13:34 -06:00
Nate Kelley d132dca2a5
Update broken imports 2025-07-29 18:05:16 -06:00
Nate Kelley 0d0ec231c3
Update package version 2025-07-29 17:39:51 -06:00
Nate Kelley 8a5ee5b417
create additional refs and playground 2025-07-29 17:34:49 -06:00
Nate Kelley 14e1680f43
Add theme wrapper 2025-07-29 17:09:19 -06:00
Nate Kelley 3fba54a26c
Merge pull request #646 from buster-so/big-nate-bus-1520-make-report-component
Big nate bus 1520 make report component
2025-07-29 16:50:04 -06:00
Nate Kelley 04dba563bd
Add additional toolbar buttons 2025-07-29 16:49:41 -06:00
Nate Kelley d46688bc5b
Added additional plugins 2025-07-29 15:48:01 -06:00
Nate Kelley 8f74b3bb50
remove broken imports 2025-07-29 14:59:33 -06:00
Nate Kelley be3e8b7adf
add a common markdown parser to server 2025-07-29 14:57:19 -06:00
Nate Kelley c0a12cad88
Merge pull request #643 from buster-so/big-nate-bus-1520-make-report-component
Big nate bus 1520 make report component
2025-07-29 13:31:16 -06:00
Nate Kelley 2c250f0a02
validation updates 2025-07-29 13:26:25 -06:00
Nate Kelley 674146b154
markdown parsing 2025-07-29 13:08:53 -06:00
Nate Kelley a5bde896f6
Make playroud show validation 2025-07-29 13:00:50 -06:00
Nate Kelley 27009621b5
Add temp parser 2025-07-29 12:49:58 -06:00
Nate Kelley 7f328f39bf
make draggable blocks better 2025-07-29 12:47:09 -06:00
Nate Kelley 9975c51f8a
Update index.ts 2025-07-29 11:45:34 -06:00
Nate Kelley 20d7c179b0
Fix tests 2025-07-29 11:06:23 -06:00
Nate Kelley 4023985bd6
workspace installations 2025-07-29 10:56:52 -06:00
Nate Kelley ae2b21dcd9
update server markdown to platejs 2025-07-29 10:53:24 -06:00
Nate Kelley cbe66c37cd
Update packages 2025-07-29 09:15:02 -06:00
Nate Kelley 9ad0130514
Add more editor elements 2025-07-29 08:53:50 -06:00
Nate Kelley 9c08da8fad
fix a few more node 2025-07-28 23:23:25 -06:00
Nate Kelley c5794a2593
Update nodes 2025-07-28 22:49:44 -06:00
Nate Kelley d323df1f0f
pass ref straight through 2025-07-28 22:40:39 -06:00
Nate Kelley fe7a2b3e5b
Add brand in tailwind 2025-07-28 22:23:35 -06:00
Nate Kelley ad53f0ffe1
update code blocs 2025-07-28 22:19:11 -06:00
Nate Kelley 7f592dffa9
Update block draggable 2025-07-28 22:09:34 -06:00
Nate Kelley 09efc1745c
add listing components 2025-07-28 21:52:25 -06:00
Nate Kelley ffba785e9d
Add additional components 2025-07-28 21:40:46 -06:00
Nate Kelley d1b665694f
Fixed some broken nodes 2025-07-28 20:31:30 -06:00
Nate Kelley 0ac9db4bf1
Added additional plugins 2025-07-28 20:14:37 -06:00
Nate Kelley b79ae0a15d
update imports 2025-07-28 19:12:51 -06:00
Nate Kelley d6ff3f8bcb
Add component level typesafety 2025-07-28 18:57:46 -06:00
Nate Kelley 4f00d569b8
Update Slider.tsx 2025-07-28 18:06:50 -06:00
Nate Kelley 30ec1443d0
type safety part 1 2025-07-28 17:58:12 -06:00
Nate Kelley dcaa8eb6e8
Added table nodes 2025-07-28 17:31:35 -06:00
Nate Kelley 695a393fe7
Fix emoji mart stuff 2025-07-28 17:05:54 -06:00
Nate Kelley 4c9c0adaf9
Update EmojiToolbarButton.tsx 2025-07-28 16:52:04 -06:00
Nate Kelley 93cb03d216
Add additional report stories 2025-07-28 16:46:14 -06:00
Nate Kelley 9b9e8e6e76
update the type 2025-07-28 16:00:00 -06:00
Nate Kelley fd8bce7b53
make more block and callout adjustments 2025-07-28 15:52:12 -06:00
Nate Kelley b8c25f7ca9
More plugins 2025-07-28 15:27:22 -06:00
Nate Kelley 4e31af9a9c
code bock nodes 2025-07-28 14:58:12 -06:00
Nate Kelley 9233af8b25
Update useEditor.tsx 2025-07-28 14:44:43 -06:00
Nate Kelley e94ceeb508
Update shiki-instance.ts 2025-07-28 14:44:39 -06:00
Nate Kelley 42b9f0f0e8
Create useCodeHighlighter.tsx 2025-07-28 14:44:35 -06:00
Nate Kelley 8d3a38db60
Add additinional callout and toolbar 2025-07-28 13:15:11 -06:00
Nate Kelley 1a1b0a0bc0
add additional components
Add
2025-07-28 12:54:53 -06:00
dal 1a5cc47b58
Reverse message IDs in chat response to ensure they are ordered from oldest to newest. 2025-07-28 12:39:44 -06:00
Nate Kelley 37e12a4791
Initial commit for editor 2025-07-28 11:35:20 -06:00
Nate Kelley 1a6e758863
update optimistic parsing for query requests 2025-07-28 10:54:49 -06:00
Nate Kelley 9c499b647a
add some shadcn tailwind syntax 2025-07-28 10:29:58 -06:00
dal 4bef4205f3
feat(access-controls): migrate Rust access control libraries to TypeScript
This PR migrates the Rust  and  libraries to TypeScript in the new  package.

## Changes

### New Access Controls Package
- Implemented complete asset permissions system with CRUD operations
- Added dataset permissions with all 5 access paths (admin, direct user, user→group, team→direct, team→group, org→default)
- Implemented cascading permissions (metrics inherit from dashboards/chats/collections)
- Added LRU caching to replace Redis (30-second TTL)
- Comprehensive test coverage (148 tests passing, 3 skipped pending createUser)

### Database Package Updates
- Fixed AssetType enum to include all 14 asset types
- Added missing database queries for permissions
- Fixed timestamp fields to use ISO strings
- Added getUserOrganizationsByUserId function
- Created organized query structure by table

### AI Package Updates
- Updated getPermissionedDatasets API calls to new format
- Changed property references from ymlFile to ymlContent
- Fixed all test mocks to match new API structure

### Trigger App Updates
- Updated to use new access controls API
- Fixed test mocks to match DatasetListResult structure
- Added proper type imports

### Server Shared Updates
- Added request/response types for access control endpoints
- Exported types for API consistency

## Testing
- All packages build successfully with turbo build:dry-run
- All tests pass with turbo test:unit
- Full type safety maintained throughout

## Migration Notes
- Drop-in replacement for Rust libraries
- Same permission model and roles
- Cache invalidation strategies implemented
- Soft delete pattern maintained

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-28 10:17:35 -06:00
Nate Kelley 9acc244b2e
Merge branch 'staging' into big-nate/bus-1521-couple-bugz-with-three-dot-menu 2025-07-26 10:23:52 -06:00
Nate Kelley 1608547a3e
Merge branch 'big-nate/bus-1521-couple-bugz-with-three-dot-menu' of https://github.com/buster-so/buster into big-nate/bus-1521-couple-bugz-with-three-dot-menu 2025-07-26 10:23:39 -06:00
Nate Kelley 6a507bd7ff
rename should navigate to different page 2025-07-26 10:23:36 -06:00
Nate Kelley 7b8cbc6213
Merge pull request #631 from buster-so/big-nate/bus-1521-couple-bugz-with-three-dot-menu
Fix save to collection dropdown
2025-07-26 10:06:13 -06:00
Nate Kelley 1653ae5af4
Update apps/web/src/layouts/ChatLayout/FileContainer/FileContainerHeader/DashboardContainerHeaderButtons/DashboardThreeDotMenu.tsx
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-07-26 10:05:07 -06:00
Nate Kelley f3944a6dea
fix bug causing dashboard add menu to flicker 2025-07-26 10:03:28 -06:00
dal 3e821f5609
Merge pull request #633 from buster-so/dallin/should-be-able-to-turbo-build-lint-test-unit-without-env-vars
Dallin/should-be-able-to-turbo-build-lint-test-unit-without-env-vars
2025-07-25 18:38:40 -06:00
dal 2833c6bb0c
dry run 2025-07-25 18:29:35 -06:00
dal 168da8a640
Merge pull request #632 from buster-so/dallin/minor-ui-tweaks-and-fixes
Hide filters for now
2025-07-25 17:07:47 -06:00
Nate Kelley 2ba9044d13
Invalidation after add to dashboard 2025-07-25 16:49:45 -06:00
dal 45c2846b9b
hiding filters for now since we're noticing LLM isn't ready. 2025-07-25 16:33:33 -06:00
Nate Kelley ac6b63bd6d
close on select false for favorites 2025-07-25 16:30:26 -06:00
Nate Kelley 2a0b727e17
Made icon bigger for dropdown 2025-07-25 16:16:58 -06:00
Nate Kelley efa289fe4d
Fix save to collection dropdown 2025-07-25 16:13:35 -06:00
Nate Kelley 850dc2577b
Memoized props should alwasy rerender 2025-07-25 15:47:13 -06:00
Nate Kelley e6d4628a5f
Remove "mode" from followup
Removed mode from followup asset content. It was logically impossible to have a mode with a metric. Falling back to just asset type.
2025-07-25 15:35:04 -06:00
dal 14fe8d0712
icon is now black when importing assets 2025-07-25 14:57:46 -06:00
dal 1f52bd9b69
Enhance asset chat handling by introducing `handleAssetChatWithPrompt` for processing user prompts alongside asset imports. Update `createChatHandler` to manage asset-only and asset+prompt scenarios, ensuring correct message order and preventing unnecessary analyst task triggers. Add tests for new functionality and refactor related services for improved clarity and maintainability. 2025-07-25 12:47:01 -06:00
Nate Kelley 2df53404d1
Merge pull request #627 from buster-so/devin/BUS-1494-1753276227
Front end - asset document titles
2025-07-24 18:18:38 -06:00
Nate Kelley 1d646c003d
Update request to use v2 2025-07-24 18:15:43 -06:00
Nate Kelley 0c6271f5c9
title generations 2025-07-24 18:09:18 -06:00
Nate Kelley 55679b9d19
Make request 2025-07-24 17:54:55 -06:00
Nate Kelley 633a77e2ef
Merge pull request #603 from buster-so/devin/BUS-1494-1753276227
Implement /api/v2/title endpoint for asset title retrieval (BUS-1494)
2025-07-24 17:43:41 -06:00
Nate Kelley 5e6eb76f5b
move get asset types around 2025-07-24 17:41:36 -06:00
Nate Kelley b2cf1725fc
Merge branch 'staging' into devin/BUS-1494-1753276227 2025-07-24 17:21:04 -06:00
Nate Kelley bcf6aac85d
Update code to scale down slightly 2025-07-24 17:03:25 -06:00
Nate Kelley a397cda878
Update chat-helpers.test.ts 2025-07-24 16:59:19 -06:00
Nate Kelley 09e0e3ec84
On success callback updated 2025-07-24 16:56:34 -06:00
Nate Kelley d134883db0
default markdown should use strip formatting, also not use llm output for blocks 2025-07-24 15:24:45 -06:00
Devin AI ccd8e1eab8 Add comprehensive unit tests for handleExistingChat message ordering
- Test prepending new messages to maintain descending order (newest first)
- Verify message_ids array reflects correct chronological order
- Cover edge cases: multiple messages, single message, empty messages
- Prevent future regressions in message ordering logic

Co-Authored-By: Dallin Bentley <dallinbentley98@gmail.com>
2025-07-24 18:11:06 +00:00
Devin AI 2ecf0a05fb Fix chat message ordering bug in handleExistingChat
- Prepend new message instead of appending to maintain descending order
- Fixes BUS-1486: Message order reversal when adding follow-up messages
- getMessagesForChat returns newest-first, so new messages should be prepended

Co-Authored-By: Dallin Bentley <dallinbentley98@gmail.com>
2025-07-24 18:01:34 +00:00
dal 19f7256a27
switch system messages to leverage caching a bit better 2025-07-24 10:06:18 -06:00
dal 8104ad33bf
fix the stream component so it can build 2025-07-24 09:49:05 -06:00
dal 0c3994da00
hotfix: use v2 on chats 2025-07-24 09:22:30 -06:00
Nate Kelley 00ff79c593
Assumption cards can use markdown streaming 2025-07-23 23:22:31 -06:00
Nate Kelley b08938e0fb
Merge pull request #616 from buster-so/devin/BUS-1522-1753312324
Replace Paragraph with AppMarkdownStreaming in confidence score modal
2025-07-23 23:17:22 -06:00
Nate Kelley d381cc8d44
make the code inline a little smaller 2025-07-23 23:16:08 -06:00
Nate Kelley 6938f569df
Update MetricItemCardThreeDotMenu.tsx 2025-07-23 23:09:58 -06:00
Nate Kelley 5db3e7652e
Merge branch 'big-nate/bus-1483-quick-win-for-filter-dashboard-drill-downexplore-metric' of https://github.com/buster-so/buster into big-nate/bus-1483-quick-win-for-filter-dashboard-drill-downexplore-metric 2025-07-23 23:09:09 -06:00
Nate Kelley 9b99236fa9
fix function name 2025-07-23 23:09:07 -06:00
Nate Kelley ebd0dc4086
Update apps/web/src/components/ui/card/InputCard.tsx
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-07-23 23:08:40 -06:00
Nate Kelley ff8fef6d1f
Update apps/web/src/controllers/DashboardController/DashboardViewDashboardController/DashboardContentController/DashboardMetricItem/MetricItemCardThreeDotMenu.tsx
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-07-23 23:08:31 -06:00
Nate Kelley 1fa4ea73e7
Update apps/web/src/controllers/DashboardController/DashboardViewDashboardController/DashboardContentController/DashboardMetricItem/MetricItemCardThreeDotMenu.tsx
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-07-23 23:08:25 -06:00
Nate Kelley 5e354e8558
Update apps/web/src/controllers/DashboardController/DashboardViewDashboardController/DashboardContentController/DashboardMetricItem/MetricItemCardThreeDotMenu.tsx
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-07-23 23:08:17 -06:00
Nate Kelley 4ba8b69ca4
Update apps/web/src/controllers/DashboardController/DashboardViewDashboardController/DashboardContentController/DashboardMetricItem/MetricItemCardThreeDotMenu.tsx
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-07-23 23:07:32 -06:00
Nate Kelley e2eefbda68
Update tests 2025-07-23 23:06:45 -06:00
Nate Kelley af090d467e
fix tests 2025-07-23 22:53:54 -06:00
Nate Kelley e6d4062847
Merge branch 'staging' into big-nate/bus-1483-quick-win-for-filter-dashboard-drill-downexplore-metric 2025-07-23 22:45:54 -06:00
Nate Kelley 25342b79b3
Fix flickering bug 2025-07-23 22:43:40 -06:00
Nate Kelley 5eb43d0373
Add expanded threedot menu for menus 2025-07-23 22:33:16 -06:00
Nate Kelley 9686f78055
v1 handler for asset 2025-07-23 21:31:06 -06:00
dal 3396f9fb8a
Refactor package references: rename '@buster-tools/web-tools' to '@buster/web-tools' in package.json and pnpm-lock.yaml 2025-07-23 21:09:53 -06:00
dal b8b26af1f1
update trigger package? 2025-07-23 20:55:20 -06:00
Nate Kelley df3533ffc7
pass in better props 2025-07-23 17:18:45 -06:00
Devin AI 79cf9a01a2 Replace Paragraph with AppMarkdownStreaming in AssumptionSummary
- Add import for AppMarkdownStreaming component
- Replace Paragraph element with AppMarkdownStreaming in AssumptionSummary component
- Use isStreamFinished=true and text-text-secondary className
- Fixes BUS-1522: post_processing_message isn't using the markdown component

Co-Authored-By: blake@buster.so <cblakerouse@gmail.com>
2025-07-23 23:12:25 +00:00
dal 9c2e4232ab
Merge pull request #614 from buster-so/dallin/hotfix-chat-duplicate-messages
Hotfixes on context management and dedup
2025-07-23 17:01:46 -06:00
Nate Kelley 503c9fafa4
response types update 2025-07-23 16:56:17 -06:00
dal 42d1da5389
context fixes on messages 2025-07-23 16:56:06 -06:00
Nate Kelley a11ce3bfd2
Update responses and requests 2025-07-23 16:35:14 -06:00
Nate Kelley 1ea1d6c97c
move around some types 2025-07-23 16:29:00 -06:00
Nate Kelley 011724286c
Fix broken font size 2025-07-23 16:20:34 -06:00
Nate Kelley adb6527086
Create input card 2025-07-23 16:18:16 -06:00
Nate Kelley 587eda43d0
Update axios version 2025-07-23 15:48:44 -06:00
Nate Kelley e8b29a42f7
better linting and logs 2025-07-23 15:45:40 -06:00
Nate Kelley 77deabd8ac
Update lint command 2025-07-23 15:41:59 -06:00
Nate Kelley bc6dd58559
update ts config paths 2025-07-23 15:40:13 -06:00
Nate Kelley d1fee530a4
add async vite loader 2025-07-23 15:19:01 -06:00
Nate Kelley fa925a1dd7
Merge branch 'staging' into big-nate/bus-1460-create-endpointui-to-generate-chart-images 2025-07-23 15:07:29 -06:00
Nate Kelley e42c78a98b
shimmer animation update 2025-07-23 15:04:30 -06:00
Nate Kelley 36a6b19a47
working vitest config 2025-07-23 14:53:57 -06:00
Nate Kelley d2ccb25a7f
update existing chart 2025-07-23 14:40:56 -06:00
dal 42949f6730
pin trigger versions 2025-07-23 14:23:37 -06:00
Nate Kelley 7e86e84d16
Fix many type errors 2025-07-23 09:56:01 -06:00
dal 535777cc85
Merge pull request #604 from buster-so/dallin/bus-1488-try-switching-to-cloudflare-ai-gateway
feat: add Google Vertex AI and improve model handling
2025-07-23 07:57:20 -06:00
Devin AI 8bea0e8401 Fix Biome linting error: wrap switch default case in block scope
- Add curly braces around default case content to satisfy noSwitchDeclarations rule
- Prevents variable declarations from being accessible to other switch cases
- Apply Biome formatting fixes for import statement and spacing

Co-Authored-By: nate@buster.so <nate@buster.so>
2025-07-23 13:38:45 +00:00
Devin AI 783b95b190 Fix CI failures: correct import paths and user organization access
- Import database queries from main @buster/database package
- Use getUserOrganizationId() instead of user.organizationId
- Add proper error handling for users without organizations
- Follow existing patterns from other API handlers

Co-Authored-By: nate@buster.so <nate@buster.so>
2025-07-23 13:26:58 +00:00
dal 2cd36e47e1
feat: add Google Vertex AI and improve model handling
- Added support for Google Vertex AI model version 2.2.27 in pnpm-lock.yaml and package.json.
- Introduced new model wrappers for Sonnet4 and Haiku35 with fallback logic.
- Updated various agents to utilize the new Sonnet4 model instead of the previous anthropicCachedModel.
- Enhanced error handling and retry logic in the fallback model implementation.
- Increased processing row limit in Snowflake query to 5000 for better performance.
- Added tests for new AI fallback models and their streaming capabilities.
2025-07-23 07:22:52 -06:00
Devin AI 5b40205275 Implement /api/v2/title endpoint for BUS-1494
- Add server-shared types for GetTitleRequest and GetTitleResponse with Zod validation
- Create database query functions for each asset type (chat, metric, collection, dashboard)
- Implement GET endpoint with zValidator middleware and exhaustive switch statement
- Add proper permission checks (publiclyAccessible OR organizationId match)
- Export new functions from database query index files
- Add title route to v2 API index
- Follow existing Hono API patterns with standardErrorHandler

Co-Authored-By: nate@buster.so <nate@buster.so>
2025-07-23 13:14:58 +00:00
Nate Kelley 1b0a16d606
initial commit for a shared chart 2025-07-22 22:59:24 -06:00
Nate Kelley 67336cf02e
Add selected state to channel list 2025-07-22 22:20:13 -06:00
Nate Kelley 00848a58e7
Update slack integration to use new fake button 2025-07-22 22:09:25 -06:00
Nate Kelley dd6939f69b
font family fallback 2025-07-22 21:44:26 -06:00
Nate Kelley 93600447ee
Update SyntaxHighlighter.tsx 2025-07-22 21:17:42 -06:00
Nate Kelley f7a658a791
custom hook for token loading 2025-07-22 17:03:53 -06:00
Nate Kelley 29dff3b54e
more props for container 2025-07-22 16:59:17 -06:00
Nate Kelley 3520bd9111
shiki with proper transpilation 2025-07-22 16:29:21 -06:00
Nate Kelley 10be9b41b7
accept line numbers 2025-07-22 16:15:35 -06:00
Nate Kelley 7d7fa078a2
move to shiki 2025-07-22 15:47:25 -06:00
Nate Kelley 8c43acc6ad
Merge branch 'staging' into devin/BUS-1445-1752897550 2025-07-22 13:49:23 -06:00
Nate Kelley 2dca700dcf
Merge branch 'staging' into devin/BUS-1445-1752897550 2025-07-22 13:48:03 -06:00
Nate Kelley f7ccb090f6
Import type only 2025-07-22 13:45:59 -06:00
Nate Kelley 455bc86b26
fix broken unit tests 2025-07-22 13:36:05 -06:00
Nate Kelley 130ac1da31
simplify packages 2025-07-22 13:21:49 -06:00
Nate Kelley a9d6dae0f7
update chartjs to be more dynamic for faster page loads 2025-07-22 13:11:55 -06:00
Nate Kelley d27e0030b5
dynamic imports for chart 2025-07-22 12:47:05 -06:00
Nate Kelley 0fa8e76ff7
Merge branch 'staging' into devin/BUS-1459-1752941309 2025-07-22 12:26:14 -06:00
Nate Kelley c49bdd2426
fix some broken unit tests 2025-07-22 12:14:55 -06:00
Nate Kelley d3bfcbca1b
reroute to asset page check 2025-07-22 11:34:43 -06:00
Nate Kelley 4e3b0004e6
fix unit tests 2025-07-22 11:16:43 -06:00
Devin AI d57a24e6db feat: add optional next parameter to BusterAuthRoutesWithArgs for type safety
- Follow BusterAppRoutesWithArgs pattern for optional parameters
- Enable type-safe redirect URL parameter in AUTH_LOGIN route

Co-Authored-By: nate@buster.so <nate@buster.so>
2025-07-22 16:54:17 +00:00
Devin AI 82d75da0a7 feat: update AppNoPageAccess to show Login for unauthenticated users and embed pages
- Add authentication state detection using useSupabaseContext
- Detect embed page context using window.location.pathname
- Show 'Login' button with redirect parameter for unauthenticated users or embed pages
- Keep 'Go home' button for authenticated users without asset access
- Include current URL as redirect parameter in login link

Co-Authored-By: nate@buster.so <nate@buster.so>
2025-07-22 16:54:17 +00:00
Nate Kelley cd173c4fd4
Create assetReroutes.test.ts 2025-07-22 10:49:05 -06:00
Nate Kelley 9b02f11da5
Merge branch 'devin/BUS-1455-1752897143' of https://github.com/buster-so/buster into devin/BUS-1455-1752897143 2025-07-22 10:40:28 -06:00
Nate Kelley 3680285cd9
fix duplicate redirect logic 2025-07-22 10:39:53 -06:00
Devin AI 286c51eb0f Merge branch 'devin/BUS-1455-1752897143' of https://git-manager.devin.ai/proxy/github.com/buster-so/buster into devin/BUS-1455-1752897143 2025-07-22 16:39:06 +00:00
Devin AI d9c847c632 fix: resolve Next.js build error with useSearchParams in LoginForm
- Update login page to be server component that extracts searchParams
- Pass redirectTo as prop to LoginForm instead of using useSearchParams
- Add helper function to reduce code duplication in middleware
- Add URL validation in layout component as suggested in PR comments
- Follow Next.js App Router best practices for server/client components

Co-Authored-By: nate@buster.so <nate@buster.so>
2025-07-22 16:38:44 +00:00
Nate Kelley 64cdf49d5b
Merge branch 'staging' into devin/BUS-1455-1752897143 2025-07-22 10:17:46 -06:00
Nate Kelley f81736c4c4
Update animation name 2025-07-22 09:51:56 -06:00
Nate Kelley 3638d73547
force the y on package 2025-07-22 09:45:46 -06:00
Nate Kelley ff45432c4e
Merge branch 'staging' into big-nate/bus-1376-make-streaming-individual-words-use-the-streaming-affect 2025-07-22 09:38:10 -06:00
Nate Kelley b618bf53fa
Remove unused animation prop 2025-07-22 09:27:03 -06:00