Commit Graph

1515 Commits

Author SHA1 Message Date
Nate Kelley 4fa7e92a38
favorites updates 2025-03-13 14:31:54 -06:00
Nate Kelley b33ebf675a
fixed broken data getter 🥰 2025-03-13 13:41:55 -06:00
Nate Kelley d20d6bf333
Update SidebarItem.tsx 2025-03-13 13:26:33 -06:00
Nate Kelley f923c3a428
sortable sidebar collapse 2025-03-13 13:21:36 -06:00
Nate Kelley 96fe76cfe6
add a dragging 2025-03-13 13:12:25 -06:00
Nate Kelley 0fed3fcac8
is sortable 2025-03-13 12:59:50 -06:00
Nate Kelley cef20f281e
sidebar with removebale 2025-03-13 12:50:45 -06:00
Nate Kelley ce0a9ca4e3
Update SidebarPrimary.tsx 2025-03-13 12:19:51 -06:00
Nate Kelley 8488524a5c
buster chat provider 2025-03-13 12:11:22 -06:00
Nate Kelley 3ebace2a91
Update package.json 2025-03-13 11:46:13 -06:00
Nate Kelley aa79943db5
confirm modal update 2025-03-13 11:39:40 -06:00
Nate Kelley 9e4e8ca43c
update the confirm modal 2025-03-13 11:29:36 -06:00
Nate Kelley 71c4c16bc9
remove metric provider 2025-03-13 11:01:18 -06:00
Nate Kelley ae38da2de1
create a hook for update charts 2025-03-13 10:46:03 -06:00
Nate Kelley 77ece34d25
start moving to hook based updates 2025-03-13 10:24:09 -06:00
Nate Kelley 545ad32f50
ripped out sql provider stuff 2025-03-12 23:00:20 -06:00
Nate Kelley ce66f88076
rip out more dashboard config stuff 2025-03-12 18:40:15 -06:00
Nate Kelley ee6686448d
remove additional context layers for dashboard 2025-03-12 17:12:27 -06:00
Nate Kelley 76254339e9
rip out metric stuff 2025-03-12 15:31:48 -06:00
Nate Kelley c84ddaa571
fix how we favorite stuff 2025-03-12 14:42:54 -06:00
Nate Kelley 7eaee18f09
rip out some users context 2025-03-12 14:34:56 -06:00
Nate Kelley 55ffb94fe2
ripped out terms provider 2025-03-12 14:19:40 -06:00
Nate Kelley 6f188111c6
ripped out dataset context 2025-03-12 14:10:45 -06:00
Nate Kelley aa77f00bc7
rip out collection provider 2025-03-12 13:54:45 -06:00
Nate Kelley ac6c32a9a5
selected file layout update 2025-03-12 13:06:09 -06:00
Nate Kelley ac389d0f4a
colors update 2025-03-12 12:55:10 -06:00
Nate Kelley 8472987639
fix up the themes 2025-03-12 12:50:54 -06:00
Nate Kelley 7410a0c07b
Update KeyboardShortcutPills.tsx 2025-03-12 12:36:01 -06:00
Nate Kelley bffe175bed
keyboard shortcut for closing 2025-03-12 12:34:21 -06:00
Nate Kelley 2788f7e675
fix bad render states 2025-03-12 12:28:02 -06:00
Nate Kelley b496523a4c
update some stuff 2025-03-12 12:24:49 -06:00
Nate Kelley 621cc025b8
add a debounce for resizing a chart 2025-03-12 12:09:46 -06:00
Nate Kelley 5861f81b93
update stories 2025-03-12 11:54:39 -06:00
Nate Kelley 059c1c18ba
resize for pie inner label 2025-03-12 11:49:21 -06:00
Nate Kelley 08dd7179c2
do not pass css var to chart 2025-03-12 11:45:28 -06:00
Nate Kelley 30ae05268f
create additional stories 2025-03-12 11:13:59 -06:00
Nate Kelley 985fc6e5b1
Update BusterChart.BarChart.stories.tsx 2025-03-12 11:04:12 -06:00
Nate Kelley ffdcabf48a
created many line chart stories 2025-03-12 10:59:40 -06:00
Nate Kelley b8a3c92cb9
update some stories 2025-03-12 10:48:21 -06:00
Nate Kelley 9c90cd6cd7
create chart stories 2025-03-12 10:25:36 -06:00
Nate Kelley b18a71a0c5
fix the broken chart rendering 2025-03-12 10:04:56 -06:00
Nate Kelley f12f443fda
fix listing endpoints 2025-03-12 09:21:54 -06:00
Nate Kelley d0ec4fcd9d
Update AppDataGrid.module.css 2025-03-11 19:12:01 -06:00
Nate Kelley 7cf9351a09
fix broken table 2025-03-11 18:50:52 -06:00
Nate Kelley f7b8d87c01
update some grid layout stuff 2025-03-11 17:01:39 -06:00
Nate Kelley 3f80eecb66
fix layout header stuff 2025-03-11 16:06:21 -06:00
Nate Kelley 7577912cda
update avatar 2025-03-11 15:55:55 -06:00
Nate Kelley e849d95a77
scrolling variant 2025-03-11 14:02:29 -06:00
Nate Kelley 2a0dedfe2e
update reasoning page scroll 2025-03-11 13:07:16 -06:00
Nate Kelley d46380e2b4
animation updater 2025-03-11 12:32:21 -06:00
Nate Kelley c20cbb8501
minor tweaks to listerns 2025-03-11 12:11:18 -06:00
Nate Kelley 392010e722
change font sizes for plan 2025-03-11 11:27:34 -06:00
Nate Kelley bef262ed30
bar container animation update 2025-03-11 11:15:37 -06:00
Nate Kelley f763233114
udpate fetch data 2025-03-11 11:07:18 -06:00
Nate Kelley e34fdb5420
update terms list 2025-03-11 11:01:56 -06:00
Nate Kelley 6703e4ccba
logs page 2025-03-11 10:38:13 -06:00
Nate Kelley 841ce7aff6
move metric list header over 2025-03-11 10:24:32 -06:00
Nate Kelley d0a32dad5d
rip out duplicate filters thing 2025-03-11 10:16:29 -06:00
Nate Kelley e8081b0df1
put toaster back in place 2025-03-11 10:00:02 -06:00
Nate Kelley 8cfccc7bc1
Update AIWarning.tsx 2025-03-11 09:46:57 -06:00
Nate Kelley 8108a33155
update bar animation 2025-03-11 09:43:38 -06:00
Nate Kelley c9e76819e9
initialize listing data 2025-03-11 09:41:48 -06:00
Nate Kelley ea7ca17b16
update chat updaters 2025-03-11 09:33:57 -06:00
Nate Kelley bbd4430a9d
favorite providers update 2025-03-10 22:36:25 -06:00
Nate Kelley 11ddf973cf
team and terms update 2025-03-10 22:15:16 -06:00
Nate Kelley f9e9d765bf
change up data for metrics 2025-03-10 21:52:18 -06:00
Nate Kelley bcede1856d
rip are shared interfaces 2025-03-10 21:43:55 -06:00
Nate Kelley 92e89ea3ac
rip out searches 2025-03-10 21:38:19 -06:00
Nate Kelley ceb0a2872e
ripped out organization 2025-03-10 21:28:06 -06:00
Nate Kelley 6204a2e827
rip out datasources 2025-03-10 21:22:30 -06:00
Nate Kelley 3fbd22b250
update dataset groups 2025-03-10 21:05:04 -06:00
Nate Kelley 2d2396c0bf
remove datasets 2025-03-10 20:44:40 -06:00
Nate Kelley 22476f7413
remove interfaces from charts folder 2025-03-10 20:24:46 -06:00
Nate Kelley e477b05045
ripped out the dashboard interfaces 2025-03-10 16:17:24 -06:00
Nate Kelley fb83e657b6
move over get metrics to rest endpoints 2025-03-10 14:39:18 -06:00
Nate Kelley 613d4bcfe6
updated metric data requests 2025-03-10 13:58:50 -06:00
Nate Kelley 060eca3a22
fixed broken animation 2025-03-10 13:42:59 -06:00
Nate Kelley c36e120f96
Merge branch 'evals' of https://github.com/buster-so/buster into evals 2025-03-10 13:31:36 -06:00
Nate Kelley 1ef4c2d526
update streams 2025-03-10 13:31:19 -06:00
Nate Kelley 65b1695e06
Update ReasoningMessageSelector.stories.tsx 2025-03-10 13:26:12 -06:00
Nate Kelley b53ba83849
remove 2025-03-10 13:23:02 -06:00
Nate Kelley af59f29944
update some UI animations 2025-03-10 12:56:45 -06:00
Nate Kelley 5d211e8848
markdown update 2025-03-10 12:31:36 -06:00
Nate Kelley 9819ea57fa
update markdown streaming 2025-03-10 12:20:54 -06:00
Nate Kelley 337de3019e
remove unused logs 2025-03-10 10:08:57 -06:00
Nate Kelley 2e8286233b
update reasoning message 2025-03-10 09:45:08 -06:00
Nate Kelley 152845fe4b
update middleware 2025-03-10 09:09:44 -06:00
Nate Kelley 770df9c1ff
update packages 2025-03-10 08:55:56 -06:00
Nate Kelley e5dd6e3416
update routes and package version 2025-03-10 08:53:44 -06:00
Nate Kelley a67e9e1048
Update ChatResponseReasoning.tsx 2025-03-07 22:01:09 -07:00
Nate Kelley 1d748c7b03
center text 2025-03-07 21:53:47 -07:00
Nate Kelley dcab92733f
Update NewChatInput.tsx 2025-03-07 21:48:05 -07:00
Nate Kelley 70aef8f28e
colse logs 2025-03-07 21:46:22 -07:00
Nate Kelley ff04fba047
update 2025-03-07 21:45:14 -07:00
Nate Kelley 4096cbdfdd
more updates 2025-03-07 21:30:12 -07:00
Nate Kelley ca2b328831
springy 2025-03-07 21:09:57 -07:00
Nate Kelley 90439c4f93
looks good! 2025-03-07 21:04:21 -07:00
Nate Kelley ca7881b36a
almost perfect transition 2025-03-07 20:51:33 -07:00
Nate Kelley 88859c6593
more animation updates 2025-03-07 20:34:15 -07:00
Nate Kelley d1347c4075
better animations for bar container 2025-03-07 20:24:55 -07:00
Nate Kelley 28289beffe
bar container update 2025-03-07 19:18:22 -07:00
Nate Kelley e6e4ecf359
updates 2025-03-07 17:45:20 -07:00
Nate Kelley 9ecf04f65b
Update useChatStreamMessage.ts 2025-03-07 16:43:33 -07:00
Nate Kelley 0576e5c558
update some tailwind colors 2025-03-07 16:38:31 -07:00
Nate Kelley 0eca21a779
streaming text 2025-03-07 16:29:12 -07:00
Nate Kelley 304fe1bb97
nate big ol refactor 2025-03-07 16:02:56 -07:00
Nate Kelley 1ba5195bdf
remove cypress 2025-03-07 14:51:59 -07:00
Nate Kelley a1a582e36d
update versions for some packages 2025-03-06 11:34:40 -07:00
Nate Kelley 3fedad0866
better handling for black box messages 2025-03-06 11:17:53 -07:00
Nate Kelley 7423fe31a3
update some black box testing stuff 2025-03-06 11:06:07 -07:00
Nate Kelley de542b47e7
black box message update 2025-03-06 10:51:33 -07:00
Nate Kelley ee6f3f4e50
Update auto append messages 2025-03-06 10:32:46 -07:00
Nate Kelley 6c53cf5cb0
Update useChatStreamMessage.ts 2025-03-06 10:18:50 -07:00
Nate Kelley 0fe011396d
update tests 2025-03-06 10:16:14 -07:00
Nate Kelley 91008d0c96
create some data update helpers 2025-03-06 10:10:34 -07:00
Nate Kelley f73385aa87
make response messages a helper function 2025-03-06 10:05:40 -07:00
Nate Kelley db90ed13f4
move some functionality to a helper for testing 2025-03-06 09:51:12 -07:00
Nate Kelley 0728efe71a
chat stream message 2025-03-06 09:35:15 -07:00
Nate Kelley 998b927ba7
Update Avatar.tsx 2025-03-05 23:14:02 -07:00
Nate Kelley ee997a6c98
reasoning message update 2025-03-05 23:11:41 -07:00
Nate Kelley 0db64cd4a4
Update useChatStreamMessage.ts 2025-03-05 22:55:01 -07:00
Nate Kelley 74167c27a9
Update useChatStreamMessage.ts 2025-03-05 22:48:58 -07:00
Nate Kelley 755576acd5
Update ReasoningMessageFile.tsx 2025-03-05 22:38:08 -07:00
Nate Kelley f9401c6bec
update reasoning controller 2025-03-05 22:30:11 -07:00
Nate Kelley b2df36b624
update 2025-03-05 22:02:34 -07:00
Nate Kelley 3516a546cb
remove unused pages 2025-03-05 21:47:49 -07:00
Nate Kelley 9518df944d
manually parse the pathname... what a bummer 2025-03-05 19:08:27 -07:00
Nate Kelley a7805de4d7
update drafting for files 2025-03-05 18:50:29 -07:00
Nate Kelley 5e9a38687c
update here 2025-03-05 17:19:12 -07:00
Nate Kelley 905e70e3c5
chat layout update 2025-03-05 17:13:37 -07:00
Nate Kelley f3dcba3c86
Update useChatStreamMessage.ts 2025-03-05 16:44:23 -07:00
Nate Kelley 21c320e739
Update useChatStreamMessage.ts 2025-03-05 16:36:30 -07:00
Nate Kelley d7430f1594
Update useChatStreamMessage.ts 2025-03-05 16:22:45 -07:00
Nate Kelley 5b38037419
pills updated 2025-03-05 16:13:29 -07:00
Nate Kelley 7a1127f7b7
Update ReasoningMessage_Files.tsx 2025-03-05 15:51:35 -07:00
Nate Kelley 5f972ea3e9
Update ReasoningMessage_Files.tsx 2025-03-05 15:49:46 -07:00
Nate Kelley 4828d77473
layout 2025-03-05 15:47:21 -07:00
Nate Kelley 789bed5071
chat layout reasoning update 2025-03-05 15:37:22 -07:00
Nate Kelley 4a5a3c780b
update how reasoning file is passed 2025-03-05 15:12:46 -07:00
Nate Kelley 6baf338707
change how selected file is passed around 2025-03-05 14:45:17 -07:00
Nate Kelley 0b2ed6f219
Update useChatStreamMessage.ts 2025-03-05 13:49:59 -07:00
Nate Kelley 68d5866bd5
move streaming items around 2025-03-05 13:14:24 -07:00
Nate Kelley 88a467168d
update some logging 2025-03-05 12:21:28 -07:00
Nate Kelley 2800e4a389
move off custom react query controller 2025-03-05 12:14:24 -07:00
Nate Kelley dee7dbea85
update some streaming context 2025-03-05 11:17:28 -07:00
Nate Kelley be76c32f69
input chat 2025-03-05 10:37:08 -07:00
Nate Kelley d585d620d1
update some interfaces 2025-03-05 10:13:24 -07:00
Nate Kelley 21a39aebf9
Update useAutoChangeLayout.ts 2025-03-04 20:29:16 -07:00
Nate Kelley 790f062494
animate in 2025-03-04 20:25:50 -07:00
Nate Kelley 1514d4e2cc
timestamp update 2025-03-04 19:44:42 -07:00
Nate Kelley 002885b790
slowly moving to new standard 2025-03-04 19:34:11 -07:00
Nate Kelley 8d5a178039
better handling for types 2025-03-04 17:49:53 -07:00
Nate Kelley ca7e0ef188
update some of the query keys 2025-03-04 15:23:38 -07:00
Nate Kelley 8e456e9056
console log 2025-03-04 14:02:57 -07:00
Nate Kelley e79f1e7e05
use client on select assets 2025-03-04 13:54:50 -07:00
Nate Kelley fd044dd2b2
Update useAutoChangeLayout.ts 2025-03-04 13:11:49 -07:00
Nate Kelley a565b0aaff
org updates 2025-03-04 13:11:05 -07:00
Nate Kelley b2f8a349cc
chat headerupdate 2025-03-04 12:34:00 -07:00
Nate Kelley a5b5f4cc5d
Update useChatStreamMessage.ts 2025-03-04 12:28:28 -07:00
Nate Kelley a341f3820d
new chat input 2025-03-04 12:26:53 -07:00
Nate Kelley 66fb908d8d
update some bad imports 2025-03-04 12:18:31 -07:00
Nate Kelley 2b53c534d5
Merge branch 'evals' into big-nate/bus-939-create-new-structure-for-chats 2025-03-04 12:08:46 -07:00
Nate Kelley 5e9d520f2c
move chat experiece around 2025-03-04 12:07:18 -07:00
Nate Kelley 646e1a963c
Update LoginForm.tsx 2025-03-04 12:03:21 -07:00
Nate Kelley 614c987340
named exports 2025-03-04 12:01:27 -07:00
Nate Kelley 265104ff67
move from hooks 2025-03-04 11:59:33 -07:00
Nate Kelley cbcd6fccb5
move around stories 2025-03-04 11:56:46 -07:00
Nate Kelley 27138a414c
move around some of the policy and auth component 2025-03-04 11:51:28 -07:00
Nate Kelley bfb5820ebf
move some success cards over 2025-03-04 11:44:32 -07:00
Nate Kelley 74a6300e8a
Update useBusterSupabaseAuthMethods.ts 2025-03-04 11:13:59 -07:00
Nate Kelley f1ef25f289
update login form 2025-03-04 11:13:01 -07:00
Nate Kelley e5d93dea31
Update useBusterWebSocket.tsx 2025-03-04 10:53:54 -07:00
Nate Kelley 813b05c18a
Merge branch 'staging' into big-nate/bus-939-create-new-structure-for-chats 2025-03-04 10:53:16 -07:00
Nate Kelley fe98e75f7e
update to use web socket url 2025-03-04 10:30:54 -07:00
Nate Kelley dcf725684c
update type safety on message 2025-03-04 10:19:59 -07:00
Nate Kelley 24eb020566
update some provider info 2025-03-04 10:12:00 -07:00
Nate Kelley b6af25d5a5
fix broken imports 2025-03-04 09:49:15 -07:00
Nate Kelley f4ec4730c5
update some listing endpionts 2025-03-04 09:46:24 -07:00
Nate Kelley b1fa35f9d7
update reasoning message container 2025-03-04 09:36:13 -07:00
Nate Kelley d7036e13c8
stories update 2025-03-04 00:23:22 -07:00
Nate Kelley 659cb6c34e
update stories for pills 2025-03-04 00:17:44 -07:00
Nate Kelley 6c6b1bdb06
nice reasoning animation 2025-03-04 00:11:48 -07:00
Nate Kelley 3655926d19
Added pill container stories 2025-03-04 00:05:50 -07:00
Nate Kelley 502871c7d7
animate better the reasoning 2025-03-03 23:55:19 -07:00
Nate Kelley d5d936fd55
Update ReasoningMessage_ThoughtPills.tsx 2025-03-03 23:38:51 -07:00
Nate Kelley 0ca3f44f13
Create ReasoningMessage_ThoughtPills.stories.tsx 2025-03-03 23:36:51 -07:00
Nate Kelley a19e672899
Update Select.tsx 2025-03-03 23:36:26 -07:00
Nate Kelley 2f7289fe85
updated popovers 2025-03-03 23:20:46 -07:00
Nate Kelley 0bd385799f
Edit metric title types 2025-03-03 23:12:15 -07:00
Nate Kelley 58c8c1f4ab
update popover 2025-03-03 22:55:33 -07:00
Nate Kelley 96391210d5
updated some popovers 2025-03-03 22:40:54 -07:00
Nate Kelley dbebb662ea
Update MetricChartEvaluation.tsx 2025-03-03 22:34:00 -07:00
Nate Kelley f017e0d8c8
update sharemenu popover 2025-03-03 22:32:01 -07:00
Nate Kelley 03bec72b9b
update the hsare menu popover 2025-03-03 22:10:36 -07:00
Nate Kelley 74b832a9df
share menu popover 2025-03-03 21:36:12 -07:00
Nate Kelley 3840d64360
popover lineage breadcrumbs 2025-03-03 21:16:41 -07:00
Nate Kelley f7bd0abdff
update the icons 2025-03-03 20:52:48 -07:00
Nate Kelley 170d658f67
policy check update 2025-03-03 20:46:05 -07:00
Nate Kelley 5536fd6cd7
popover can support hover 2025-03-03 20:38:40 -07:00
Nate Kelley 132c858951
update popover 2025-03-03 20:21:13 -07:00
Nate Kelley b433361929
verification menu 2025-03-03 20:10:44 -07:00
Nate Kelley ad3efaa7d5
better dropdown handling 2025-03-03 19:53:59 -07:00
Nate Kelley 4b4bb55978
dropdown input update 2025-03-03 19:07:21 -07:00
Nate Kelley 56e31bd0d4
dropdown updates 2025-03-03 16:53:00 -07:00
Nate Kelley 284e708862
status badge updates 2025-03-03 16:30:38 -07:00
Nate Kelley a5000067d6
indactor 2025-03-03 16:05:11 -07:00
Nate Kelley 1a392db5bf
app selec tmultiple 2025-03-03 15:42:29 -07:00
Nate Kelley ebec5d45fa
more animated button for submit 2025-03-03 15:08:42 -07:00
Nate Kelley 678178961d
input chat input 2025-03-03 14:52:25 -07:00
Nate Kelley 2efe1b72d9
remove old chat modal 2025-03-03 14:36:22 -07:00
Nate Kelley ac932fefee
home page 2025-03-03 14:25:51 -07:00
Nate Kelley 386875aa6d
hmmm updates 2025-03-03 13:33:47 -07:00
Nate Kelley 1f95af53cc
Update AppSegmented.tsx 2025-03-03 13:10:12 -07:00
Nate Kelley be16fc5d79
segmented update 2025-03-03 13:08:39 -07:00
Nate Kelley 0ed135a6d1
Update MOCK_CHAT.ts 2025-03-03 12:59:18 -07:00
Nate Kelley 493698f42c
Merge branch 'big-nate/bus-939-create-new-structure-for-chats' into nate/create-component-library 2025-03-03 12:57:31 -07:00
Nate Kelley 1f1769ddbc
Update SelectMultiple.tsx 2025-03-03 12:56:53 -07:00
Nate Kelley 2b3aff1903
disabled state for select multiple 2025-03-03 12:53:37 -07:00
Nate Kelley bc3014f3d4
update inputs to use style 2025-03-03 12:49:27 -07:00
Nate Kelley 7979f3caa9
select multiple update 2025-03-03 11:57:52 -07:00
Nate Kelley ddbb45e2dd
Update preview.tsx 2025-03-03 10:51:46 -07:00
Nate Kelley eb55e69ad9
name update 2025-03-03 10:40:32 -07:00
Nate Kelley a0a32cde55
update storybook imports 2025-03-03 10:32:50 -07:00
Nate Kelley 45b9eb10ec
dropdown update 2025-03-03 10:15:06 -07:00
Nate Kelley d0625a3252
update dropdown 2025-03-03 10:07:07 -07:00
Nate Kelley ef65e67254
input tag update 2025-03-03 09:59:01 -07:00
Nate Kelley ceea893188
rip out render type 2025-03-03 09:40:02 -07:00
Nate Kelley 785b85bd35
update imports 2025-03-02 09:58:31 -07:00
Nate Kelley e75d5c6186
Update InputTagInput.tsx 2025-03-02 08:14:02 -07:00
Nate Kelley 0c8e9a206b
update tag inputs 2025-03-02 08:11:45 -07:00
Nate Kelley 5b7ba8bba6
update tag input 2025-03-02 08:00:48 -07:00
Nate Kelley 6118b35bc0
status bad and buttons 2025-03-02 00:00:19 -07:00
Nate Kelley 4e1e0537ee
Update MetricItemsSelectedPopup.tsx 2025-03-01 23:55:59 -07:00
Nate Kelley f625ec4276
update icons for 2025-03-01 23:54:44 -07:00
Nate Kelley 845b1bd017
update 2025-03-01 23:25:30 -07:00
Nate Kelley 4d83369841
shimmer text story 2025-03-01 23:05:55 -07:00
Nate Kelley 098028ea63
tooltip rip and replace 2025-03-01 22:52:32 -07:00
Nate Kelley 37a456d665
update checkbox 2025-03-01 22:41:36 -07:00
Nate Kelley 000f66911c
update error card 2025-03-01 22:35:38 -07:00
Nate Kelley 36c0b6da71
remove old sidebar 2025-03-01 22:17:20 -07:00
Nate Kelley a3151efeb5
chnage up app routes 2025-03-01 22:13:50 -07:00
Nate Kelley 627ba2f66f
page layout updates 2025-03-01 21:50:00 -07:00
Nate Kelley b690d86906
update dropdown link logic 2025-03-01 21:20:07 -07:00
Nate Kelley a46f74589b
sidebar footer 2025-03-01 21:00:19 -07:00
Nate Kelley 6aefea9cb1
Update AppMarkdownCommon.tsx 2025-03-01 19:16:15 -07:00
Nate Kelley 8064b0bf43
css modules for app markdown 2025-03-01 17:58:34 -07:00
Nate Kelley c4d1939c94
move around the storybook 2025-03-01 17:50:16 -07:00
Nate Kelley 3f994ce7d8
update the markdown 2025-03-01 17:47:33 -07:00
Nate Kelley 641c022a6e
mark down updartes 2025-03-01 17:44:26 -07:00
Nate Kelley 88444b237b
update editable title 2025-03-01 17:33:05 -07:00
Nate Kelley 6c0cb77e3e
version pill update 2025-03-01 17:22:33 -07:00
Nate Kelley 1e0065f4d8
update app data grid to use css module 2025-03-01 17:18:15 -07:00
Nate Kelley 344160c82d
Update index.ts 2025-03-01 17:04:58 -07:00
Nate Kelley da4c7d3de0
Update AppDataGrid.tsx 2025-03-01 17:04:53 -07:00
Nate Kelley 0d9d67d677
update 2025-03-01 16:42:19 -07:00
Nate Kelley 8534031e82
segmented updates 2025-03-01 16:38:27 -07:00
Nate Kelley 8fd2aee590
update more segments 2025-03-01 16:24:37 -07:00
Nate Kelley e945c7f843
update some segmented content 2025-03-01 16:06:16 -07:00
Nate Kelley f64ad95a20
update segments 2025-03-01 15:28:49 -07:00
Nate Kelley d53e003ce2
update segmented components 2025-03-01 15:21:58 -07:00
Nate Kelley e053f68391
update popups 2025-03-01 15:01:26 -07:00
Nate Kelley 5be703236d
update app modal 2025-03-01 14:48:45 -07:00
Nate Kelley ad3709f924
make tailwind modla 2025-03-01 14:45:38 -07:00
Nate Kelley f4c0054301
Update BusterInfiniteList.tsx 2025-03-01 14:02:22 -07:00
Nate Kelley dbfcf74e3d
update imports 2025-03-01 13:58:57 -07:00
Nate Kelley 8c875d1c76
Update BusterListSelectedOptionPopupContainer.stories.tsx 2025-03-01 13:50:19 -07:00
Nate Kelley 001c1aa894
update 2025-03-01 13:44:06 -07:00
Nate Kelley 4ccd54f3af
Update BusterListVirtua.tsx 2025-03-01 13:33:41 -07:00
Nate Kelley 3667ba462d
update context menu 2025-03-01 13:32:19 -07:00
Nate Kelley 89875540e1
context menu 2025-03-01 13:14:27 -07:00
Nate Kelley 4dcbda8c13
make a context menu 2025-03-01 13:07:03 -07:00
Nate Kelley 43d4ded84e
Update BusterListSectionComponent.tsx 2025-03-01 12:03:01 -07:00
Nate Kelley 0d2ed87d75
remove buster list row component 2025-03-01 11:56:39 -07:00
Nate Kelley 7b0dec266b
ripped list header in favor of taliwind 2025-03-01 11:49:56 -07:00
Nate Kelley 89ed75541e
update lists 2025-03-01 11:44:44 -07:00
Nate Kelley 45c296cf6c
update list really quick 2025-03-01 11:38:35 -07:00
Nate Kelley 151d758148
app splitter update 2025-02-28 17:38:21 -07:00
Nate Kelley 9f23a7bdc2
Update SidebarPrimary.tsx 2025-02-28 17:12:56 -07:00
Nate Kelley b883ffc31c
make page layout better 2025-02-28 17:11:40 -07:00
Nate Kelley 92fe355f47
move into primary layout 2025-02-28 16:46:41 -07:00
Nate Kelley 06163cbd4a
layout in storybook 2025-02-28 16:44:32 -07:00
Nate Kelley e5657794ab
update layout 2025-02-28 16:36:40 -07:00
Nate Kelley e594ff06dc
update layout 2025-02-28 16:17:24 -07:00
Nate Kelley a0355afb84
update routing 2025-02-28 16:01:31 -07:00
Nate Kelley d19de14304
update sidebar settings 2025-02-28 15:31:24 -07:00
Nate Kelley 979d1d8e74
stateless sidebar 2025-02-28 15:28:12 -07:00
Nate Kelley a6ce9c8c4d
sidebar primary 2025-02-28 15:02:54 -07:00
Nate Kelley 9c956f7d5b
udpate sidebar 2025-02-28 14:00:32 -07:00
Nate Kelley 621946be9b
update some vars 2025-02-28 13:44:28 -07:00
Nate Kelley 89bfedea44
current color update 2025-02-28 13:35:45 -07:00
Nate Kelley 5086d35775
update icons 2025-02-28 13:32:00 -07:00
Nate Kelley 2c44488c82
update icons 2025-02-28 13:30:27 -07:00
Nate Kelley 071be0eaa5
tailwind update 2025-02-28 13:13:59 -07:00
Nate Kelley da0afb8847
Update styles.scss 2025-02-28 13:05:33 -07:00
Nate Kelley 9ce1b3e843
text updates 2025-02-28 13:02:46 -07:00
Nate Kelley a9ab327b75
update icon 2025-02-28 12:16:40 -07:00
Nate Kelley 4d57e8fbaa
resolve import problems 2025-02-28 12:05:32 -07:00
Nate Kelley e407b10df8
Merge branch 'big-nate/bus-939-create-new-structure-for-chats' into nate/create-component-library 2025-02-28 11:53:23 -07:00
Nate Kelley 0af2134d4e
trigger file change 2 2025-02-28 11:49:57 -07:00
Nate Kelley 8290e1d454
trigger file change 2025-02-28 11:48:54 -07:00
Nate Kelley da90476acb
buttons 2025-02-28 11:45:52 -07:00
Nate Kelley e563280bd9
Update button 2025-02-28 11:44:50 -07:00
Nate Kelley 754f2f2cf2
thought container update 2025-02-28 11:43:32 -07:00
Nate Kelley 3b0ad24f46
fix: reset case-sensitive folder names 2025-02-28 11:37:10 -07:00
Nate Kelley 401f1700b5
udpate names 2025-02-28 11:36:34 -07:00
Nate Kelley 23c263cb16
move files 2025-02-28 11:30:39 -07:00
Nate Kelley aa169f8693
update icons 2025-02-28 11:19:27 -07:00
Nate Kelley 96282c0878
update icons 2025-02-28 10:33:55 -07:00
Nate Kelley 3adec02ada
update display names 2025-02-27 23:00:48 -07:00
Nate Kelley 0a8427bd62
update imports 2025-02-27 22:58:10 -07:00
Nate Kelley f59225addb
sidebar component completed 2025-02-27 22:53:43 -07:00
Nate Kelley 5169b4eb92
sidebar group 2025-02-27 22:22:23 -07:00
Nate Kelley 60b6bc9e5b
update items 2025-02-27 22:00:13 -07:00
Nate Kelley ba62cb4e25
added sidebar variant 2025-02-27 21:56:52 -07:00
Nate Kelley 1d934c6cde
layout update 2025-02-27 21:17:27 -07:00
Nate Kelley 03ccfae614
app content layout 2025-02-27 20:36:35 -07:00
Nate Kelley 910cbf3638
layout 2025-02-27 20:32:16 -07:00
Nate Kelley 315530e390
add content props 2025-02-27 20:01:47 -07:00
Nate Kelley 6e8f217233
code editor updates 2025-02-27 13:54:32 -07:00
Nate Kelley b540d3ff3c
Move features components to feature folder 2025-02-27 12:57:45 -07:00
Nate Kelley 4a37d59fc2
Move around some files structures 2025-02-27 12:43:48 -07:00
Nate Kelley 3198c6547f
select styles 2025-02-27 12:00:59 -07:00
Nate Kelley 49d8eeb57e
Update story naming conventions 2025-02-27 11:52:02 -07:00
Nate Kelley 9c0c196ebf
Update storybook directory 2025-02-27 08:40:38 -07:00
Nate Kelley 9f1c75dc5d
update rules around ui 2025-02-27 08:38:44 -07:00
Nate Kelley 2b100ed60b
splitter updates 2025-02-26 23:40:49 -07:00
Nate Kelley c55c47e111
app splitter story 2025-02-26 23:34:22 -07:00
Nate Kelley d3081a6e57
rip out app select component 2025-02-26 23:25:53 -07:00
Nate Kelley f364556f90
grid update 2025-02-26 22:27:01 -07:00
Nate Kelley 238825c42e
Create BusterResizeableGrid.stories.tsx 2025-02-26 22:22:03 -07:00
Nate Kelley d724829db8
remove additional createstyles 2025-02-26 20:51:11 -07:00
Nate Kelley e240fadbb1
make more story components 2025-02-26 20:46:36 -07:00
Nate Kelley 0c66223ac6
move style provider around 2025-02-26 20:11:41 -07:00
Nate Kelley 09f81c99c0
update toaster naming 2025-02-26 19:52:07 -07:00
Nate Kelley 6a5dec59cf
remove unused hook 2025-02-26 18:04:30 -07:00
Nate Kelley 628051ed43
continue updating code card 2025-02-26 17:59:50 -07:00
Nate Kelley 94d4d447a9
update border for chart 2025-02-26 17:55:42 -07:00
Nate Kelley 71327e0c5d
Revert "code card update"
This reverts commit 61916ce7ce.
2025-02-26 17:50:54 -07:00
Nate Kelley 61916ce7ce
code card update
Update toaster naming

Update BusterNotifications.tsx

Update BusterChart.tsx

remove theme detector
2025-02-26 17:50:49 -07:00
Nate Kelley 4b4ba2e21e
overflow story 2025-02-26 15:30:46 -07:00
Nate Kelley e460fa86f6
tooltip item move to taliwind 2025-02-26 15:18:57 -07:00
Nate Kelley 5144c1246d
make legend item 2025-02-26 14:55:37 -07:00
Nate Kelley 9cbb33c569
legend item 2025-02-26 14:49:35 -07:00
Nate Kelley 7f8cfe4b4f
legend item dot 2025-02-26 14:39:27 -07:00
Nate Kelley 1ca8ee048d
move legend 2025-02-26 14:19:18 -07:00
Nate Kelley 07d495c824
start stripping createStyles 2025-02-26 14:11:53 -07:00
Nate Kelley 9847a99b76
Update Avatar.tsx 2025-02-26 14:08:55 -07:00
Nate Kelley 715132a7bc
make avatar 2025-02-26 14:06:23 -07:00
Nate Kelley bf377b5c80
Card component 2025-02-26 12:06:56 -07:00
Nate Kelley 37420d2c94
update button imports 2025-02-26 11:40:15 -07:00
Nate Kelley 896682ac6b
back button updates 2025-02-26 11:36:44 -07:00
Nate Kelley 3191ea8f1f
update breadcrumbs 2025-02-26 11:30:59 -07:00
Nate Kelley c3d6f9ea67
update breadcrumb 2025-02-26 11:20:36 -07:00
Nate Kelley fb20eb2759
Update StatusIndicator.tsx 2025-02-26 10:48:03 -07:00
Nate Kelley bef209244d
make more resilent indicator 2025-02-26 10:40:42 -07:00
Nate Kelley 419378356a
make folders for stories 2025-02-26 10:31:06 -07:00
Nate Kelley f741b83c71
created tooltips and popovers 2025-02-26 10:24:46 -07:00
Nate Kelley 3ba08c2dbe
update colors for tags 2025-02-25 23:13:35 -07:00
Nate Kelley 8252cb29ad
update tag input 2025-02-25 22:48:05 -07:00
Nate Kelley fc2de5be95
select tag 2025-02-25 22:28:43 -07:00
Nate Kelley 6489728d16
select component 2025-02-25 22:16:50 -07:00
Nate Kelley 65022cec4a
create select component 2025-02-25 21:28:50 -07:00
Nate Kelley c0ea678fe6
make select 2025-02-25 17:15:58 -07:00
Nate Kelley a4fd95b7fd
dropdown selection done 2025-02-25 16:47:49 -07:00
Nate Kelley bbbbcaa1b8
custom dropdown component 2025-02-25 16:24:53 -07:00
Nate Kelley e068c27b8c
dropdown with a search 2025-02-25 14:59:21 -07:00
Nate Kelley 2053e338df
menu header update 2025-02-25 14:18:42 -07:00
Nate Kelley bdfc75c859
update dropdown 2025-02-25 14:00:05 -07:00
Nate Kelley 780f9a489b
Merge branch 'big-nate/bus-939-create-new-structure-for-chats' into nate/create-component-library 2025-02-25 13:22:47 -07:00
Nate Kelley 626e25aa26
remove unused imports 2025-02-25 12:49:44 -07:00
Nate Kelley 7245eabeb3
use query dev tools 2025-02-25 12:42:08 -07:00
Nate Kelley 9c326b6c48
Update SearchDropdown.tsx 2025-02-24 20:37:43 -07:00
Nate Kelley 308a09b44e
Update SearchDropdown.tsx 2025-02-24 20:34:10 -07:00
Nate Kelley 9495c89ebb
search drop 2025-02-24 20:27:52 -07:00
Nate Kelley 0789055602
update mdc for stories 2025-02-24 19:45:41 -07:00
Nate Kelley bf41ba0e68
update button variant call 2025-02-24 19:20:47 -07:00
Nate Kelley f8bf374772
input search 2025-02-24 19:11:26 -07:00
Nate Kelley 4ae7b41191
create text area button component 2025-02-24 18:41:53 -07:00
Nate Kelley 12cd9c85d0
working text area 2025-02-24 18:28:52 -07:00
Nate Kelley e3b5f9c991
create in put component 2025-02-24 18:14:17 -07:00
Nate Kelley de8d6783f2
udpate input 2025-02-24 18:06:17 -07:00
Nate Kelley c075820d73
info card update 2025-02-24 17:40:29 -07:00
Nate Kelley 3574051205
Update Dropdown.tsx 2025-02-24 15:46:57 -07:00
Nate Kelley 0152feebea
react node in dropdown? 2025-02-24 15:45:39 -07:00
Nate Kelley 7ba8034d73
Update Segmented.stories.tsx 2025-02-24 15:35:31 -07:00
Nate Kelley 045b0b2207
Update Segmented.stories.tsx 2025-02-24 15:34:10 -07:00
Nate Kelley c3952d5918
Update Segmented.tsx 2025-02-24 15:32:09 -07:00
Nate Kelley 7422c25b74
glider variants 2025-02-24 15:28:15 -07:00
Nate Kelley fcd199f93d
Update Segmented.tsx 2025-02-24 15:18:44 -07:00
Nate Kelley 290f9fde09
update segmented 2025-02-24 15:05:22 -07:00
Nate Kelley bb7af41bf2
update how tabs looks 2025-02-24 15:00:18 -07:00
Nate Kelley 1997f3d3a8
added segmented 2025-02-24 14:54:25 -07:00
Nate Kelley ce300ad08e
Update RadixSegmented.tsx 2025-02-24 14:42:31 -07:00
Nate Kelley 3f7d5053e0
segmented 2025-02-24 14:41:36 -07:00
Nate Kelley cb76a6e74a
added display names 2025-02-24 14:21:45 -07:00
Nate Kelley a61a63aa01
Update Button.tsx 2025-02-24 14:17:07 -07:00
Nate Kelley 3ef4eb1786
update tailwind with danger coors 2025-02-24 14:15:21 -07:00
Nate Kelley 612d3e0d87
block components 2025-02-24 14:10:09 -07:00
Nate Kelley 52067cc951
added a bunch of dropdown button configs 2025-02-24 14:06:31 -07:00
Nate Kelley e41180ff20
update 2025-02-24 13:52:33 -07:00
Nate Kelley 49337658ea
close on select update 2025-02-24 13:12:02 -07:00
Nate Kelley f235d1a4a8
selected state 2025-02-24 13:00:53 -07:00
Nate Kelley 6344d82159
pass through checks 2025-02-24 12:55:35 -07:00
Nate Kelley 90a270559e
update dropdown 2025-02-24 12:06:10 -07:00
Nate Kelley 448dfe778f
dropdown v1 2025-02-24 11:38:28 -07:00
Nate Kelley 07f4e32d6d
added some dropdown config stuff 2025-02-24 11:18:44 -07:00
Nate Kelley 9ed6990b22
added button rounding prop 2025-02-24 10:55:35 -07:00
Nate Kelley a37cc5b971
add link type 2025-02-24 10:35:39 -07:00
Nate Kelley dd056b5a97
additional button variants 2025-02-24 10:29:44 -07:00
Nate Kelley 9ee3f7676f
update icon sizing 2025-02-23 09:32:27 -07:00
Nate Kelley 2b102b6a6b
update icons 2025-02-23 09:31:10 -07:00
Nate Kelley a42eae7ee1
update icon variants 2025-02-22 16:19:43 -07:00
Nate Kelley b1a29d1e27
Update AppButton.tsx 2025-02-22 16:09:47 -07:00
Nate Kelley 7fca9864f2
update how icons are passed 2025-02-22 16:07:58 -07:00
Nate Kelley e8be7213c3
primary update 2025-02-22 15:27:32 -07:00
Nate Kelley 7ee01689c4
disabled update 2025-02-22 15:20:50 -07:00
Nate Kelley 61191880ed
loader better for black 2025-02-22 15:05:27 -07:00
Nate Kelley ffc4892884
added loading state to button 2025-02-22 14:58:58 -07:00
Nate Kelley 2198aacbb3
app button take 1 2025-02-22 14:01:55 -07:00
Nate Kelley 24ec9324fd
make 15px pixel icons 2025-02-22 13:50:10 -07:00
Nate Kelley 3f806b400a
move 12px icon to actually by 12px 2025-02-22 13:46:47 -07:00
Nate Kelley 6087f71cc6
Update AppToaster.stories.tsx 2025-02-22 13:38:50 -07:00
Nate Kelley cc58d08873
update story 2025-02-21 16:51:57 -07:00
Nate Kelley ccbad61fdf
16px default 2025-02-21 16:39:22 -07:00
Nate Kelley e42e15d7f6
export icons 2025-02-21 16:19:15 -07:00
Nate Kelley 68b2097995
toaster v1 2025-02-21 16:05:50 -07:00
Nate Kelley c301821c4f
add basic toaster 2025-02-21 15:26:57 -07:00
Nate Kelley 59beb494c4
update stwitch stories 2025-02-21 15:05:21 -07:00
Nate Kelley 8a51853f06
update tailwind colors 2025-02-21 14:29:15 -07:00
Nate Kelley 805c96c918
added storybook 2025-02-21 14:18:51 -07:00
Nate Kelley 6212f38615
add basic component structure 2025-02-21 12:37:56 -07:00
Nate Kelley 1394c55202
remove unused files 2025-02-21 12:12:45 -07:00
Nate Kelley 48f62b14fc
move utils around 2025-02-21 12:07:30 -07:00
Nate Kelley 289a57cc10
intermediate loader 2025-02-21 09:31:14 -07:00
Nate Kelley dc57a521e9
move some tailwind css variables over 2025-02-20 16:38:35 -07:00
Nate Kelley 600601b5a5
tailwind upgrade 2025-02-20 16:07:34 -07:00
Nate Kelley 52cdb5499f
tailwind dakr mode 2025-02-20 15:05:55 -07:00
Nate Kelley 42b42ee2b7
move around folder structure 2025-02-20 12:32:21 -07:00
Nate Kelley c2499e5925
move permission group naming 2025-02-20 12:17:41 -07:00
Nate Kelley be77b30492
dataset pages update 2025-02-20 08:25:03 -07:00
Nate Kelley def3863d58
onColumnResize update 2025-02-19 22:26:53 -07:00
Nate Kelley 4373fbb664
update 2025-02-19 22:16:28 -07:00
Nate Kelley f3f21f1aa7
move dataset controller to space 2025-02-19 21:49:04 -07:00
Nate Kelley 0f8027f834
move layouts around 2025-02-19 21:38:44 -07:00
Nate Kelley 4c63ffd2e6
move more components to specific folders 2025-02-19 21:20:32 -07:00
Nate Kelley 64eab8ec92
update to imports 2025-02-19 20:05:30 -07:00
Nate Kelley 3c24b768d2
update components structure 2025-02-19 19:53:49 -07:00
Nate Kelley b057d80828
move helpers out of app folder 2025-02-19 19:39:03 -07:00
Nate Kelley d01b28ffeb
create controller folder 2025-02-18 22:43:51 -07:00
Nate Kelley 093860cbe1
create layouts namespace 2025-02-18 22:31:56 -07:00
Nate Kelley 71f4eea5f3
update packages 2025-02-18 22:20:39 -07:00
Nate Kelley 1fd5703a16
Merge branch 'tailwind-upgrade' into big-nate/bus-939-create-new-structure-for-chats 2025-02-18 22:15:07 -07:00
Nate Kelley 88ac6d744e
update some of the listing 2025-02-18 20:34:00 -07:00
Nate Kelley 3dc28509d9
update controller 2025-02-18 20:17:38 -07:00
Nate Kelley afae3eb0f5
update collection 2025-02-18 19:19:54 -07:00
Nate Kelley 13d54b3562
Merge branch 'big-nate/bus-939-create-new-structure-for-chats' into tailwind-upgrade 2025-02-18 16:28:03 -07:00
Nate Kelley 8ff926a877
legend focus 2025-02-18 16:27:11 -07:00
Nate Kelley d6d9b68a43
Update useDropzonesInternal.ts 2025-02-18 16:18:13 -07:00
Nate Kelley 00f668852b
Update useDropzonesInternal.ts 2025-02-18 16:17:50 -07:00
Nate Kelley 12a619480a
legend focus + hover update 2025-02-18 15:57:28 -07:00
Nate Kelley a29048815e
fail anon user check 2025-02-18 15:30:38 -07:00
Nate Kelley acac1ed700
started moving mutation to a stable handler 2025-02-18 15:14:51 -07:00
Nate Kelley d542862e7b
favorites update 2025-02-18 14:42:49 -07:00
Nate Kelley 92b31a2f87
pass user info a little differently 2025-02-18 14:15:01 -07:00
Nate Kelley aadedfcb9f
fix tailwind errors 2025-02-18 14:02:21 -07:00
Nate Kelley 4d175ef881
update 2025-02-18 13:23:44 -07:00
Nate Kelley ab70f256ea
move tailwind to css 2025-02-18 13:15:16 -07:00
Nate Kelley 82f7765060
move fonts around 2025-02-18 13:14:17 -07:00
Nate Kelley 30006a2cd9
revert tailwind upgrade 2025-02-18 12:39:04 -07:00
Nate Kelley 72dc9e0dce
Update SelectAxisDropzone.tsx 2025-02-18 12:32:40 -07:00
Nate Kelley 9456b4aa7e
rename files 2025-02-18 11:02:28 -07:00
Nate Kelley 3f014c89c0
update icons 2025-02-18 11:00:49 -07:00
Nate Kelley 11da1aff89
update i12px icons 2025-02-18 11:00:27 -07:00
Nate Kelley ca87439d8b
update tw 2025-02-18 11:00:01 -07:00
Nate Kelley 84f3687059
12px update 2025-02-18 10:52:11 -07:00
Nate Kelley 313a888a39
small update 2025-02-18 10:50:35 -07:00
Nate Kelley 279dee9e07
prettier update 2025-02-18 10:42:02 -07:00
Nate Kelley edc5fd4fce
icon props update 2025-02-18 10:37:57 -07:00
Nate Kelley 9b8e3ee5f4
icon props import 2025-02-18 10:30:55 -07:00
Nate Kelley f33191080e
update for all icons 2025-02-18 10:28:53 -07:00
Nate Kelley ef5f2b2060
permission query keys 2025-02-17 22:33:03 -07:00
Nate Kelley 6559054da2
move some query keys configs 2025-02-17 22:09:13 -07:00
Nate Kelley 4b959e7f3c
move permission query keys to folder 2025-02-17 21:15:44 -07:00
Nate Kelley 51da69bf40
move chat querykeys 2025-02-17 20:50:21 -07:00
Nate Kelley b6e9268cf0
move requests to the request folder 2025-02-17 20:35:47 -07:00
Nate Kelley 5fbcfd87c4
set user in query data 2025-02-17 17:32:29 -07:00
Nate Kelley 3d71e084e3
update interfaces 2025-02-17 17:04:51 -07:00
Nate Kelley a9a84d8792
Update useChatStreamMessage.ts 2025-02-17 16:28:58 -07:00
Nate Kelley d3a7af0b6e
move chats to use new socket on syntax 2025-02-17 16:25:31 -07:00
Nate Kelley c69030fcc6
start moving chats to react query 2025-02-17 15:03:41 -07:00
Nate Kelley 912d0e855d
search update 2025-02-17 14:46:08 -07:00
Nate Kelley b4d0020947
udpate user info 2025-02-17 14:42:24 -07:00
Nate Kelley 286ec294d2
remove permission provider 2025-02-17 14:33:45 -07:00
Nate Kelley b1b13b3120
data source using new handler 2025-02-17 14:02:10 -07:00
Nate Kelley 99dc3f94db
dashboard list controller 2025-02-17 13:20:34 -07:00
Nate Kelley 9daf294459
mutation for dedup 2025-02-15 22:01:47 -07:00
Nate Kelley 5c45de8384
stale time cleanup 2025-02-15 21:51:46 -07:00
Nate Kelley 40ca445d1b
use metrics init 2025-02-15 21:35:57 -07:00
Nate Kelley 2f0bc40cfd
query emit on 2025-02-15 20:45:11 -07:00
Nate Kelley 5b4da9fc4a
metric individual subscriber 2025-02-15 18:22:43 -07:00
Nate Kelley bb912b28ca
filter metric list 2025-02-14 21:41:57 -07:00
Nate Kelley db4a5adee1
simplify metric list 2025-02-14 21:39:23 -07:00
Nate Kelley 8c96c1c761
move organizatino query keys to dedicated folder 2025-02-14 21:26:02 -07:00
Nate Kelley 0e07ea91de
make query key for users 2025-02-14 21:20:22 -07:00
Nate Kelley 09f4eee023
users organziations 2025-02-14 21:02:25 -07:00
Nate Kelley bf48f02361
create query key rules 2025-02-13 23:11:32 -07:00
Nate Kelley 964633bb95
move query keys to their own folder 2025-02-13 23:04:30 -07:00
Nate Kelley 443a6fc703
fallback for datametadata 2025-02-13 22:52:07 -07:00
Nate Kelley cfccd4655a
created terms and metrics 2025-02-13 22:46:21 -07:00
Nate Kelley a67461fe75
query exports for metric, search and terms 2025-02-13 17:10:21 -07:00
Nate Kelley cc01b2a03b
create terms react query 2025-02-13 16:54:30 -07:00
Nate Kelley b0519d4625
abstract dataset provider away 2025-02-13 16:16:03 -07:00
Nate Kelley 692f3d36ad
dashboard header 2025-02-13 16:06:08 -07:00
Nate Kelley 1c3d06a5d3
asset add items 2025-02-13 15:58:14 -07:00
Nate Kelley a9f7cf23cc
mutation update for collections 2025-02-13 15:15:32 -07:00
Nate Kelley 5d283d49d3
query key updates 2025-02-13 14:28:45 -07:00
Nate Kelley 01382338b1
fix some types issues 2025-02-13 13:25:41 -07:00
Nate Kelley d6a5e684b6
general structure for api folders 2025-02-13 13:18:55 -07:00
Nate Kelley f9da0fe2aa
add rules for the request directory 2025-02-13 13:09:38 -07:00
Nate Kelley ba80aaf41d
request queries 2025-02-13 12:59:50 -07:00
Nate Kelley 8ec0137fbc
precallback 2025-02-13 12:29:33 -07:00
Nate Kelley 7d46a35304
callback is working! 2025-02-13 12:27:26 -07:00
Nate Kelley 533eb4fd9e
created additinal mutation config 2025-02-13 12:13:34 -07:00
Nate Kelley 7fdae13b7c
emit and once 2025-02-13 12:05:16 -07:00
Nate Kelley da8fd8ba18
emit and once 2025-02-13 11:50:07 -07:00
Nate Kelley 4c1c68db92
Update useSocketQueryOn.tsx 2025-02-13 11:18:45 -07:00
Nate Kelley 2c345c8e2d
more stable socket query on 2025-02-13 10:59:45 -07:00
Nate Kelley 98892fdc5a
update 2025-02-13 10:47:02 -07:00
Nate Kelley f32bbf0a75
update to use new syntax 2025-02-12 23:53:25 -07:00
Nate Kelley bdd1cbd64c
Update useSocketQueryMutation.tsx 2025-02-12 23:43:42 -07:00
Nate Kelley 3851461ce6
Update useSocketQueryMutation.tsx 2025-02-12 23:30:45 -07:00
Nate Kelley 4d4ab66e2c
add additional routes to new handlers 2025-02-12 23:11:44 -07:00
Nate Kelley 0ee588a6c5
collection update to react query 2025-02-12 21:57:05 -07:00
Nate Kelley 54ee56677f
many updates to collections 2025-02-12 16:02:08 -07:00
Nate Kelley 04a884da50
test 2025-02-12 14:52:11 -07:00
Nate Kelley e91e0d9f86
type safety updates for mutation 2025-02-12 14:19:51 -07:00
Nate Kelley ad02a021ac
create socket query 2025-02-12 12:34:49 -07:00
Nate Kelley 51291d44e0
update query 2025-02-12 11:56:59 -07:00
Nate Kelley 0b055361d6
working types 2025-02-12 11:46:23 -07:00
Nate Kelley 28753cba34
move sockets around 2025-02-12 11:01:54 -07:00
Nate Kelley 08a1600ed2
fallback to view key 2025-02-11 17:35:10 -07:00
Nate Kelley 2ba75e242b
animate reasoning title 2025-02-11 17:09:12 -07:00
Nate Kelley 18549b442f
change auto layout ocnif 2025-02-11 16:46:22 -07:00
Nate Kelley 9f914a34f9
thinking step 2025-02-11 15:02:02 -07:00
Nate Kelley 0eac17f6af
follow up messages are corected 2025-02-11 12:32:12 -07:00
Nate Kelley 75a9543e6c
Update NewChatProvider.tsx 2025-02-11 11:22:27 -07:00
Nate Kelley db50da5ea3
remove mocks 2025-02-11 10:46:24 -07:00
Nate Kelley dca73444fa
auto append thoughts 2025-02-11 10:25:51 -07:00
Nate Kelley d1e4c2c90d
Update AppCodeEditor.tsx 2025-02-10 21:02:43 -07:00
Nate Kelley 644d7f89d8
chat update 2025-02-10 20:23:28 -07:00
Nate Kelley 7a349da981
added functions for streaming content 2025-02-10 16:43:38 -07:00
Nate Kelley 25e24b1341
close action 2025-02-10 15:35:18 -07:00
Nate Kelley 90e859b761
Update StatusIndicator.tsx 2025-02-10 15:25:55 -07:00
Nate Kelley 863bcef721
remove chunks for files 2025-02-10 15:21:59 -07:00
Nate Kelley fe8ccf4a33
container update 2025-02-10 14:15:30 -07:00
Nate Kelley f93611b7f4
code block wrapper 2025-02-10 13:23:32 -07:00
Nate Kelley 7a1f5418b3
adjust file card 2025-02-10 12:24:35 -07:00
Nate Kelley 9fa93deed4
add better indicators 2025-02-10 11:57:07 -07:00
Nate Kelley 14ca65be59
update types 2025-02-10 11:41:59 -07:00
Nate Kelley c40bdfcb4c
Reasoning file 2025-02-10 10:42:47 -07:00
Nate Kelley 4f63276de2
thought message types update 2025-02-10 09:59:54 -07:00
Nate Kelley 0138b94321
auto update layout 2025-02-09 08:25:32 -07:00
Nate Kelley dd947d1999
change up IBusterChat 2025-02-08 21:13:42 -07:00
Nate Kelley 4ef095ceba
reasoning file click 2025-02-08 15:45:56 -07:00
Nate Kelley 75873c2ef5
add reasoning messages 2025-02-08 14:37:46 -07:00
Nate Kelley 117db1c21d
responses generated 2025-02-07 22:24:18 -07:00
Nate Kelley 2785d90cd7
added query requests for chats and metrics 2025-02-07 20:52:25 -07:00
Nate Kelley d98bd17741
naming conventions 2025-02-07 20:27:07 -07:00
Nate Kelley c6ac866d72
create chats 2025-02-07 19:57:42 -07:00
Nate Kelley 07c750b801
add additional context rules 2025-02-07 19:45:48 -07:00
Nate Kelley e831a2149d
use metric fetched logic 2025-02-07 14:30:50 -07:00
Nate Kelley 9054d61cf7
replace immer with mutative 2025-02-07 14:11:05 -07:00
Nate Kelley d02874f5fd
Update useMetricUpdateConfig.ts 2025-02-07 13:24:11 -07:00
Nate Kelley d1e0ba9970
rename some vars 2025-02-07 13:20:11 -07:00
Nate Kelley 274c74587d
update how dashboards are 2025-02-07 12:45:47 -07:00
Nate Kelley 88047b5e40
abstract listing metrics 2025-02-06 19:19:39 -07:00
Nate Kelley 05ce401d15
create chat lists 2025-02-06 19:08:40 -07:00
Nate Kelley 9483d60e5f
file editor updates 2025-02-06 15:15:13 -07:00
Nate Kelley 98d62419b9
add delete chat area 2025-02-06 15:06:37 -07:00
Nate Kelley 7d95f1f008
share menu 2025-02-06 14:31:46 -07:00
Nate Kelley a2f07161f8
Merge branch 'staging' into big-nate/bus-939-create-new-structure-for-chats 2025-02-06 13:01:19 -07:00
Nate Kelley 36b36fa1a4
dots on line update 2025-02-06 12:58:37 -07:00
dal ef685d87a4
Fix x axis intervals (#105)
* xAxisTickinerval

* fix(visualization): Add x-axis time unit configuration for bar and combo charts

- Extend chart configuration to support optional x-axis time unit
- Update modify visualization agent to dynamically set x-axis time interval
- Modify bar line and combo chart prompts to include x_axis_time_unit parameter

* only use valid time units

* refactor(visualization): Simplify x-axis time unit configuration

- Modify modify_visualization_agent to extract and remove x-axis time unit more efficiently
- Update global styling result structure for x-axis time interval
- Adjust format_label_prompt comment to clarify date format default behavior

---------

Co-authored-by: Nate Kelley <nate@buster.so>
2025-02-06 11:58:25 -08:00
Nate Kelley f1381bdf50
Update useXAxis.ts 2025-02-06 12:47:08 -07:00
Nate Kelley a519a772ee
xAxisTimeInterval 2025-02-06 12:22:14 -07:00
Nate Kelley a58b8057b8
Update MOCK_DASHBOARD.ts 2025-02-06 10:40:02 -07:00
Nate Kelley 06410c3187
update faker 2025-02-06 10:19:25 -07:00
Nate Kelley f6ad1e24f0
dashboard updates 2025-02-06 10:06:28 -07:00
Nate Kelley 5405232de9
animation rews update 2025-02-05 22:57:56 -07:00
Nate Kelley 279d903de2
defferred updatate 2025-02-05 22:42:22 -07:00
Nate Kelley f3a4fb96ef
mock data update 2025-02-05 22:35:46 -07:00
Nate Kelley 6c5f4c7b5f
dashboard config 2025-02-05 16:43:18 -07:00
Nate Kelley 1a373d1e04
popup selet file container 2025-02-05 14:31:32 -07:00
Nate Kelley 2fc8c9a221
Update useMetricLayout.ts 2025-02-05 13:19:49 -07:00
Nate Kelley 55e307b677
do not allow dragging app data grid 2025-02-05 13:06:25 -07:00
Nate Kelley f4866b790d
save sql container 2025-02-05 12:54:06 -07:00
Nate Kelley e7843d5a83
created results file pt1 2025-02-05 11:27:53 -07:00
Nate Kelley 39d5601158
update how we pass inputs 2025-02-05 09:55:09 -07:00
Nate Kelley b984e9863f
Merge branch 'staging' into big-nate/bus-939-create-new-structure-for-chats 2025-02-05 09:15:30 -07:00
Nate Kelley f437aea897
use colors in tooltip cache 2025-02-05 08:12:13 -07:00
Nate Kelley 255c1514ad
Update MetricTitle.tsx 2025-02-05 08:01:55 -07:00
Nate Kelley 3f46086ca7
Update ChatInput.tsx 2025-02-04 22:40:59 -07:00
Nate Kelley bc93d18f7e
Update SubmitButton.tsx 2025-02-04 22:22:55 -07:00
Nate Kelley 3977d7bb34
make submit button a little better 2025-02-04 22:04:26 -07:00
Nate Kelley e02ac8e35f
pass row count 2025-02-04 21:04:24 -07:00
Nate Kelley f86ca7e641
update x axis type trigger 2025-02-04 20:21:14 -07:00
Nate Kelley 420fe8f90f
change to use refs 2025-02-04 19:55:15 -07:00
Nate Kelley 535b6658a9
rename metric controller
update version

your message

splitter resizer
2025-02-04 16:51:37 -07:00
Nate Kelley 6dc40d0ae8
make a card component 2025-02-04 11:13:46 -07:00
Nate Kelley 54810dcf59
document endpoints 2025-02-04 11:01:00 -07:00
Nate Kelley 4992b2b118
metric edit controller 2025-02-03 22:14:54 -07:00
Nate Kelley af5e599dab
make a chart card 2025-02-03 20:57:12 -07:00
Nate Kelley 679295cff8
metric chart update 1 2025-02-03 16:37:18 -07:00
Nate Kelley 9c847ca6f1
animate buttons in and out 2025-02-03 11:44:06 -07:00
Nate Kelley e6655554d0
close secondary when open primary 2025-02-03 11:24:32 -07:00
Nate Kelley 2be183889b
metric toggle secondary 2025-02-03 10:46:20 -07:00
Nate Kelley d17899f3d4
toggle for metric slideout 2025-02-03 10:31:15 -07:00
Nate Kelley 4ca917195c
additinal typing 2025-02-03 09:33:02 -07:00
Nate Kelley 45f814ff04
change how dashboards are routed 2025-02-03 09:26:40 -07:00
Nate Kelley 40d4532788
move permission to asset interfaces 2025-02-01 21:53:01 -07:00
Nate Kelley d2e7c65ca4
move addtional files to asset 2025-02-01 21:27:54 -07:00
Nate Kelley 4cee544cf3
move dataset to shared asset 2025-02-01 20:59:24 -07:00
Nate Kelley 90fac0a5c7
Start removing thread context 2025-01-31 22:33:57 -07:00
Nate Kelley 58551de620
start moving api interfaces to folder 2025-01-31 11:09:11 -07:00
Nate Kelley 731969aa49
Merge branch 'staging' into big-nate/bus-939-create-new-structure-for-chats 2025-01-30 17:16:39 -07:00
Nate Kelley 5b231e1efd
make dashboard header sizing more consistent 2025-01-30 17:16:19 -07:00
Nate Kelley 337569fd9c
remove some requests 2025-01-30 16:56:08 -07:00
Nate Kelley 17c57f6d75
metric interfaces in correct place 2025-01-30 16:53:57 -07:00
Nate Kelley 22337e17d1
share menu structures 2025-01-30 16:51:37 -07:00
Nate Kelley 70d770f565
add additional components 2025-01-30 15:33:06 -07:00
Nate Kelley f234825029
add chat layout context 2025-01-30 10:44:37 -07:00
Nate Kelley 7d7e637d50
update animation 2025-01-29 15:10:41 -07:00
Nate Kelley 36965ca1fe
Merge branch 'staging' into big-nate/bus-939-create-new-structure-for-chats 2025-01-29 14:55:43 -07:00
Nate Kelley 64971b7267
fix(posthog): update posthog config 2025-01-29 14:54:49 -07:00
Nate Kelley 9d5ed6b10f
Update ChatResponseMessages.tsx 2025-01-29 14:51:19 -07:00
Nate Kelley ce4d061325
add additional animation 2025-01-29 13:58:27 -07:00
Nate Kelley 372e394100
smoother hide transntion 2025-01-29 13:11:37 -07:00
Nate Kelley 97316c11cc
Merge branch 'staging' into big-nate/bus-939-create-new-structure-for-chats 2025-01-29 12:47:31 -07:00
Nate Kelley 4bade2114a
attempt to fix cursor bug 2025-01-29 12:46:26 -07:00
Nate Kelley 284dd43369
remove warning for show undefeine 2025-01-29 12:17:16 -07:00
Nate Kelley 01cbc70cd6
replace missing data with logic update 2025-01-29 11:32:38 -07:00
Nate Kelley 75e36b8e93
replace missing data with 2025-01-29 10:35:34 -07:00
Nate Kelley cce49d7d95
Update createServerInstance.ts 2025-01-29 09:45:19 -07:00
Nate Kelley dc152628f0
hidden items 2025-01-28 17:12:23 -07:00
Nate Kelley 44df60c695
chat content update 2025-01-28 16:21:00 -07:00
Nate Kelley f686403141
do not show next line 2025-01-28 15:54:41 -07:00
Nate Kelley 2a881479ee
message updated 2025-01-28 15:38:43 -07:00
Nate Kelley 330c3067d5
version id update 2025-01-28 15:21:07 -07:00
Nate Kelley 29b2c8996f
bleed into message block 2025-01-28 14:21:22 -07:00
Nate Kelley f41c4da9ff
thought transitions complete 2025-01-28 14:07:30 -07:00
Nate Kelley 2d8d2baa6f
Update ChatResponseMessage_ThoughtPills.tsx 2025-01-28 13:29:07 -07:00
Nate Kelley e653d3953b
better pill handling 2025-01-28 12:55:53 -07:00
Nate Kelley b850a85199
width 2025-01-28 12:47:14 -07:00
Nate Kelley df3c216b3e
pill click events 2025-01-28 12:24:31 -07:00
Nate Kelley aec79d84a6
thoughts pills 2025-01-28 11:50:11 -07:00
Nate Kelley 52c4521750
pill styles 2025-01-28 10:57:26 -07:00
Nate Kelley b8e1270f36
Update ChatResponseMessage_Thought.tsx 2025-01-28 10:07:37 -07:00
Nate Kelley 975b8dd8d9
add streaming text 2025-01-28 10:04:54 -07:00
Nate Kelley 20c31af9da
started adding responses 2025-01-27 17:08:52 -07:00
Nate Kelley 90d30c93af
add additional context provider for chats 2025-01-27 16:23:08 -07:00
Nate Kelley be050b3521
select file update 2025-01-27 15:48:29 -07:00
Nate Kelley d5ee691de4
add provider for chats 2025-01-27 14:20:26 -07:00
Nate Kelley 604bfbdd6c
create chat interfaces 2025-01-27 13:21:42 -07:00
Nate Kelley 9f4dcb6baa
animation for collapse button 2025-01-25 11:23:19 -07:00
Nate Kelley d7aeb14569
pass down file type to container 2025-01-24 21:21:53 -07:00
dal 39dfc053fc
Merge branch 'main' into staging 2025-01-24 16:07:02 -08:00
Nate Kelley b3af7267ef
default file passthrough 2025-01-24 16:59:38 -07:00
Nate Kelley de0d46bb2e
more chat container info 2025-01-24 16:33:32 -07:00
Nate Kelley 2068cf2046
add scroll indicator 2025-01-24 14:39:15 -07:00
Nate Kelley 8b21e0d50c
chat file headers 2025-01-24 13:36:39 -07:00
Nate Kelley 2fe395b5ea
check if number for chat splitter 2025-01-24 13:05:09 -07:00
Nate Kelley ff81539cb9
Use performance instead of settimeout for splitter animation 2025-01-24 11:14:49 -07:00
Nate Kelley 975f5a1011
Merge branch 'staging' into big-nate/bus-939-create-new-structure-for-chats 2025-01-24 11:12:12 -07:00
Nate Kelley 2208977a87
prevent email param injection 2025-01-24 11:04:34 -07:00
Nate Kelley 62ce1b8c9c
Update cspPolicyMiddleware.ts 2025-01-24 10:50:17 -07:00
Nate Kelley 4000bb4e06
add csp policy middleware 2025-01-24 10:19:53 -07:00
dal 98aff93fba
chore: add release-please configuration
* chore: add release-please configuration

* create virtua list component

* only debounce if there is text

* prefetch on demand

* add a popup for permissions

* update package versions

* Make users page (#39)

* create users pages

* abstract more components to correct folders

* carve out expection if we are hiding the select all

* user query

* Add ability to change default access

* Update package-lock.json

* Update package-lock.json

* Update web/src/components/list/BusterList/BusterListReactWindow.tsx

Co-Authored-By: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Big nate/bus 924 make additional permissions pages (#50)

* create virtua list component

* only debounce if there is text

* prefetch on demand

* add a popup for permissions

* Update web/src/components/list/BusterList/BusterListReactWindow.tsx

Co-Authored-By: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

---------

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* finalize permission popup

Co-Authored-By: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* more elegant infinite list component

Co-Authored-By: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* add additional bulk popup menus

Co-Authored-By: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* make pages unique

Co-Authored-By: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* change how padding is applied to list

Co-Authored-By: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* infinite list component

Co-Authored-By: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* start user dataset lineage

Co-Authored-By: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Refactor SQL query in list_assets_handler to use a Common Table Expression (CTE) for improved readability and maintainability. The CTE, `distinct_assets`, simplifies the selection of distinct asset records before applying the final ordering and limiting.

* add cursor rules for web directory + jest (#52)

* on change update for segments

* PRevent clicking passthrough on users click

* feat: Add assets module and nest routes in user router

- Introduced a new `assets` module to handle asset-related routes.
- Updated the user router to nest the `assets` routes under the user ID path, enhancing the organization of API endpoints.
- This change improves the structure and maintainability of the user-related routes in the API.

* feat: Enhance user attribute listing with authorization checks

- Updated the `list_attributes_handler` to include authorization checks for user roles and organization IDs.
- Implemented error handling for unauthorized access to user attributes.
- Refactored the SQL query to retrieve user attributes based on the authenticated user's organization, improving security and data integrity.
- This change ensures that only authorized users can list attributes, enhancing the overall security of the API.

* pass through dataset overview

* feat: Update dataset group listing to include permissions

- Enhanced the `list_dataset_groups` function to join with the `dataset_permissions` table, allowing retrieval of permission details for each dataset group.
- Modified the `DatasetGroupInfo` struct to include `permission_id` and `assigned` fields, reflecting the new data structure.
- Refactored the SQL query to group by necessary fields and ensure accurate permission data is returned, improving the functionality and security of dataset group listings.

* feat: Add DatasetGroupPermission model and schema

- Introduced a new `DatasetGroupPermission` struct in `models.rs` to represent permissions associated with dataset groups.
- Updated the database schema in `schema.rs` to include the `dataset_groups_permissions` table, defining its structure and relationships.
- Modified the `is_user_workspace_admin_or_data_admin` function in `checks.rs` to correctly reference the user's organization role, enhancing role validation logic.

* add component for users inputs

* feat: Update dataset group listing to include dataset group permissions

- Modified the `list_dataset_groups` function to accept an additional `id` parameter for filtering dataset groups based on user permissions.
- Updated the SQL query to join with the `dataset_groups_permissions` table, allowing retrieval of permission counts for each dataset group.
- Refactored the `DatasetGroupInfo` struct to replace `permission_id` with `permission_count`, enhancing clarity and accuracy in the data representation.
- Ensured that the query groups by the new permission structure, improving the functionality and security of dataset group listings.

* feat: Refactor dataset listing to include user-specific permissions

- Updated the `list_datasets` function to accept an additional `id` parameter for filtering datasets based on user permissions.
- Enhanced the SQL query to join with the `dataset_permissions` table, allowing retrieval of permission details for each dataset.
- Refactored the `DatasetInfo` struct to include an `assigned` field, improving clarity in the dataset representation.
- Improved error handling for dataset retrieval, ensuring robust logging and response management.

* fix: Correct user role attribute and enhance read-only logic in list_attributes_handler

- Updated the user role attribute key from "role" to "organization_role" for accurate role retrieval.
- Introduced a read-only flag for specific user attributes, improving data integrity by clearly indicating which attributes should not be modified.
- Enhanced error handling for user role retrieval, ensuring robust responses for missing or incorrect attributes.

* normalize header for list

* new line

* popup conatiner for users

* feat: Enhance user authorization checks and refactor related functions

- Added user authorization checks in `list_attributes`, `list_dataset_groups`, `list_datasets`, `list_permission_groups`, and `list_teams` functions to ensure only users with appropriate roles can access these resources.
- Refactored the `list_teams_handler` to accept `user_id` as a parameter, improving clarity and consistency across user-related functions.
- Updated SQL queries to utilize the new authorization checks, enhancing security and data integrity.
- Removed redundant column allowances in `list_teams` permissions, streamlining the codebase.

* pass last child as index

* feat: Enhance permission group handling and streamline SQL queries

- Expanded the `allow_columns_to_appear_in_same_group_by_clause!` macro in `models.rs` to include additional columns for datasets and users, improving query flexibility.
- Refactored the `list_permission_groups` function to include dataset count and assigned status, enhancing the information returned for each permission group.
- Updated SQL queries in `list_permission_groups` to utilize left joins for better data retrieval and to ensure accurate permission checks.
- Removed redundant column allowances in various files, streamlining the codebase and improving maintainability.

* feat: Add PUT route for updating teams in user assets

- Introduced a new module `put_teams` to handle updates for teams.
- Added a PUT route for `/teams` in the user assets router, allowing for team modifications.
- Enhanced the routing capabilities of the user assets API to support both GET and PUT requests for teams.

* onchagne appsegmetned update

* create permission user endpoints

* move files to match new page structure

* refactor: Clean up routing and improve PUT teams handler

- Reformatted imports in `mod.rs` for better readability.
- Commented out the PUT route for `/teams` in the user assets router, indicating a potential future change or deprecation.
- Updated the `put_teams` handler to return a `NoContent` response upon successful execution, enhancing clarity in API responses.
- Improved error handling in the `put_teams` function for better logging and response management.

* refactor: Standardize user ID parameter naming across user-related routes

- Updated all user-related route handlers to use `user_id` instead of `id` for better clarity and consistency.
- Modified the routing definitions in `mod.rs` to reflect the new parameter naming convention.
- Enhanced the `list_permission_groups` function to accept `user_id` as a parameter, improving clarity in the handler's signature.
- Ensured all relevant functions now consistently handle the `user_id` parameter, streamlining the codebase and improving maintainability.

* feat: Enhance team management with role-based assignments

- Introduced a new `TeamInfoRole` enum to represent user roles within teams, replacing the previous boolean `assigned` field.
- Updated the `list_teams` handler to return team roles instead of assignment status, improving clarity on user roles.
- Refactored the `put_teams` handler to support role-based assignments, allowing for more granular control over team memberships.
- Added new PUT routes for dataset groups and permission groups in the user assets router, enhancing API capabilities.
- Improved SQL queries for team assignments to utilize role information, streamlining database interactions.

* feat: Add organization_id to DatasetGroupPermission and update dataset group handler

- Introduced a new `organization_id` field in the `DatasetGroupPermission` struct to associate permissions with specific organizations.
- Updated the `put_dataset_groups_handler` to include `organization_id` when creating or updating dataset group permissions, enhancing the API's capability to manage permissions at the organizational level.
- Improved SQL query formatting for better readability in the handler.

* add list components for permission settings

* feat: Introduce assets module and update routing for permission groups

- Added a new `assets` module to organize related routes.
- Updated the routing in `mod.rs` to nest the `assets` router under the `/:permission_group_id` path, enhancing the structure and clarity of the API.
- Maintained existing routes for managing permission groups while improving modularity.

* create permission group users

* refactor: Update list_permission_groups_handler to use user_id and improve SQL queries

- Changed the parameter in the SQL query from `user.id` to `user_id` for consistency with the updated user ID parameter naming convention.
- Enhanced the SQL query to count distinct dataset permissions and utilize `bool_or` for identity checks, improving accuracy and performance.
- Cleaned up the grouping in the SQL query by removing unnecessary fields, streamlining the data retrieval process.

* add listing for dataset groups

* feat: Add PUT routes for user and dataset management in assets module

- Introduced new PUT routes for managing users and dataset groups in the assets module.
- Updated the router to support PUT requests for `/users`, `/dataset_groups`, and `/datasets`, enhancing the API's functionality for resource updates.
- Improved modularity by organizing related routes within the assets module.

* add listing for dataset groups

* add list for datasets

* assigned permissions

* Add attributes and teams

* feat: Add DatasetToDatasetGroup model and update schema

- Introduced a new `DatasetToDatasetGroup` struct to represent the relationship between datasets and dataset groups, including fields for timestamps and optional deletion.
- Updated the database schema to include `updated_at` and `deleted_at` fields for the `datasets_to_dataset_groups` table, enhancing data tracking capabilities.
- Refactored the routing in `mod.rs` to include a nested router for assets, improving the organization of dataset group routes.

* invalidate query if user id is present

* create a dataset modal added to user page

* add team modal to teams

* assigned popup

* feat: Enhance user retrieval with dataset information

- Added new structs `DatasetLineage` and `DatasetInfo` to represent dataset details and lineage.
- Updated `UserResponse` to include a list of datasets associated with the user.
- Refactored `get_user_information` function to concurrently fetch user info, direct datasets, permission group datasets, and organization datasets using `tokio::spawn` for improved performance.
- Implemented logic to compile datasets based on direct access and permission group access, including lineage tracking for better data representation.
- Enhanced error handling during database queries to ensure robust user information retrieval.

* feat: Enhance dataset access retrieval in user and dataset overview

- Updated `get_dataset_overview` to include dataset group access and permission group to dataset group access, improving the granularity of dataset permissions.
- Introduced new queries to fetch dataset groups and their associated permissions, enhancing the dataset overview for users.
- Refactored `get_user_information` to concurrently retrieve dataset groups and permission group datasets, optimizing performance with `tokio::spawn`.
- Enhanced lineage tracking for datasets, allowing for better representation of user permissions across dataset groups and permission groups.
- Improved error handling during database queries to ensure robust data retrieval.

* lineage props passed

* refactor: Streamline dataset access logic in get_user_information

- Simplified access control logic for datasets based on user roles, consolidating conditions for WorkspaceAdmin, DataAdmin, Querier, Viewer, and RestrictedQuerier.
- Enhanced dataset lineage tracking to provide clearer representation of user permissions across various dataset access types.
- Removed redundant code related to dataset processing, improving readability and maintainability of the `get_user_information` function.
- Ensured that datasets are correctly categorized based on direct access, permission group access, and organization datasets, optimizing the overall data retrieval process.

* feat: Refactor dataset overview access lineage in get_dataset_overview

- Introduced a default access lineage for users, ensuring consistent representation of user permissions.
- Simplified the addition of user roles to the lineage, consolidating logic for WorkspaceAdmin, DataAdmin, Querier, and Viewer roles.
- Enhanced lineage tracking for RestrictedQuerier role to include direct dataset access and permission group lineage, improving granularity of dataset permissions.
- Removed redundant code related to dataset and permission group lineage, optimizing readability and maintainability of the `get_dataset_overview` function.

* add datasetgroup handler

* feat: Improve dataset access control and lineage tracking

- Enhanced the `get_dataset_overview` function to refine access control for the `RestrictedQuerier` role, allowing for more granular permission checks based on various access paths.
- Updated the `get_user_information` function to streamline dataset processing, ensuring that datasets are categorized correctly based on direct access and permission group access.
- Removed redundant code and improved readability by consolidating logic for user roles, enhancing maintainability of both functions.
- Improved lineage tracking for datasets, providing a clearer representation of user permissions across different access types.

* clickable pills

* fix build errors

* add endpoints for dataset groups, and permission groups

* refactor: Enhance dataset access control and lineage tracking

- Streamlined the `get_dataset_overview` function to improve access control for the `RestrictedQuerier` role, ensuring more precise permission checks.
- Updated the `get_user_information` function to optimize dataset processing, categorizing datasets based on direct access and permission group access.
- Removed redundant code and improved readability by consolidating logic for user roles, enhancing maintainability.
- Enhanced lineage tracking for datasets, providing a clearer representation of user permissions across different access types.

* better handling for create a permission group

* Refetch on team created for now

* add additional pages

* permission group modal update

* added pages for permission groups

* add user permission list

* add datasets to permission groups page

* Update dependencies and refactor Snowflake query handling

- Downgraded the `base64` crate version in `Cargo.toml` from `0.22.1` to `0.21`.
- Refactored the `snowflake_query` function in `snowflake_query.rs` to improve data type handling, including support for additional Arrow data types and enhanced null value checks.
- Updated the `route_to_query` function in `query_router.rs` to use mutable `snowflake_client` for better state management during query execution.
- Improved error handling for closing the Snowflake client session, ensuring proper logging of any issues encountered.

* add datasets to permission groups page

* Refactor Snowflake client connection to remove warehouse and database IDs

- Updated the `get_snowflake_client` function to no longer require `warehouse_id` and `database_id`, simplifying the connection process.
- This change enhances flexibility in client initialization and aligns with recent updates to Snowflake API handling.

* add permission groups lists

* add dataset group in permission group area

* remove console logs

* Big nate/bus 936 if a user is not an admin we should not see the permission (#57)

* app sidebar settings should hide

* rename api directories

* list empty state

* offset for row

* refetch after user default access changed (#58)

* fix permission check on post_dataset rest

* refactor: enhance dataset overview access lineage and permission checks

- Updated the `get_dataset_overview` function to conditionally add default access lineage based on user roles and existing access paths.
- Simplified the logic for adding user roles to the lineage, ensuring clarity and maintainability.
- Improved handling for the `RestrictedQuerier` role to include checks for existing access before adding default lineage, enhancing permission accuracy.
- Streamlined code by removing redundant checks and consolidating role handling, optimizing overall readability.

* feat: Enhance permission group handling and data retrieval

- Introduced a new `PermissionGroupInfo` struct to encapsulate detailed information about permission groups, including user and dataset counts.
- Updated the `get_permission_group` and `list_permission_groups` functions to improve data retrieval and error handling.
- Refactored SQL queries in `list_permission_groups` to include additional joins for counting users and datasets associated with permission groups, enhancing the overall functionality and clarity of the API.
- Streamlined code for better readability and maintainability, ensuring consistent handling of user and permission group data.

* check if user has an org first

* user organization can be null

* get datasets only if they have an org

* refactor: Improve dataset access handling and permission checks

- Enhanced the `get_restricted_user_datasets` and `get_restricted_user_datasets_with_metadata` functions to include additional permission checks for dataset groups and permission groups.
- Consolidated SQL queries to ensure proper filtering of deleted records and improved clarity in dataset retrieval logic.
- Introduced new joins and filters to handle dataset group permissions, ensuring accurate access control for users.
- Streamlined code for better readability and maintainability, enhancing overall functionality in dataset access management.

* add hidden prop to row listing component

* reroute to correct link for datasets

* disable editing my own user

* restrict certain routes to admins

* small users page

* restrict adding people to admins

* update packages

* Update shimmer text component

* Update ShimmerText.tsx

* update how no datasets is presented

* fix permission check on post_dataset rest (#59)

* fix permission check on post_dataset rest

* refactor: enhance dataset overview access lineage and permission checks

- Updated the `get_dataset_overview` function to conditionally add default access lineage based on user roles and existing access paths.
- Simplified the logic for adding user roles to the lineage, ensuring clarity and maintainability.
- Improved handling for the `RestrictedQuerier` role to include checks for existing access before adding default lineage, enhancing permission accuracy.
- Streamlined code by removing redundant checks and consolidating role handling, optimizing overall readability.

* feat: Enhance permission group handling and data retrieval

- Introduced a new `PermissionGroupInfo` struct to encapsulate detailed information about permission groups, including user and dataset counts.
- Updated the `get_permission_group` and `list_permission_groups` functions to improve data retrieval and error handling.
- Refactored SQL queries in `list_permission_groups` to include additional joins for counting users and datasets associated with permission groups, enhancing the overall functionality and clarity of the API.
- Streamlined code for better readability and maintainability, ensuring consistent handling of user and permission group data.

* refactor: Improve dataset access handling and permission checks

- Enhanced the `get_restricted_user_datasets` and `get_restricted_user_datasets_with_metadata` functions to include additional permission checks for dataset groups and permission groups.
- Consolidated SQL queries to ensure proper filtering of deleted records and improved clarity in dataset retrieval logic.
- Introduced new joins and filters to handle dataset group permissions, ensuring accurate access control for users.
- Streamlined code for better readability and maintainability, enhancing overall functionality in dataset access management.

* fix: Update SQL migration and seed data for user attributes

- Modified the SQL migration to specify the schema for the `users` table, ensuring clarity in the update statement.
- Adjusted the seed data for `users_to_organizations` to change the `organization_id` from 'public' to 'none', reflecting a more accurate state for user roles and organization associations.
- Ensured consistency in the formatting of SQL insert statements for better readability.

* fix: Prevent users from updating their own profiles

- Added a check in the `update_user_handler` to prevent users from updating their own information, returning an error if they attempt to do so.
- This change enhances security by ensuring that users cannot modify their own records, which could lead to unauthorized changes.

* refactor: Simplify dashboard permission queries by removing team-based joins

- Removed left joins with `teams_to_users` table in dashboard permission queries
- Simplified permission checks to only filter by direct user ID
- Updated queries in `get_user_dashboard_permission`, `get_bulk_user_dashboard_permission`, and `list_dashboards_handler`
- Streamlined SQL query logic for more direct and efficient permission checks

* add secure middleware checks

* Update supabase server to secure and http only

* dashboard permissions fix

* set cookies

* set cookies

* Enhance email functionality by adding HTML escaping

- Added `html-escape` crate to `Cargo.toml` for HTML escaping.
- Updated email template processing to escape HTML in message and button text, preventing potential XSS vulnerabilities.
- Modified test cases to include HTML content in email parameters, ensuring proper handling and escaping.

This change improves security by sanitizing user input in email communications.

---------

Co-authored-by: Nate Kelley <nate@buster.so>
Co-authored-by: Nate Kelley <133379588+nate-kelley-buster@users.noreply.github.com>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-01-24 08:11:11 -08:00
Nate Kelley d39373ac18
Merge branch 'staging' into nate/security-remediation 2025-01-23 17:07:06 -07:00
Nate Kelley 50b9177275
set cookies 2025-01-23 17:06:12 -07:00
Nate Kelley 504a3360b6
set cookies 2025-01-23 17:01:52 -07:00
Nate Kelley 02d0f9f2c4
Update supabase server to secure and http only 2025-01-23 16:37:44 -07:00
Nate Kelley 15e515720f
add secure middleware checks 2025-01-23 16:33:33 -07:00
Nate Kelley 77c6f57846
can pass in pixels instead of percentage to app splitter animate 2025-01-23 16:15:42 -07:00
Nate Kelley dbaa3c0b06
add chat splitter pt 1 2025-01-23 16:00:33 -07:00
Nate Kelley f638db2299
reorganize components pt 1 2025-01-23 13:15:10 -07:00
Nate Kelley 31e0477b56
Merge branch 'staging' into big-nate/bus-939-create-new-structure-for-chats 2025-01-23 12:58:08 -07:00
Nate Kelley d315d6f410
update how no datasets is presented 2025-01-23 12:57:57 -07:00
Nate Kelley c91647198d
memoize impertative function 2025-01-23 12:57:37 -07:00
Nate Kelley 16866accbb
Merge branch 'staging' into big-nate/bus-939-create-new-structure-for-chats 2025-01-23 12:44:41 -07:00
Nate Kelley 4a52fa6ddd
Update ShimmerText.tsx 2025-01-23 12:40:13 -07:00
Nate Kelley cb2d3c3235
Merge branch 'staging' of https://github.com/buster-so/buster into staging 2025-01-23 12:39:59 -07:00
Nate Kelley ab8ae7f3d2
Update shimmer text component 2025-01-23 11:56:57 -07:00
Nate Kelley 10ee4acdd8
update packages 2025-01-23 11:43:28 -07:00
Nate Kelley 0a7ffc7980
restrict adding people to admins 2025-01-23 11:36:54 -07:00
Nate Kelley cb96002f04
small users page 2025-01-23 11:32:02 -07:00
Nate Kelley 4de70a3420
restrict certain routes to admins 2025-01-23 11:20:48 -07:00
Nate Kelley aa190a73de
disable editing my own user 2025-01-23 11:05:07 -07:00
Nate Kelley b658eb2728
reroute to correct link for datasets 2025-01-23 10:54:21 -07:00
Nate Kelley ac0caac99b
add hidden prop to row listing component 2025-01-23 10:20:23 -07:00
Nate Kelley 237bf529e2
get datasets only if they have an org 2025-01-23 10:05:52 -07:00
Nate Kelley f07d5425b9
user organization can be null 2025-01-23 09:29:07 -07:00
Nate Kelley de85b20627
check if user has an org first 2025-01-23 09:26:23 -07:00
Nate Kelley 77184a4f49
Update AppSplitter.tsx 2025-01-22 17:53:29 -07:00
Nate Kelley 0ef19744d7
Update AppSplitter.tsx 2025-01-22 17:35:39 -07:00
Nate Kelley b45eec6146
add animation to app splitter 2025-01-22 17:35:17 -07:00
Nate Kelley db43289d71
refetch after user default access changed (#58) 2025-01-22 15:11:07 -08:00
Nate Kelley bc36758fea
Big nate/bus 936 if a user is not an admin we should not see the permission (#57)
* app sidebar settings should hide

* rename api directories

* list empty state

* offset for row
2025-01-22 14:58:06 -08:00
dal dc0dd9aa30
Merge branch 'main' into staging 2025-01-22 13:30:49 -07:00
Nate Kelley 5c75fbee03
remove console logs 2025-01-22 12:51:56 -07:00
Nate Kelley 84387396f0
feat: added permission pages
* chore: add release-please configuration

* create virtua list component

* only debounce if there is text

* prefetch on demand

* add a popup for permissions

* update package versions

* Make users page (#39)

* create users pages

* abstract more components to correct folders

* carve out expection if we are hiding the select all

* user query

* Add ability to change default access

* Update package-lock.json

* Update package-lock.json

* Update web/src/components/list/BusterList/BusterListReactWindow.tsx

Co-Authored-By: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Big nate/bus 924 make additional permissions pages (#50)

* create virtua list component

* only debounce if there is text

* prefetch on demand

* add a popup for permissions

* Update web/src/components/list/BusterList/BusterListReactWindow.tsx

Co-Authored-By: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

---------

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* finalize permission popup

Co-Authored-By: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* more elegant infinite list component

Co-Authored-By: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* add additional bulk popup menus

Co-Authored-By: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* make pages unique

Co-Authored-By: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* change how padding is applied to list

Co-Authored-By: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* infinite list component

Co-Authored-By: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* start user dataset lineage

Co-Authored-By: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Refactor SQL query in list_assets_handler to use a Common Table Expression (CTE) for improved readability and maintainability. The CTE, `distinct_assets`, simplifies the selection of distinct asset records before applying the final ordering and limiting.

* add cursor rules for web directory + jest (#52)

* on change update for segments

* PRevent clicking passthrough on users click

* feat: Add assets module and nest routes in user router

- Introduced a new `assets` module to handle asset-related routes.
- Updated the user router to nest the `assets` routes under the user ID path, enhancing the organization of API endpoints.
- This change improves the structure and maintainability of the user-related routes in the API.

* feat: Enhance user attribute listing with authorization checks

- Updated the `list_attributes_handler` to include authorization checks for user roles and organization IDs.
- Implemented error handling for unauthorized access to user attributes.
- Refactored the SQL query to retrieve user attributes based on the authenticated user's organization, improving security and data integrity.
- This change ensures that only authorized users can list attributes, enhancing the overall security of the API.

* pass through dataset overview

* feat: Update dataset group listing to include permissions

- Enhanced the `list_dataset_groups` function to join with the `dataset_permissions` table, allowing retrieval of permission details for each dataset group.
- Modified the `DatasetGroupInfo` struct to include `permission_id` and `assigned` fields, reflecting the new data structure.
- Refactored the SQL query to group by necessary fields and ensure accurate permission data is returned, improving the functionality and security of dataset group listings.

* feat: Add DatasetGroupPermission model and schema

- Introduced a new `DatasetGroupPermission` struct in `models.rs` to represent permissions associated with dataset groups.
- Updated the database schema in `schema.rs` to include the `dataset_groups_permissions` table, defining its structure and relationships.
- Modified the `is_user_workspace_admin_or_data_admin` function in `checks.rs` to correctly reference the user's organization role, enhancing role validation logic.

* add component for users inputs

* feat: Update dataset group listing to include dataset group permissions

- Modified the `list_dataset_groups` function to accept an additional `id` parameter for filtering dataset groups based on user permissions.
- Updated the SQL query to join with the `dataset_groups_permissions` table, allowing retrieval of permission counts for each dataset group.
- Refactored the `DatasetGroupInfo` struct to replace `permission_id` with `permission_count`, enhancing clarity and accuracy in the data representation.
- Ensured that the query groups by the new permission structure, improving the functionality and security of dataset group listings.

* feat: Refactor dataset listing to include user-specific permissions

- Updated the `list_datasets` function to accept an additional `id` parameter for filtering datasets based on user permissions.
- Enhanced the SQL query to join with the `dataset_permissions` table, allowing retrieval of permission details for each dataset.
- Refactored the `DatasetInfo` struct to include an `assigned` field, improving clarity in the dataset representation.
- Improved error handling for dataset retrieval, ensuring robust logging and response management.

* fix: Correct user role attribute and enhance read-only logic in list_attributes_handler

- Updated the user role attribute key from "role" to "organization_role" for accurate role retrieval.
- Introduced a read-only flag for specific user attributes, improving data integrity by clearly indicating which attributes should not be modified.
- Enhanced error handling for user role retrieval, ensuring robust responses for missing or incorrect attributes.

* normalize header for list

* new line

* popup conatiner for users

* feat: Enhance user authorization checks and refactor related functions

- Added user authorization checks in `list_attributes`, `list_dataset_groups`, `list_datasets`, `list_permission_groups`, and `list_teams` functions to ensure only users with appropriate roles can access these resources.
- Refactored the `list_teams_handler` to accept `user_id` as a parameter, improving clarity and consistency across user-related functions.
- Updated SQL queries to utilize the new authorization checks, enhancing security and data integrity.
- Removed redundant column allowances in `list_teams` permissions, streamlining the codebase.

* pass last child as index

* feat: Enhance permission group handling and streamline SQL queries

- Expanded the `allow_columns_to_appear_in_same_group_by_clause!` macro in `models.rs` to include additional columns for datasets and users, improving query flexibility.
- Refactored the `list_permission_groups` function to include dataset count and assigned status, enhancing the information returned for each permission group.
- Updated SQL queries in `list_permission_groups` to utilize left joins for better data retrieval and to ensure accurate permission checks.
- Removed redundant column allowances in various files, streamlining the codebase and improving maintainability.

* feat: Add PUT route for updating teams in user assets

- Introduced a new module `put_teams` to handle updates for teams.
- Added a PUT route for `/teams` in the user assets router, allowing for team modifications.
- Enhanced the routing capabilities of the user assets API to support both GET and PUT requests for teams.

* onchagne appsegmetned update

* create permission user endpoints

* move files to match new page structure

* refactor: Clean up routing and improve PUT teams handler

- Reformatted imports in `mod.rs` for better readability.
- Commented out the PUT route for `/teams` in the user assets router, indicating a potential future change or deprecation.
- Updated the `put_teams` handler to return a `NoContent` response upon successful execution, enhancing clarity in API responses.
- Improved error handling in the `put_teams` function for better logging and response management.

* refactor: Standardize user ID parameter naming across user-related routes

- Updated all user-related route handlers to use `user_id` instead of `id` for better clarity and consistency.
- Modified the routing definitions in `mod.rs` to reflect the new parameter naming convention.
- Enhanced the `list_permission_groups` function to accept `user_id` as a parameter, improving clarity in the handler's signature.
- Ensured all relevant functions now consistently handle the `user_id` parameter, streamlining the codebase and improving maintainability.

* feat: Enhance team management with role-based assignments

- Introduced a new `TeamInfoRole` enum to represent user roles within teams, replacing the previous boolean `assigned` field.
- Updated the `list_teams` handler to return team roles instead of assignment status, improving clarity on user roles.
- Refactored the `put_teams` handler to support role-based assignments, allowing for more granular control over team memberships.
- Added new PUT routes for dataset groups and permission groups in the user assets router, enhancing API capabilities.
- Improved SQL queries for team assignments to utilize role information, streamlining database interactions.

* feat: Add organization_id to DatasetGroupPermission and update dataset group handler

- Introduced a new `organization_id` field in the `DatasetGroupPermission` struct to associate permissions with specific organizations.
- Updated the `put_dataset_groups_handler` to include `organization_id` when creating or updating dataset group permissions, enhancing the API's capability to manage permissions at the organizational level.
- Improved SQL query formatting for better readability in the handler.

* add list components for permission settings

* feat: Introduce assets module and update routing for permission groups

- Added a new `assets` module to organize related routes.
- Updated the routing in `mod.rs` to nest the `assets` router under the `/:permission_group_id` path, enhancing the structure and clarity of the API.
- Maintained existing routes for managing permission groups while improving modularity.

* create permission group users

* refactor: Update list_permission_groups_handler to use user_id and improve SQL queries

- Changed the parameter in the SQL query from `user.id` to `user_id` for consistency with the updated user ID parameter naming convention.
- Enhanced the SQL query to count distinct dataset permissions and utilize `bool_or` for identity checks, improving accuracy and performance.
- Cleaned up the grouping in the SQL query by removing unnecessary fields, streamlining the data retrieval process.

* add listing for dataset groups

* feat: Add PUT routes for user and dataset management in assets module

- Introduced new PUT routes for managing users and dataset groups in the assets module.
- Updated the router to support PUT requests for `/users`, `/dataset_groups`, and `/datasets`, enhancing the API's functionality for resource updates.
- Improved modularity by organizing related routes within the assets module.

* add listing for dataset groups

* add list for datasets

* assigned permissions

* Add attributes and teams

* feat: Add DatasetToDatasetGroup model and update schema

- Introduced a new `DatasetToDatasetGroup` struct to represent the relationship between datasets and dataset groups, including fields for timestamps and optional deletion.
- Updated the database schema to include `updated_at` and `deleted_at` fields for the `datasets_to_dataset_groups` table, enhancing data tracking capabilities.
- Refactored the routing in `mod.rs` to include a nested router for assets, improving the organization of dataset group routes.

* invalidate query if user id is present

* create a dataset modal added to user page

* add team modal to teams

* assigned popup

* feat: Enhance user retrieval with dataset information

- Added new structs `DatasetLineage` and `DatasetInfo` to represent dataset details and lineage.
- Updated `UserResponse` to include a list of datasets associated with the user.
- Refactored `get_user_information` function to concurrently fetch user info, direct datasets, permission group datasets, and organization datasets using `tokio::spawn` for improved performance.
- Implemented logic to compile datasets based on direct access and permission group access, including lineage tracking for better data representation.
- Enhanced error handling during database queries to ensure robust user information retrieval.

* feat: Enhance dataset access retrieval in user and dataset overview

- Updated `get_dataset_overview` to include dataset group access and permission group to dataset group access, improving the granularity of dataset permissions.
- Introduced new queries to fetch dataset groups and their associated permissions, enhancing the dataset overview for users.
- Refactored `get_user_information` to concurrently retrieve dataset groups and permission group datasets, optimizing performance with `tokio::spawn`.
- Enhanced lineage tracking for datasets, allowing for better representation of user permissions across dataset groups and permission groups.
- Improved error handling during database queries to ensure robust data retrieval.

* lineage props passed

* refactor: Streamline dataset access logic in get_user_information

- Simplified access control logic for datasets based on user roles, consolidating conditions for WorkspaceAdmin, DataAdmin, Querier, Viewer, and RestrictedQuerier.
- Enhanced dataset lineage tracking to provide clearer representation of user permissions across various dataset access types.
- Removed redundant code related to dataset processing, improving readability and maintainability of the `get_user_information` function.
- Ensured that datasets are correctly categorized based on direct access, permission group access, and organization datasets, optimizing the overall data retrieval process.

* feat: Refactor dataset overview access lineage in get_dataset_overview

- Introduced a default access lineage for users, ensuring consistent representation of user permissions.
- Simplified the addition of user roles to the lineage, consolidating logic for WorkspaceAdmin, DataAdmin, Querier, and Viewer roles.
- Enhanced lineage tracking for RestrictedQuerier role to include direct dataset access and permission group lineage, improving granularity of dataset permissions.
- Removed redundant code related to dataset and permission group lineage, optimizing readability and maintainability of the `get_dataset_overview` function.

* add datasetgroup handler

* feat: Improve dataset access control and lineage tracking

- Enhanced the `get_dataset_overview` function to refine access control for the `RestrictedQuerier` role, allowing for more granular permission checks based on various access paths.
- Updated the `get_user_information` function to streamline dataset processing, ensuring that datasets are categorized correctly based on direct access and permission group access.
- Removed redundant code and improved readability by consolidating logic for user roles, enhancing maintainability of both functions.
- Improved lineage tracking for datasets, providing a clearer representation of user permissions across different access types.

* clickable pills

* fix build errors

* add endpoints for dataset groups, and permission groups

* refactor: Enhance dataset access control and lineage tracking

- Streamlined the `get_dataset_overview` function to improve access control for the `RestrictedQuerier` role, ensuring more precise permission checks.
- Updated the `get_user_information` function to optimize dataset processing, categorizing datasets based on direct access and permission group access.
- Removed redundant code and improved readability by consolidating logic for user roles, enhancing maintainability.
- Enhanced lineage tracking for datasets, providing a clearer representation of user permissions across different access types.

* better handling for create a permission group

* Refetch on team created for now

* add additional pages

* permission group modal update

* added pages for permission groups

* add user permission list

* add datasets to permission groups page

* Update dependencies and refactor Snowflake query handling

- Downgraded the `base64` crate version in `Cargo.toml` from `0.22.1` to `0.21`.
- Refactored the `snowflake_query` function in `snowflake_query.rs` to improve data type handling, including support for additional Arrow data types and enhanced null value checks.
- Updated the `route_to_query` function in `query_router.rs` to use mutable `snowflake_client` for better state management during query execution.
- Improved error handling for closing the Snowflake client session, ensuring proper logging of any issues encountered.

* add datasets to permission groups page

* Refactor Snowflake client connection to remove warehouse and database IDs

- Updated the `get_snowflake_client` function to no longer require `warehouse_id` and `database_id`, simplifying the connection process.
- This change enhances flexibility in client initialization and aligns with recent updates to Snowflake API handling.

* add permission groups lists

* add dataset group in permission group area

---------

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: dal <dallin@buster.so>
2025-01-22 11:25:06 -08:00
Nate Kelley 0e4f6e7f06
add dataset group in permission group area 2025-01-22 12:08:53 -07:00
Nate Kelley 0d132576d5
add permission groups lists 2025-01-22 11:06:05 -07:00
Nate Kelley aba1cef762
add datasets to permission groups page 2025-01-22 10:32:28 -07:00
Nate Kelley 2f47b45b41
add user permission list 2025-01-22 10:08:43 -07:00
Nate Kelley 30cb2a0ff5
added pages for permission groups 2025-01-21 20:26:09 -07:00
Nate Kelley f072b2c461
permission group modal update 2025-01-21 19:51:59 -07:00
Nate Kelley 3fdab95a7d
add additional pages 2025-01-21 17:16:56 -07:00
Nate Kelley ac6abab27d
Refetch on team created for now 2025-01-21 17:10:40 -07:00
Nate Kelley d64374789c
better handling for create a permission group 2025-01-21 17:07:45 -07:00
Nate Kelley 010b483e63
add endpoints for dataset groups, and permission groups 2025-01-21 16:38:41 -07:00
Nate Kelley 717a9c635e
fix build errors 2025-01-21 16:28:43 -07:00
Nate Kelley d9c72f2ac4
clickable pills 2025-01-21 16:14:15 -07:00
Nate Kelley 67bc9bf002
add datasetgroup handler 2025-01-21 16:08:22 -07:00
Nate Kelley 3293a02a0b
lineage props passed 2025-01-21 15:46:12 -07:00
Nate Kelley a9902d59bf
assigned popup 2025-01-21 13:39:57 -07:00
Nate Kelley 4399130016
add team modal to teams 2025-01-21 12:45:26 -07:00
Nate Kelley 61e928714e
create a dataset modal added to user page 2025-01-21 12:14:39 -07:00
Nate Kelley 2273892fad
invalidate query if user id is present 2025-01-21 12:01:33 -07:00
Nate Kelley 395b1773e0
Add attributes and teams 2025-01-21 11:50:05 -07:00
Nate Kelley 78ffb7f8c5
assigned permissions 2025-01-21 11:27:21 -07:00
Nate Kelley 5f73f3727f
add list for datasets 2025-01-21 11:23:48 -07:00
Nate Kelley dccd1ee345
add listing for dataset groups 2025-01-21 11:17:55 -07:00
Nate Kelley 0381c9b04a
add listing for dataset groups 2025-01-21 11:06:37 -07:00
Nate Kelley 1c94f2ffd2
create permission group users 2025-01-21 10:45:05 -07:00
Nate Kelley 2be23179e1
add list components for permission settings 2025-01-21 10:23:44 -07:00
Nate Kelley 72c2c22d20
move files to match new page structure 2025-01-20 21:05:23 -07:00
Nate Kelley 4c5315f332
create permission user endpoints 2025-01-20 20:31:43 -07:00
Nate Kelley 64ebeddb6e
onchagne appsegmetned update 2025-01-20 17:01:10 -07:00
Nate Kelley db4188a410
pass last child as index 2025-01-20 16:37:16 -07:00
Nate Kelley e1a23a0656
popup conatiner for users 2025-01-20 16:11:49 -07:00
Nate Kelley 5d8a3a3337
normalize header for list 2025-01-20 16:08:08 -07:00
Nate Kelley 1d93aff922
add component for users inputs 2025-01-20 15:34:09 -07:00
Nate Kelley 6ba6fd87dd
pass through dataset overview 2025-01-20 15:11:42 -07:00
Nate Kelley bca5055ca9
PRevent clicking passthrough on users click 2025-01-20 14:28:44 -07:00
Nate Kelley fe723a40d3
on change update for segments 2025-01-20 14:26:10 -07:00
Nate Kelley acafc5a025
Merge branch 'staging' into dallin/bus-920-feature-finish-rest-of-permissions 2025-01-20 14:14:11 -07:00
Nate Kelley 177b9cf9eb
add cursor rules for web directory + jest (#52) 2025-01-20 13:11:35 -08:00
Nate Kelley 7408b72f0c
start user dataset lineage
Co-Authored-By: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-01-17 22:08:21 -07:00
Nate Kelley 165a0e0bad
infinite list component
Co-Authored-By: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-01-17 21:47:29 -07:00
Nate Kelley aad1eb6968
change how padding is applied to list
Co-Authored-By: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-01-17 21:10:49 -07:00