-
Notifications
You must be signed in to change notification settings - Fork 40
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
ISSUE #5309 - Views in tickets comments UI #5447
base: ISSUE_5326
Are you sure you want to change the base?
Conversation
…clicking saved comment view
…multi image extending out of component
…tion. Cleared comment box viewpoint on submit
@@ -17,10 +17,11 @@ | |||
|
|||
type IProps = { | |||
className?: any; | |||
onClick?: () => void; |
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.
author, | ||
images = [], | ||
metadata, | ||
isCurrentUserComment = true, | ||
hasMessage, | ||
onUploadImages, | ||
onDeleteImage, | ||
onEditImage, |
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.
You can also remove these from the props type and propagate it to the parent component
deleteCommentReply={() => setCommentReply(null)} | ||
/> | ||
)} | ||
{!readOnly && <CreateCommentBox metadata={commentReply} />} |
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.
If I click on "reply to comment", then delete the reply, then hit again "reply to comment", the reply is not visible.
This is only true if I do so on the same comment (I try to reply to)
oggi.mp4
...rc/v5/ui/routes/viewer/tickets/ticketsForm/commentsPanel/commentBox/commentBox.component.tsx
Show resolved
Hide resolved
}; | ||
|
||
export default ({ className }: IProps) => ( | ||
<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg" className={className}> | ||
export default (props: IProps) => ( |
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's some differences in the UI for "create comment box". Like the position of the "send message" has changed as well as the initial height and padding of the textarea. Ignore this message if this was part of the new mock up
This fixes #5309
Description
Test cases