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

노트 자세히 보기 화면에서 답글 작성폼 클릭시 작성중이던 답글이 초기화됨 #410

Closed
1 task
kdh8219 opened this issue Jan 15, 2024 · 1 comment

Comments

@kdh8219
Copy link

kdh8219 commented Jan 15, 2024

💡 Summary

답글에 맨션이 붙는 답글을 노트 자세히 보기 화면에 작성할 때 작성폼 클릭시 답글이 초기화됩니다

🥰 Expected Behavior

if (props.reply && (props.reply.user.username !== $i.username || (props.reply.user.host != null && props.reply.user.host !== host))) {
text.value = `@${props.reply.user.username}${props.reply.user.host != null ? '@' + toASCII(props.reply.user.host) : ''} `;
}

답글폼에 내용이 있을시 작동하지 않아야 함.

🤬 Actual Behavior

답글폼이 작성중인지 여부와 관계없이 덮어씌워짐.
bug

📝 Steps to Reproduce

  1. 자동으로 맨션이 달리는 노트의 자세히 보기 화면으로 이동
  2. 하단 답글폼에 내용을 입력
  3. 노트 폼을 다시 클릭
  4. 내용이 맨션으로 덮어씌워짐

💻 Frontend Environment

| Model and OS of the device(s) | Arch Linux                                                        | Arch Linux                                                                                |
|-------------------------------|-------------------------------------------------------------------|-------------------------------------------------------------------------------------------|
| Browser                       | Mozilla Firefox Developer Edition for Arch Linux 112.0b9(64-비트) | Ungoogled Chromium 120.0.6099.216(Official Build, ungoogled-chromium) Arch Linux (64비트) |
| Server URL                    | worldc.one                                                        | beta.kokonect.link                                                                        |
| CherryPick                    | 4.6.0                                                             | 표기상 4.6.0                                                                              |

🛰 Backend Environment (for server admin)

No response

Do you want to address this bug yourself?

  • Yes, I will patch the bug myself and send a pull request
@noridev
Copy link
Collaborator

noridev commented Jan 15, 2024

6d01ae4 에서 해결되었습니다. 감사합니다!

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

No branches or pull requests

2 participants