-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iniital set up for project specific chat ui for MICA
- Loading branch information
Showing
28 changed files
with
163 additions
and
204 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
{ | ||
"files": { | ||
"main.css": "/static/css/main.afb79ba4.css", | ||
"main.js": "/static/js/main.9208706f.js", | ||
"main.css": "/static/css/main.da89d019.css", | ||
"main.js": "/static/js/main.05320a56.js", | ||
"static/js/488.5c64e536.chunk.js": "/static/js/488.5c64e536.chunk.js", | ||
"service-worker.js": "/service-worker.js", | ||
"index.html": "/index.html", | ||
"main.afb79ba4.css.map": "/static/css/main.afb79ba4.css.map", | ||
"main.9208706f.js.map": "/static/js/main.9208706f.js.map", | ||
"main.da89d019.css.map": "/static/css/main.da89d019.css.map", | ||
"main.05320a56.js.map": "/static/js/main.05320a56.js.map", | ||
"488.5c64e536.chunk.js.map": "/static/js/488.5c64e536.chunk.js.map" | ||
}, | ||
"entrypoints": [ | ||
"static/css/main.afb79ba4.css", | ||
"static/js/main.9208706f.js" | ||
"static/css/main.da89d019.css", | ||
"static/js/main.05320a56.js" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><script src="https://cdn.jsdelivr.net/npm/react-bootstrap@next/dist/react-bootstrap.min.js" crossorigin></script><title>REDCap Chat GPT Powered Support Chatbot</title><script defer="defer" src="/static/js/main.9208706f.js"></script><link href="/static/css/main.afb79ba4.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"></body></html> | ||
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><script src="https://cdn.jsdelivr.net/npm/react-bootstrap@next/dist/react-bootstrap.min.js" crossorigin></script><title>REDCap Chat GPT Powered Support Chatbot</title><script defer="defer" src="/static/js/main.05320a56.js"></script><link href="/static/css/main.da89d019.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"></body></html> |
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
File renamed without changes.
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,113 +1,49 @@ | ||
.container { | ||
max-width:initial; | ||
} | ||
|
||
#chatbot_ui_container { | ||
position: fixed; /* Cover the entire viewport */ | ||
position: fixed; | ||
top: 0; | ||
left: 0; | ||
width: 100vw; | ||
height: 100vh; | ||
z-index: 9999; | ||
pointer-events: none; /* Allow clicks to pass through */ | ||
} | ||
|
||
.draggable-container { | ||
position: absolute; | ||
bottom: 30px; /* Initial position */ | ||
right: 30px; /* Initial position */ | ||
pointer-events: auto; /* Make this element interactive */ | ||
transition: box-shadow 0.2s ease-in-out; /* Smooth transition for shadow */ | ||
pointer-events: auto; /* Make the entire container interactive */ | ||
display: flex; | ||
flex-direction: column; | ||
background-color:#E6E7ED; | ||
} | ||
|
||
.draggable-container.splash { | ||
width: 100px; /* Size of the splash icon */ | ||
height: 100px; | ||
background: none; | ||
border: none; | ||
} | ||
|
||
.draggable-container.home, | ||
.draggable-container.history { | ||
background: #2C2C2C; /* Assuming you want the same background */ | ||
border-radius: 10px; | ||
border: 1px solid #999; | ||
max-height: 80vh; /* Adjust this as necessary */ | ||
.full-screen-container { | ||
width: 100%; | ||
height: 100%; | ||
display: flex; | ||
flex-direction: column; | ||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Adding shadow for depth */ | ||
} | ||
|
||
.handle { | ||
cursor: move; /* Indicate draggable area */ | ||
background: #2C2C2C; /* Assuming you want the same background */ | ||
} | ||
|
||
.App { | ||
width: auto; /* Make .App fill the container */ | ||
height: auto; /* Adjust height as necessary, or make it auto based on content */ | ||
.full-screen-container.splash { | ||
background: none; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
} | ||
|
||
.content { | ||
flex: 1; | ||
overflow: hidden; /* Prevent overflow from the content */ | ||
overflow: hidden; | ||
display: flex; | ||
flex-direction: column; | ||
height: calc(98% - 60px); /* Account for the footer height */ | ||
} | ||
|
||
.body { | ||
flex: 1; | ||
overflow-y: auto; /* Allow vertical scrolling */ | ||
overflow-y: auto; | ||
} | ||
|
||
.messages { | ||
height: 100%; /* Full height for messages */ | ||
height: 100%; | ||
overflow-y: scroll; | ||
padding-bottom: 50px; | ||
} | ||
|
||
.react-resizable { | ||
transition: width 0.3s ease, height 0.3s ease; /* Adjust the duration and easing as needed */ | ||
} | ||
|
||
.react-resizable-box { | ||
position: relative; | ||
} | ||
|
||
.react-resizable-handle { | ||
width: 20px; | ||
height: 20px; | ||
position: absolute; | ||
bottom: 0; | ||
right: 0; | ||
cursor: nwse-resize; | ||
z-index: 10; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
background: rgba(200, 200, 200, 0.5); /* Lighter, more subtle gray */ | ||
border-radius: 10px 0 10px 0; /* Match the rounded corner */ | ||
} | ||
|
||
.react-resizable-handle::before { | ||
content: "\f0c9"; /* Font Awesome icon for 'bars' */ | ||
font-family: "Font Awesome 5 Free"; | ||
font-weight: 900; | ||
font-size: 12px; | ||
color: #777; | ||
transform: translate(2px, 2px); /* Adjust position */ | ||
} | ||
|
||
|
||
@media (prefers-reduced-motion: no-preference) { | ||
.App-logo { | ||
animation: App-logo-spin infinite 20s linear; | ||
} | ||
} | ||
|
||
@keyframes App-logo-spin { | ||
from { | ||
transform: rotate(0deg); | ||
} | ||
to { | ||
transform: rotate(360deg); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.