-
Notifications
You must be signed in to change notification settings - Fork 1
Enhance chat functionality with URL and GIF handling #191
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 31 out of 42 changed files in this pull request and generated 1 comment.
Files not reviewed (11)
- chathaven/architecture/api_diagram.puml: Language not supported
- chathaven/architecture/class_diagram.puml: Language not supported
- chathaven/architecture/overall_architecture_sequence_diagram.puml: Language not supported
- chathaven/frontend/package.json: Language not supported
- chathaven/frontend/src/app/components/chat/chat.component.css: Language not supported
- chathaven/frontend/src/app/components/chat/chat.component.html: Language not supported
- chathaven/frontend/src/app/components/chat/component/channelSideBar/channelSideBar.component.css: Language not supported
- chathaven/frontend/src/app/components/chat/component/channelSideBar/channelSideBar.component.html: Language not supported
- chathaven/frontend/src/app/components/chat/component/chatLog/chatLog.component.css: Language not supported
- chathaven/frontend/src/app/components/chat/component/chatLog/chatLog.component.html: Language not supported
- chathaven/frontend/src/app/components/chat/component/informationSideBar/informationSideBar.component.css: Language not supported
Comments suppressed due to low confidence (2)
chathaven/backend/src/controllers/urlPreviewController.ts:34
- Ensure that the Node.js environment supports the global fetch API or consider importing a fetch polyfill, as the import is commented out.
const response = await fetch(apiUrl);
chathaven/frontend/src/app/components/chat/component/chatLog/chatLog.module.ts:6
- [nitpick] Add a space before the closing brace for consistency, e.g., change to "{ QuickMessagesComponent }".
import { QuickMessagesComponent} from '../../dialogue/quick-messages/quick-messages.component';
chathaven/frontend/src/app/components/chat/component/chatLog/chatLog.component.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 31 out of 42 changed files in this pull request and generated 1 comment.
Files not reviewed (11)
- chathaven/architecture/api_diagram.puml: Language not supported
- chathaven/architecture/class_diagram.puml: Language not supported
- chathaven/architecture/overall_architecture_sequence_diagram.puml: Language not supported
- chathaven/frontend/package.json: Language not supported
- chathaven/frontend/src/app/components/chat/chat.component.css: Language not supported
- chathaven/frontend/src/app/components/chat/chat.component.html: Language not supported
- chathaven/frontend/src/app/components/chat/component/channelSideBar/channelSideBar.component.css: Language not supported
- chathaven/frontend/src/app/components/chat/component/channelSideBar/channelSideBar.component.html: Language not supported
- chathaven/frontend/src/app/components/chat/component/chatLog/chatLog.component.css: Language not supported
- chathaven/frontend/src/app/components/chat/component/chatLog/chatLog.component.html: Language not supported
- chathaven/frontend/src/app/components/chat/component/informationSideBar/informationSideBar.component.css: Language not supported
Comments suppressed due to low confidence (1)
chathaven/frontend/src/app/components/chat/chat.component.ts:92
- Removing the resize event listener using a new bound function instance may fail to deregister the original listener. Consider storing the bound function in a variable and using that same reference in both addEventListener and removeEventListener.
window.removeEventListener('resize', this.handleResize.bind(this));
chathaven/frontend/src/app/components/chat/component/chatLog/chatLog.component.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 31 out of 42 changed files in this pull request and generated 2 comments.
Files not reviewed (11)
- chathaven/architecture/api_diagram.puml: Language not supported
- chathaven/architecture/class_diagram.puml: Language not supported
- chathaven/architecture/overall_architecture_sequence_diagram.puml: Language not supported
- chathaven/frontend/package.json: Language not supported
- chathaven/frontend/src/app/components/chat/chat.component.css: Language not supported
- chathaven/frontend/src/app/components/chat/chat.component.html: Language not supported
- chathaven/frontend/src/app/components/chat/component/channelSideBar/channelSideBar.component.css: Language not supported
- chathaven/frontend/src/app/components/chat/component/channelSideBar/channelSideBar.component.html: Language not supported
- chathaven/frontend/src/app/components/chat/component/chatLog/chatLog.component.css: Language not supported
- chathaven/frontend/src/app/components/chat/component/chatLog/chatLog.component.html: Language not supported
- chathaven/frontend/src/app/components/chat/component/informationSideBar/informationSideBar.component.css: Language not supported
Comments suppressed due to low confidence (1)
chathaven/backend/src/controllers/urlPreviewController.ts:34
- Ensure that the runtime environment supports the global fetch API or consider importing a polyfill such as 'node-fetch' if needed.
const response = await fetch(apiUrl);
chathaven/frontend/src/app/components/chat/component/chatLog/chatLog.module.ts
Show resolved
Hide resolved
… cleared before loading new ones
--> auto-login after registration now sends required fields instead of all fields found in sign-up form
…ature # Conflicts: # chathaven/backend/package-lock.json
|
login and signup are fixed again! |
annniiieee
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job on fixing the bug guys! Really enhances the user experience!
Pull Request: Enhance Chat Features – URLs, GIFs, Previews, and More
Summary
This pull request includes several updates to improve the chat experience, with a focus on media handling, message parsing, UI updates, and usability enhancements.
Key Changes
URL Handling and Link Previews
GIF Support
Quick Messages
Message Search
Sidebar Enhancements
UI and Styling Updates
Bug Fixes
Code and Dependency Updates
ngx-linkifyjsand OpenAI.Documentation
Contributors
@TheLonelyOtaku315@likeblossom@francesca-sison