-
Notifications
You must be signed in to change notification settings - Fork 11.1k
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
[FIX] Misaligned username on Room Info card for omnichannel chats #25331
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.
@murtaza98 I strongly recommend you replace UserCard.Username
where Omnichannel is using it incorrectly:
apps/meteor/client/views/omnichannel/directory/calls/contextualBar/VoipInfo.tsx
apps/meteor/client/views/omnichannel/directory/chats/contextualBar/AgentField.js
apps/meteor/client/views/omnichannel/directory/chats/contextualBar/ContactField.js
apps/meteor/client/views/omnichannel/directory/contacts/contextualBar/ContactInfo.js
apps/meteor/ee/client/omnichannel/ContactManagerInfo.js
Hey, @dougfabris Thanks for the review!! I've made the changes you requested. Do you mind taking a look at it again? |
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.
@murtaza98 UserCard.Username
should be used only inside UserCard
😢
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.
UserCard.Username
is a component developed and meant to be used inside UserCard
this usage is wrong and there is no guarantee that tomorrow we wont change/remove or do whatever we want without consider outside usages
[FIX] ;) |
6022fe0
to
64003cf
Compare
Thanks for the review guys. I've now removed the usage of |
64003cf
to
b5e4dd9
Compare
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 still missing the replacement on this file: apps/meteor/client/views/omnichannel/directory/calls/contextualBar/VoipInfo.tsx
apps/meteor/client/components/Omnichannel/AgentOrContactCardUsername.tsx
Outdated
Show resolved
Hide resolved
…user-card definitions
Requested changes done. Thanks Douglas :)
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.
There is no card at this component, the component name is weird
Yeah, I agree since this isn't a card. I have removed it now. Thanks :) |
So this was a fix after all 😂 |
Proposed changes (including videos or screenshots)
Issue(s)
Steps to test or reproduce
Further comments