-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update the UI #4
Comments
It could be good to test out replacing the LAMA AI gifs/images/styles with something more similar to HCL. That way we can track the assets and which CSS styles to edit to change the look of the app. |
Can use this tutorial for this purpose: https://www.youtube.com/watch?v=qwM23_kF4v4&t=190s |
Added HCLTech icon at the top of the browser, changed the title of the tab to Custom Gen AI Chatbot #4
….jsx Could potentially use some other icon if better one is found, looks like the same icon in the tab #4
Make the right background image more opaque, move text to next line #4
Edit text/images to make them look more like our own #4
Change some text/icons/styles, add disclaimer #4
Adjust overflow to overflow-y in the CSS for both the ChatList and ChatPage #4
Adjust the width of the left menu #4
Need to fix later, create issue for this #4
Edit to match the new chat "Please enter your prompt" #4
Fix it back to its original state #4
Moved to top post |
Made the chat box in DashboardPage align with what is seen in ChatPage. Previously, they were not matching and it looked odd going from one to the other. #4
The scrollbar-gutter trick works in shifting the contents, but the chat box in DashboardPage is shortened from the right which looks bad. #4
Tried a trick from https://www.youtube.com/shorts/mg49F9qUs38, but it doesn't fix the scrollbar shifting issue completely.
This helps to move content to the left by default, but for some reason the chat box is also squished from the right in the DashboardPage. Edit: Was able to combine this with position: sticky and width: 100% to get it to work in a17b2f9. Edit 2: Not complete fixed yet. Edit 3: Used the following to fix the width issue combined with
seen in bc7fb3d |
Used the scrollbar-gutter fix in dashboardPage.css, combined with changing position to sticky and width to 100% in .newForm and form respectively. #4
Made additional changes to ensure that the position of the chat box remains correct also #4
Matches the style of ChatGPT, avoids showing text behind the chat box which is not meaningful #4
Make the background color match the surrounding color (not exactly black), raise the chat box higher #4
The chat now properly highlights code with the correct syntax and provides a copy button #4
This increases the width, but the behavior of the text bubbles has gotten a bit messy. That needs to be cleaned up. #4
Still not perfect solution, moved around the padding-bottom: 100px in the different CSS files, but when the bot is populating the next bubbles it still squeezes to the right. #4
Still not able to get the bubbles to render correctly. Seems like they are having issues while streaming and not rendering right. #4
Fix the bubbles so they behave correctly when sending new messages. Centered newPromptContainer: By applying justify-content: center and align-items: center, it ensures that the entire container is centered, while the chat messages maintain their alignment (user on the right, bot on the left). Flexible width: Let the message bubbles take up their natural width without forcing the container to shift, while keeping them inside the main chat window. #4
This makes it so that the cursor returns to the chatbox after submitting a prompt #4
Remove old commented out code #4
The streaming text now also gets the syntax highlighting with ReactMarkdown #4
Reference for syntax highlighting: https://medium.com/@lobocroidy/creating-a-code-block-with-syntax-highlighting-and-copy-button-using-react-and-typescript-c69be2061d73 |
Remove alert that tells user the message has been copied #4
Working on trying to get the time on the chat history #4
Added highlight when clicking copy for the syntax code #4
Edit the UI so that it just says Gen AI Chatbot rather than Custom Gen AI Chatbot #4
Update the linear gradient for dashboardPage.css and homepage.css to utilize HCLTech's purple-blue colors for the linear gradient #4
To do:
The text was updated successfully, but these errors were encountered: