-
Notifications
You must be signed in to change notification settings - Fork 3
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
Add User Tagging in Chat + Only Human Perception Response #343
base: dev
Are you sure you want to change the base?
Conversation
…etAI/monorepo into tag-agent-in-chat-message
…-agent-in-chat-message
…, remove anonymouse check
Add auto-completer for name completion with "tab" key.
apps/chat/components/prompt-form.tsx
Outdated
@@ -21,6 +21,49 @@ import { Icon } from 'ucom'; | |||
import { createPcmF32MicrophoneSource } from 'codecs/audio-client.mjs'; | |||
import { createVideoSource } from '@upstreet/multiplayer/public/video/video-client.mjs'; | |||
import { ensureAudioContext } from '@/lib/audio/audio-context-output'; | |||
import { MentionsInput, Mention } from 'react-mentions'; | |||
|
|||
const mentionsInputStyle = { |
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.
For consistency, is there an easy way to do this with tailwind classes (which we are using everywhere else) instead of an inline style object?
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.
I've refactored the styling to use tailwind classes although still had to use some custom css for the elements being used by the react-mentions package:
8341082
…-mention-support-to-FE-SDK
Integrates: