Commit Graph

606 Commits

Author SHA1 Message Date
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 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 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 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 ae2b21dcd9
update server markdown to platejs 2025-07-29 10:53:24 -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
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
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 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 bcf6aac85d
Update code to scale down slightly 2025-07-24 17:03:25 -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
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 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 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
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
Nate Kelley 503c9fafa4
response types update 2025-07-23 16:56:17 -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 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 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
Nate Kelley 7e86e84d16
Fix many type errors 2025-07-23 09:56:01 -06: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
Nate Kelley ffc255c5d6
Update animation to use css vars 2025-07-22 09:26:04 -06:00
Nate Kelley 1f4ceea012
change is stream finshed prop 2025-07-22 09:11:46 -06:00
Nate Kelley 0d74bd7f79
Update apps/web/src/components/features/reasoning/ReasoningFileCode.tsx
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-07-22 09:08:06 -06:00
Devin AI 1820dd6842 Implement consistent email sorting for individual_permissions arrays
- Backend: Add itertools imports and case-insensitive email sorting to collections, dashboards, and metrics handlers
- Frontend: Add email sorting to React Query mutation onMutate callbacks for share/unshare operations
- Ensures consistent alphabetical ordering by email across API responses and UI state
- Addresses BUS-1477 requirements for predictable individual_permissions ordering

Co-Authored-By: nate@buster.so <nate@buster.so>
2025-07-22 12:41:40 +00:00
Nate Kelley bebdcdc347
Update list invlidation logic 2025-07-21 15:44:08 -06:00
Nate Kelley 4460e4934b
Merge branch 'staging' into devin/BUS-1447-1752896644 2025-07-21 15:40:34 -06:00
Nate Kelley f4b24500e1
check for new chats update 2025-07-21 15:39:14 -06:00
Nate Kelley 9d6d613334
markdown smoother stream 2025-07-21 14:43:06 -06:00
Nate Kelley a569460d17
update folder locatoins for components 2025-07-21 13:03:02 -06:00
Nate Kelley 06492d0a9d
update imports for streamable markdown 2025-07-21 12:38:14 -06:00
Nate Kelley ec977bf538
blur in animations are complete 2025-07-21 12:36:05 -06:00
Nate Kelley a2ae1b8b38
update animation lifecycle 2025-07-21 12:21:07 -06:00
Nate Kelley d437535d50
update to streaming 2025-07-21 11:34:27 -06:00
Nate Kelley ededd23024
fix streaming bugs 2025-07-21 10:22:51 -06:00
Nate Kelley 7ac895d064
Merge branch 'staging' into big-nate/bus-1376-make-streaming-individual-words-use-the-streaming-affect 2025-07-21 08:32:58 -06:00
Nate Kelley a8c18844ee
fix broken avatar colors 2025-07-21 08:32:39 -06:00
Nate Kelley 53bfc42902
ensure list items are aligned correctly 2025-07-19 23:27:02 -06:00
Nate Kelley 34e128874a
Remove height animation from reasoning 2025-07-19 22:57:58 -06:00
Nate Kelley f96d4f42c6
fix markdown with undefiend classes 2025-07-19 22:57:38 -06:00
Nate Kelley adf6d06995
pre cannot be a decendant of p 2025-07-19 22:31:47 -06:00
Nate Kelley 3a78dc0514
Merge branch 'staging' into big-nate/bus-1376-make-streaming-individual-words-use-the-streaming-affect 2025-07-19 22:27:33 -06:00
Nate Kelley 2185d4c478
prefetch chats route as well 2025-07-19 22:26:48 -06:00
Nate Kelley 620ff75876
devin improvements to styles 2025-07-19 22:17:12 -06:00
Devin AI cd90bdd998 fix: revert icon barrel exports to maintain compatibility
Reverted explicit icon exports back to export * pattern to ensure
all icon imports continue working while maintaining bundle optimization
benefits from other changes.

Co-Authored-By: nate@buster.so <nate@buster.so>
2025-07-19 16:34:22 +00:00
Devin AI 4b21570145 feat: optimize web app bundle size
- Fix Next.js config to enable bundle analyzer
- Replace barrel file exports with explicit named exports for better tree-shaking
- Create dynamic Chart.js component to reduce initial bundle size
- Optimize icon library exports to only include commonly used icons
- Update imports to use dynamic loading for Chart.js components

Bundle analyzer reports generated showing optimization impact.
Addresses BUS-1459.

Co-Authored-By: nate@buster.so <nate@buster.so>
2025-07-19 16:19:11 +00:00
Devin AI a0dc9e03d2 Fix syntax highlighting flicker by replacing PrismAsyncLight with Shiki
- Replace react-syntax-highlighter with Shiki for synchronous highlighting
- Convert existing light theme to Shiki format in shiki-light-theme.ts
- Eliminate flicker in reasoning slide-out component
- Maintain compatibility with existing SyntaxHighlighter usage
- Remove react-syntax-highlighter dependencies from package.json

Fixes BUS-1445

Co-Authored-By: nate@buster.so <nate@buster.so>
2025-07-19 04:14:17 +00:00
Devin AI 24aaa23a2f feat(BUS-1376): Replace AppMarkdown with AppMarkdownStreaming and fix animation issues
- Replace AppMarkdown with AppMarkdownStreaming in ChatResponseMessage_Text and ReasoningMessage_Text
- Map props correctly: markdown → content, showLoader → isStreamFinished
- Add wrapper divs to handle className prop
- Adjust spring physics in ReasoningMessageSelector to prevent height overshoot:
  - Reduce stiffness from 400→300 and increase damping from 32→40 for animate
  - Reduce stiffness from 450→350 and increase damping from 35→45 for exit
- Improves streaming text animation smoothness and prevents height expansion beyond content

Co-Authored-By: nate@buster.so <nate@buster.so>
2025-07-19 03:57:22 +00:00
Devin AI 3d632c96ad feat: implement redirect-after-login for BUS-1455
- Update middleware to capture original URL and add as 'next' query param
- Modify layout redirect to include redirect parameter
- Update LoginForm to extract and pass redirect to all auth methods
- Add redirect parameter support to all sign-in functions
- Implement URL validation with fallback to home page
- Update OAuth callback to handle redirects consistently
- Support all authentication methods: email/password, Google, GitHub, Azure

Co-Authored-By: nate@buster.so <nate@buster.so>
2025-07-19 03:56:19 +00:00
Devin AI 79336d5d9d feat(BUS-1447): Add useTrackAndUpdateNewMessages hook to track external message insertions
- Create new hook to detect message insertions from external sources like Slack
- Configure useShapeStream with 'insert' operations only
- Update chat message_ids array when new messages are detected
- Integrate hook into useChatStreaming alongside existing tracking hooks
- Handle message ordering and deduplication with uniq
- Fix TypeScript errors by ensuring id property is included in onUpdateChat calls

Co-Authored-By: nate@buster.so <nate@buster.so>
2025-07-19 03:47:42 +00:00
Nate Kelley 364fe39069
inline code update 2025-07-18 16:51:09 -06:00
Nate Kelley 6022f4b131
Merge branch 'staging' into big-nate/bus-1376-make-streaming-individual-words-use-the-streaming-affect 2025-07-18 15:58:28 -06:00
Nate Kelley f582065772
user safe selector 2025-07-18 15:50:23 -06:00
Nate Kelley 06f9c2e24a
check anon user 2025-07-18 15:44:17 -06:00
Nate Kelley c5fe152bee
DEFAULT must defined colors 2025-07-18 15:38:55 -06:00
Nate Kelley 0c345cb00e
Merge pull request #554 from buster-so/big-nate/bus-1424-default-color-palette-in-workspace-settings
default color palette in workspace settings
2025-07-18 14:13:06 -06:00
Nate Kelley c885114a45
save should trigger close 2025-07-18 14:12:12 -06:00
Nate Kelley c7c641f648
Update sizing 2025-07-18 13:54:05 -06:00
Nate Kelley 12f30c4bad
Merge pull request #552 from buster-so/big-nate/bus-1424-default-color-palette-in-workspace-settings
Big nate/bus 1424 default color palette in workspace settings
2025-07-18 13:52:20 -06:00
Nate Kelley 6c5b3a4f7a
update theme list 2025-07-18 13:52:04 -06:00
Nate Kelley d134c06bb8
theme update is working 2025-07-18 13:42:10 -06:00
Nate Kelley d66f5d1b63
Update usePalettes.ts 2025-07-18 13:10:21 -06:00
Nate Kelley 8988837248
stablize dictionary IDS 2025-07-18 12:48:22 -06:00
Nate Kelley 95e0c8d7b5
move currency around to dictionary 2025-07-18 12:37:03 -06:00
dal 47f03ac1d5
Merge pull request #550 from buster-so/dallin/bus-1431-auto-sharing-for-queries-from-slack-channels
Dallin/bus-1431-auto-sharing-for-queries-from-slack-channels
2025-07-18 11:58:08 -06:00
Nate Kelley 187f4913e3
Update alignment 2025-07-18 11:39:25 -06:00
Nate Kelley 89019a8099
Update use palettes 2025-07-18 11:34:29 -06:00
dal d7d4ab6401
ok filtering the chats and hiding shareWithChannel for now 2025-07-18 11:32:33 -06:00
Nate Kelley 71b9843063
Merge pull request #544 from buster-so/devin/1752815489-hide-three-dot-menu
feat: add hideThreeDotMenu prop to conditionally show theme menu based on admin status
2025-07-18 11:30:22 -06:00
Nate Kelley 71cc1a825e
wait for parent to be mounted before mounting splitter 2025-07-18 11:11:20 -06:00
Nate Kelley dfe7c826bc
default props passed down 2025-07-18 10:40:50 -06:00
Nate Kelley 1e52253678
default consume shared palette 2025-07-18 10:21:54 -06:00
Nate Kelley 21d1743fee
reusable hook implenation 2025-07-18 10:06:50 -06:00
Nate Kelley 9048b6dad0
remove default colors from setter 2025-07-18 09:47:13 -06:00
Nate Kelley fb1a504782
selected colors app update 2025-07-18 09:36:09 -06:00
Nate Kelley 536122a76c
Rename variable 2025-07-18 09:23:00 -06:00
Devin AI 4e3f100221 Merge remote-tracking branch 'origin/devin/1752815488-hide-three-dot-menu' into devin/1752815489-hide-three-dot-menu 2025-07-18 15:18:30 +00:00
Devin AI 4743a3417b refactor: move useThemeOperations to context-hooks folder and simplify ThemeList
- Move useThemeOperations hook from colors feature to new src/context-hooks folder
- Add README.md explaining context-hooks folder purpose for API/context related hooks
- Remove isAdmin context check from ThemeList component, now only uses hideThreeDotMenu prop
- Update all import statements to reference new hook location
- Maintain theme categorization logic in ColorsApp.tsx for proper three-dot menu hiding

Co-Authored-By: nate@buster.so <nate@buster.so>
2025-07-18 15:18:04 +00:00
Nate Kelley 0b870f11eb
Merge branch 'staging' into devin/1752815489-hide-three-dot-menu 2025-07-18 09:09:46 -06:00
Nate Kelley 093e76ab33
Merge pull request #545 from buster-so/devin/1752843203-move-currencies-to-dictionaries
feat: move currencies endpoint to dictionaries route
2025-07-18 08:28:31 -06:00
dal 89e69c8ef4
Merge pull request #538 from buster-so/dallin/bus-1419-enable-sharing-of-dashboards-or-collections-with-workspace
Workspace Sharing
2025-07-18 07:01:44 -07:00
Devin AI e0f3270802 fix: update story mock endpoint to use new dictionaries/currency route
Co-Authored-By: nate@buster.so <nate@buster.so>
2025-07-18 12:56:52 +00:00
Devin AI 30fc4fda18 feat: move currencies endpoint to dictionaries route
- Move currency endpoint from /api/v2/currency to /api/v2/dictionaries/currency
- Follow existing dictionaries pattern with separate config.ts and index.ts
- Update web API calls to use new endpoint location
- Remove old currency route registration and files
- Preserve all existing functionality and types

The new endpoint is accessible at /api/v2/dictionaries/currency and maintains
the same response format and authentication requirements.

Co-Authored-By: nate@buster.so <nate@buster.so>
2025-07-18 12:56:26 +00:00
Devin AI 615f433b82 fix: resolve TypeScript implicit any errors and address PR review comments
- Add proper type annotations for theme parameters in useThemeOperations and ColorsApp
- Make onSelectTheme async for consistency
- Remove unused imports (useGetUser, useUpdateOrganization)
- Add userConfig to useMemo dependency array

Co-Authored-By: nate@buster.so <nate@buster.so>
2025-07-18 06:02:55 +00:00
Devin AI 28b16a92c1 clean: remove old hook file from generic hooks directory
Co-Authored-By: nate@buster.so <nate@buster.so>
2025-07-18 05:32:49 +00:00
Devin AI 481b816152 refactor: move useThemeOperations hook to colors feature directory
- Move hook from generic src/hooks to src/components/features/colors for better organization
- Update import paths in ColorsApp and DefaultThemeSelector
- Remove export from generic hooks index file

Co-Authored-By: nate@buster.so <nate@buster.so>
2025-07-18 05:21:59 +00:00
Devin AI d9dc420137 feat: add hideThreeDotMenu prop to conditionally show theme menu based on admin status
- Add hideThreeDotMenu optional boolean prop to IColorTheme interface
- Update ThemeList component to check admin status and hideThreeDotMenu prop before showing three dot menu
- Set hideThreeDotMenu: false for userConfig organization themes and true for dictionary themes in ColorsApp
- Create reusable useThemeOperations hook for theme operations (onCreateCustomTheme, onDeleteCustomTheme, onModifyCustomTheme, onSelectTheme)
- Update DefaultThemeSelector to use the new hook
- Wrap EditCustomThemeMenu with AddThemeProviderWrapper in ColorsApp

Co-Authored-By: nate@buster.so <nate@buster.so>
2025-07-18 05:16:15 +00:00
Nate Kelley d6f0dd3bb5
update theme wrapper 2025-07-17 23:02:42 -06:00
Nate Kelley ea0048e8e2
Update color apps to include custom themes 2025-07-17 22:51:26 -06:00
Nate Kelley cde45ad869
key iterations and type fixes 2025-07-17 22:42:12 -06:00
Nate Kelley 9f86f337ff
Merge branch 'staging' into dallin/bus-1419-enable-sharing-of-dashboards-or-collections-with-workspace 2025-07-17 22:13:53 -06:00
Nate Kelley 0a34db8989
revise front end to use shared components 2025-07-17 22:12:12 -06:00
Nate Kelley 2275028c7c
Merge branch 'staging' into big-nate/bus-1376-make-streaming-individual-words-use-the-streaming-affect 2025-07-17 21:26:25 -06:00
Nate Kelley 70a5fd6ec0
Merge pull request #540 from buster-so/big-nate/bus-1424-default-color-palette-in-workspace-settings
Big nate/bus 1424 default color palette in workspace settings
2025-07-17 18:53:59 -06:00
Nate Kelley 10e37f07de
update all types to work better together 2025-07-17 18:51:45 -06:00
Nate Kelley 09e4b36bf5
add dictionaries for color schemes 2025-07-17 17:16:15 -06:00
dal cd8a50403f
Merge branch 'staging' into dallin/bus-1419-enable-sharing-of-dashboards-or-collections-with-workspace 2025-07-17 17:16:07 -06:00
Nate Kelley d2cd4fb173
create default them component 2025-07-17 16:24:46 -06:00
dal cc2dd7fa61
Enhance workspace member count integration across various handlers and components
- Introduced `count_workspace_members` utility function to retrieve the number of active users in a workspace.
- Updated chat, collection, dashboard, and metric handlers to include `workspace_member_count` in their responses.
- Modified relevant types to accommodate the new `workspace_member_count` field.
- Adjusted frontend components to display the number of workspace members in the ShareMenu and related UI elements.

These changes improve the visibility of workspace member information and enhance the overall user experience.
2025-07-17 16:21:14 -06:00
Nate Kelley e803d76f52
finalize default theme base 2025-07-17 15:59:37 -06:00
Nate Kelley aa8da2ae11
update to custom theme base 2025-07-17 15:52:09 -06:00
dal e1ff5098fd
nucleo filled 2025-07-17 15:49:50 -06:00
dal f71973eac2
Enhance ShareMenu and metric mocks with workspace sharing updates
- Adjusted the ShareMenu component styles for improved layout consistency.
- Added `workspace_sharing` property with a default value of 'none' in metric-related mocks and tests.
- Updated the mock dashboard to include the new `workspace_sharing` field.

These changes improve the UI and ensure that the workspace sharing feature is properly represented in the mock data.
2025-07-17 15:44:36 -06:00
Nate Kelley 490967a1bc
add additional context to menus 2025-07-17 15:38:47 -06:00
dal 4e2b6c235e
Refactor workspace sharing permissions across assets
- Updated the `WorkspaceSharing` enum to use camelCase for serialization.
- Introduced `workspace_permissions` field in update requests for chats, collections, dashboards, and metrics.
- Implemented handling of workspace sharing permissions in respective update handlers, allowing for setting and removing permissions.
- Adjusted frontend components and API interfaces to align with the new `workspace_sharing` naming convention.

This change enhances the consistency and usability of workspace sharing across different asset types.
2025-07-17 15:26:26 -06:00
Nate Kelley 74aebb4291
color picker drag update for bug 2025-07-17 15:10:51 -06:00
Nate Kelley ba8c4640bf
Update NewThemePopup.tsx 2025-07-17 14:54:44 -06:00
dal d9f9182ab2
ui components and return the values 2025-07-17 14:51:53 -06:00
Nate Kelley b27dc430d9
create basic color spickers 2025-07-17 14:44:20 -06:00
Devin AI 077d6de476 feat(slack): implement scope validation and re-installation flow for BUS-1435
- Create centralized OAuth scopes constants file
- Add scope validation to integration status check
- Update OAuth flow to handle re-installations while preserving user settings
- Add yellow 'Re-install Required' button to UI when scopes don't match
- Implement proper error handling and rollback logic for failed re-installations

Co-Authored-By: Dallin Bentley <dallinbentley98@gmail.com>
2025-07-17 19:54:49 +00:00
Nate Kelley f725ef9386
add avatar urls to the share 2025-07-17 10:50:49 -06:00
Nate Kelley 06d8c1e568
Merge pull request #527 from buster-so/big-nate/bus-1420-add-searchable-menu-to-share-dropdowns
add searchable menu to share dropdowns
2025-07-16 23:48:44 -06:00
Nate Kelley 0be0744bd0
share update 2025-07-16 23:46:34 -06:00
Nate Kelley 80d2c88d90
debounce input a little bit 2025-07-16 23:15:58 -06:00
Nate Kelley a24779d40f
Query request in line 2025-07-16 23:01:49 -06:00
dal bcaa133059
Enhance Slack agent task with no message handling and increase max duration
- Updated maxDuration to 600 seconds to align with analyst agent task.
- Added logic to handle cases where no messages are found, sending a direct response to Slack and updating message reactions accordingly.
- Improved type safety in SlackSharingPermissions component by defining a specific type for sharing permissions.
2025-07-16 17:37:17 -06:00