Skip to content
Open
Show file tree
Hide file tree
Changes from 114 commits
Commits
Show all changes
125 commits
Select commit Hold shift + click to select a range
62b7b6b
chore(env): setup env vars for chatbot
Alejandro-Vega Dec 19, 2025
9174a1b
chore(types): add chatbot related types
Alejandro-Vega Dec 19, 2025
7a8fae8
init: chat config
Alejandro-Vega Dec 19, 2025
7c03aa3
chore(api): add knowledge base API call
Alejandro-Vega Dec 19, 2025
d189ae1
init: utils used for chatbot
Alejandro-Vega Dec 19, 2025
c536864
init: chat input for sending messages
Alejandro-Vega Dec 19, 2025
589db01
init: chat panel containing messages
Alejandro-Vega Dec 19, 2025
52a0ed8
init: chatbot view with floating button and drawer
Alejandro-Vega Dec 22, 2025
8cc05d6
store sessionId in session storage when available
Alejandro-Vega Dec 22, 2025
792a20c
fix: documentation
Alejandro-Vega Dec 22, 2025
f229a2f
hard-code knowledge base URL for testing
Alejandro-Vega Dec 22, 2025
c3d449c
add end conversation overlay
Alejandro-Vega Dec 22, 2025
853c322
fix: margin to use px instead
Alejandro-Vega Dec 22, 2025
5da9c47
fix: remove export on props
Alejandro-Vega Dec 22, 2025
3b43925
fix: fallback for env variable
Alejandro-Vega Dec 22, 2025
407a12a
fix: whitespace formatting
Alejandro-Vega Jan 5, 2026
dfc90ac
chore(storybook): add basic storybook support for ChatBotView
Alejandro-Vega Jan 11, 2026
2e670d0
chore(storybook): add basic storybook support for FloatingChatButton
Alejandro-Vega Jan 11, 2026
3c835e5
fix: update to support streamed/chunked responses
Alejandro-Vega Jan 11, 2026
9813417
chore(tests): add test coverage for knowledgebase API call and streaming
Alejandro-Vega Jan 11, 2026
7fdcc3f
add session storage utility helpers
Alejandro-Vega Jan 11, 2026
65aa4c9
chore(tests): add test coverage for the session storage utilities
Alejandro-Vega Jan 11, 2026
226d1b2
fix: text not breaking properly
Alejandro-Vega Jan 11, 2026
2d9f8f8
chore(tests): add test coverage for ChatBot Controller
Alejandro-Vega Jan 11, 2026
daeed76
fix: import name
Alejandro-Vega Jan 11, 2026
c89e2a2
migrate to new askQuestion function with streamed results
Alejandro-Vega Jan 11, 2026
9db6672
fix: reduce prop-drilling and replace with contexts
Alejandro-Vega Jan 11, 2026
3112779
fix: add id to chat message
Alejandro-Vega Jan 11, 2026
2e3475d
refactor: hide floating button when chat drawer is open
Alejandro-Vega Jan 11, 2026
236c523
fix: remove screen usage in tests
Alejandro-Vega Jan 12, 2026
c75c146
chore(tests): add test coverage for ChatComposer
Alejandro-Vega Jan 12, 2026
46a3616
fix: test imports
Alejandro-Vega Jan 12, 2026
35134d0
chore(tests): add test coverage for BotTypingIndicator
Alejandro-Vega Jan 12, 2026
4d8654e
chore(tests): add test coverage for ChatMessageItem
Alejandro-Vega Jan 12, 2026
281e063
chore(tests): add test coverage for MessageList
Alejandro-Vega Jan 12, 2026
3f18e75
move chatConfig into config folder and update imports
Alejandro-Vega Jan 12, 2026
526217f
chore(tests): add test coverage for ChatBotView
Alejandro-Vega Jan 12, 2026
869d2cb
fix: show floating button when drawer is minimized
Alejandro-Vega Jan 12, 2026
ef79b79
chore(tests): add test coverage for ChatBot
Alejandro-Vega Jan 12, 2026
3eea272
chore(tests): add test to show floaing button when chat drawer is min…
Alejandro-Vega Jan 12, 2026
ced34f0
chore(tests): add test coverage for ChatDrawer
Alejandro-Vega Jan 12, 2026
da59e84
chore(tests): add test coverage for ChatPanel
Alejandro-Vega Jan 12, 2026
1f84b02
chore(tests): add test coverage for FloatingChatButton
Alejandro-Vega Jan 12, 2026
b65c884
chore(tests): added test coverage for chatUtils
Alejandro-Vega Jan 12, 2026
3755146
fix: output text structure
Alejandro-Vega Jan 12, 2026
115d0bf
fix: scroll to bottom as chunks are loading in
Alejandro-Vega Jan 12, 2026
6618480
fix: hide page scrollbar when fullscreen
Alejandro-Vega Jan 12, 2026
6b4a08b
chore(dep): add remark-gfm to support more markdown customization lik…
Alejandro-Vega Jan 12, 2026
8e4d032
add support for react-markdown for bot responses
Alejandro-Vega Jan 12, 2026
4e45b3b
fix: scale content when fullscreen
Alejandro-Vega Jan 12, 2026
56ab4d5
fix: add test coverage for fullscreen styling
Alejandro-Vega Jan 12, 2026
8adfe80
Merge branch '3.6.0' of https://github.com/CBIIT/crdc-datahub-ui into…
Alejandro-Vega Jan 12, 2026
b6dea67
fix: add chat conversation to context to maintain state after unmounting
Alejandro-Vega Jan 12, 2026
7855409
fix: fallback endpoint URL
Alejandro-Vega Jan 12, 2026
a7820b7
fix: fallback if no endpoint URL
Alejandro-Vega Jan 12, 2026
c6be7d5
fix: conversation reset
Alejandro-Vega Jan 12, 2026
1d7837c
chore(tests): add test coverage for ChatBotContext
Alejandro-Vega Jan 13, 2026
67457dd
fix: imports to use test-utils
Alejandro-Vega Jan 13, 2026
52411ac
chore(tests): add test coverage for useChatConversation
Alejandro-Vega Jan 13, 2026
6328063
chore(tests): add test coverage for ChatDrawerContext
Alejandro-Vega Jan 13, 2026
10fc9ec
chore(tests): add test coverage for useChatDrawer
Alejandro-Vega Jan 13, 2026
f05f2fd
fix: add missing coverage
Alejandro-Vega Jan 13, 2026
b549f05
fix: remove test reply provider
Alejandro-Vega Jan 13, 2026
2b969c0
fix: combine useChatConversation hook into the context
Alejandro-Vega Jan 13, 2026
214071e
refactor: clean up askQuestion function and add additional test coverage
Alejandro-Vega Jan 13, 2026
898b091
refactor: general cleanup and documentation
Alejandro-Vega Jan 13, 2026
b54a874
fix: add typewriter delay to create typing effect
Alejandro-Vega Jan 13, 2026
dc789c2
fix: links to open in a new tab
Alejandro-Vega Jan 13, 2026
0c3df29
temp: added draggable horizontal to experiment
Alejandro-Vega Jan 13, 2026
427c486
fix: minimize not maintaing scroll position due to unmounting
Alejandro-Vega Jan 13, 2026
b25bffd
include citations at the bottom of bot chat message if they exist
Alejandro-Vega Jan 13, 2026
982b666
add copy to clipboard button to pre > code elements
Alejandro-Vega Jan 13, 2026
c8d8e82
fix: comment typo
Alejandro-Vega Jan 13, 2026
7930b76
fix: prevent typewriter effect when signal is aborted
Alejandro-Vega Jan 13, 2026
1a52f60
Merge branch '3.6.0' into CRDCDH-3398
amattu2 Jan 14, 2026
e70cca3
chore(config): change support bot name
Alejandro-Vega Jan 16, 2026
b4f42e2
chore(wording): update welcome message and date format
Alejandro-Vega Jan 16, 2026
cb18f65
chore(styling): adjust positioning of floating button
Alejandro-Vega Jan 16, 2026
b420d1f
chore(styling): adjust support bot bubble styling
Alejandro-Vega Jan 16, 2026
b1f4b9f
chore(styling): add background to copy-to-clipboard button due to ove…
Alejandro-Vega Jan 16, 2026
f13362f
fix: vertically align copy button to first text line
Alejandro-Vega Jan 16, 2026
234d5ce
fix: alignment of copy button
Alejandro-Vega Jan 16, 2026
ad28bd9
fix: failing tests due to changes
Alejandro-Vega Jan 16, 2026
0a876a0
fix: adjust error/info colors to work with transparent bubbles
Alejandro-Vega Jan 16, 2026
6acc0e7
fix: styling/spacing of bubbles
Alejandro-Vega Jan 16, 2026
2838b94
fix: failing tests
Alejandro-Vega Jan 16, 2026
7dff67d
Merge branch '3.6.0' into CRDCDH-3398
amattu2 Jan 20, 2026
d07f5a5
Merge branch '3.6.0' into CRDCDH-3398
amattu2 Jan 22, 2026
0113a48
Merge branch '3.6.0' into CRDCDH-3398
amattu2 Jan 29, 2026
90750e8
Merge branch '3.6.0' into CRDCDH-3398
Alejandro-Vega Feb 5, 2026
ff2606a
Merge branch '3.6.0' into CRDCDH-3398
Alejandro-Vega Feb 11, 2026
3ed04f8
Merge branch '3.6.0' into CRDCDH-3398
amattu2 Feb 17, 2026
b046948
Merge branch '3.6.0' into CRDCDH-3398
Alejandro-Vega Feb 17, 2026
193a3c9
refactor: remove unused function
Alejandro-Vega Feb 17, 2026
be52f29
chore(types): add type for conversation history
Alejandro-Vega Feb 17, 2026
6dce670
add conversation history to chatbot
Alejandro-Vega Feb 17, 2026
7560dcd
add factory for chat message
Alejandro-Vega Feb 23, 2026
615f2d3
add IDB storage utils
Alejandro-Vega Feb 23, 2026
36f3167
add IDB storage/retrieval to chatbot
Alejandro-Vega Feb 23, 2026
9dbcb61
fix: property undefined
Alejandro-Vega Feb 23, 2026
6fe25f6
Merge pull request #950 from CBIIT/CRDCDH-3516
Alejandro-Vega Feb 23, 2026
e6d3434
Merge branch '3.6.0' into CRDCDH-3398
Alejandro-Vega Feb 23, 2026
5c211b5
chore(assets): add chatbot icons
Alejandro-Vega Feb 27, 2026
3975c8f
chore(config): adjust the chatbot config
Alejandro-Vega Feb 27, 2026
04fd0b6
created chatbot logo reusable component
Alejandro-Vega Feb 27, 2026
48574cb
update bot typing indicator to logo + spinner
Alejandro-Vega Feb 27, 2026
7cbecfb
remove duplicate default value
Alejandro-Vega Feb 27, 2026
ee5c334
implement redesign of chatbot
Alejandro-Vega Feb 27, 2026
2bd2739
add move chatbot's position logic
Alejandro-Vega Feb 27, 2026
e12986f
fix: alignment of default questions
Alejandro-Vega Feb 27, 2026
72bdd43
fix: improve chatbot dragging performance
Alejandro-Vega Feb 27, 2026
23f8c3e
fix: border radius for default view
Alejandro-Vega Feb 27, 2026
2d7162f
Merge pull request #951 from CBIIT/CRDCDH-3519
Alejandro-Vega Mar 5, 2026
5085e1e
Merge branch '3.6.0' into CRDCDH-3398
Alejandro-Vega Mar 5, 2026
ff6c386
Merge branch '3.6.0' into CRDCDH-3398
amattu2 Mar 10, 2026
29ad8c9
Merge branch '3.6.0' into CRDCDH-3398
Alejandro-Vega Mar 11, 2026
7c5524f
Merge branch '3.6.0' into CRDCDH-3398
amattu2 Mar 12, 2026
75cf12e
migrate dragging and resizing to react-rnd
Alejandro-Vega Mar 13, 2026
f64132d
fix: replace chatbot env vars with VITE_CHATBOT_API_BASE_URL
Alejandro-Vega Mar 13, 2026
07c886e
fix: certain content overlapping over chat input
Alejandro-Vega Mar 13, 2026
cca1994
chore(config): define chat conversation constraints
Alejandro-Vega Mar 13, 2026
56f2c0d
limit conversation history size
Alejandro-Vega Mar 13, 2026
24e6eaf
support new event structured responses
Alejandro-Vega Mar 13, 2026
99d4484
update nginx docs
Alejandro-Vega Mar 13, 2026
12ff424
fix: failing tests due to log text change
Alejandro-Vega Mar 13, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,7 @@ VITE_GA_TRACKING_ID=""

# Optional - Extend test debug print limit
# DEBUG_PRINT_LIMIT=200000

# Optional - ChatBot Config
VITE_CHATBOT_ENABLED=true
VITE_KNOWLEDGE_BASE_URL="";
2 changes: 2 additions & 0 deletions conf/inject.template.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,6 @@ window.injectedEnv = {
VITE_UPLOADER_CLI_MAC_X64: "${REACT_APP_UPLOADER_CLI_MAC_X64}",
VITE_UPLOADER_CLI_MAC_ARM: "${REACT_APP_UPLOADER_CLI_MAC_ARM}",
VITE_HIDDEN_MODELS: "${HIDDEN_MODELS}",
VITE_CHATBOT_ENABLED: "${REACT_APP_CHATBOT_ENABLED}",
VITE_KNOWLEDGE_BASE_URL: "${REACT_APP_KNOWLEDGE_BASE_URL}",
};
294 changes: 294 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"react-transition-group": "^4.4.5",
"recharts": "^2.12.0",
"redux": "^4.2.1",
"remark-gfm": "^4.0.1",
"uuid": "^11.1.0",
"vite": "^6.3.5",
"vite-plugin-svgr": "^4.3.0",
Expand Down
2 changes: 2 additions & 0 deletions public/js/injectEnv.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,6 @@ window.injectedEnv = {
VITE_FE_VERSION: "",
VITE_BACKEND_API: "",
VITE_HIDDEN_MODELS: "",
VITE_CHATBOT_ENABLED: null,
VITE_KNOWLEDGE_BASE_URL: "",
};
Loading
Loading