Skip to content
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

Task 3 updates [New components from chat interface, Discovery Library UI changes from figma update] #135

Open
wants to merge 24 commits into
base: develop
Choose a base branch
from

Conversation

mickey4653
Copy link

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Ticket:

Type of change

Chat History:

  • Design and implemented Chat history UI
  • handled the backend logic for chat history
  • implemented timestamps and reopen functionality
  • renamed chat to new chat button

Default Prompts:

  • developed logic for generating defaults prompts
  • Designed and implemented defaults prompts UI components
  • integrated defaults Prompts UI with chat interface

Quick Actions:

  • Implemented efficiency state management for setting the pop up state for quick action button, setting button text and color
  • added more quick action sub buttons
  • Remove close icon. It wasn’t needed as suggested by Billy
  • Added padding between quick action button text and icon
  • Added disabled state and made button text dynamic.
  • fixed pop up quick action buttons responsiveness

Discovery Library UI:

  • created a discovery library
  • Design and integrated Discovery Library UI
  • added images to custom prompts
  • git changes from surbhi (discovery button)
  • added user dynamic state when user logs in
  • fixed and made sure discovery button is centered
  • fixed eslint formatting

How Has This Been Tested?

Here's link to the video:
https://jam.dev/c/8c9466a6-7df6-4043-a05d-412c05a04b13

Mezwer and others added 20 commits June 28, 2024 19:58
minor style changes
- padding at the top of chat ChatHistory
- made button highlight extend to timestamp
- changed chat history button
- gave outline to default prompts & corrected behavior
- prototpye of new chat button
- merged quick button actions
- merged discovery library
- slight style changes to discovery library
- default prompts are uniform size
- default prompt text hovers purple
- minor code style changes
	- made custom prompts to start a new conversation
	- adjusted prompt changes
	- created a render function for custom prompt
	- added custom prompt display message on chat interface
	- fixed eslint errors
	- fixed quick action buttons to send action to chat input
	- Merged all changes
	- All Task completed for Epic 5: Kai Chat
Copy link
Contributor

@bkb-Git bkb-Git left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks mostly good, just left a couple of comments that need to be resolved!

.firebaserc Outdated Show resolved Hide resolved
.firebaserc Outdated Show resolved Hide resolved
.github/workflows/firebase-hosting-merge.yml Outdated Show resolved Hide resolved
.github/workflows/firebase-hosting-merge.yml Outdated Show resolved Hide resolved
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's clean up this component by abstracting each part of it into their own respective components and importing them here. This size of this component is too large

package.json Outdated Show resolved Hide resolved
frontend/package.json Outdated Show resolved Hide resolved
.gitignore Outdated Show resolved Hide resolved
	- removed project name
	- undo project target name
	- removed comments  from firebase hosting
	- moved fetchChathistory function into service folder
	- removed react import statement
	- made categorized prompts into constants folder
	- removed date-fns package from frontend/packge.json
	- made use of the moment library
	- removed some specified files defined in .gitignore file
	- build output for node modules was put back in .gitignore file
	- made some PR review changes
	- adjusted the discovery library to match latest figma file
@mickey4653 mickey4653 changed the title Task 3 updates [Chat History, Quick Action, Default Prompts, Discovery Library UI] Task 3 updates [New components from chat interface, Discovery Library UI changes from figma update] Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants