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

채팅 내용 url parsing 외부 솔루션 linkify 도입 #432

Open
2 tasks
JeukHwang opened this issue Nov 1, 2023 · 0 comments
Open
2 tasks

채팅 내용 url parsing 외부 솔루션 linkify 도입 #432

JeukHwang opened this issue Nov 1, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@JeukHwang
Copy link
Contributor

JeukHwang commented Nov 1, 2023

제안 내용 *

linkify 기반 solution을 도입
https://github.com/sparcs-kaist/biseo/blob/main/packages/web/src/components/molecules/Message/PlainMessage.tsx#L11
이를 통해 parseUrl 코드를 없애거나, 더 customize할 수 있음

https://www.npmjs.com/package/react-linkify
https://www.npmjs.com/package/linkify-react
가장 유명한 두 개 solution이나 관리 부족

https://www.npmjs.com/package/react-linkify-it
새로 시작하는 프로젝트이나 custom 된다고 함
추후에는 github에서 #211 #430 이런 식으로 태그 걸듯이 안건도 채팅에서 태그 걸 수 있지 않을까?
별로 필요한 기능은 아니긴 함...

스크린샷

image linkify는 원래 이런 일을 해줍니다 https://linkify.js.org/

관련 Task *

  • Task1
  • Task2
@JeukHwang JeukHwang added the enhancement New feature or request label Nov 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant