Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
요약 *
It closes #1342
기존에 여러 구현 방식으로 만들어져 있던 bullet list와 number list를 하나의 컴포넌트로 통일합니다.
아래는 적용 예시입니다.
bullet point로도 사용할 수 있고, 시작 index (0 이상)를 정해서 number list로도 사용할 수 있습니다.
활동보고서 상세 보기 (packages/web/src/features/activity-report/frames/ActivityReportDetailFrame.tsx) 에 우선 적용해 두었으며, 추후 적용이 필요한 다른 페이지 리팩토링을 진행하고자 합니다.
이슈들
이 들어가 있는 것이 잘 적용이 안됩니다. <></>으로 감싸도 안되고, 로 감싸면 줄바꿈이 됩니다. 이 문제에 대해 어떻게 생각하시나요?
스크린샷
Current
Outdated screenshots
data로 string이랑 일반적인 ReactNode를 섞어 쓸 수 있게 허용하다 보니, number로 했을 때 이런 광경을 볼 수 있긴 합니다
List 여러 개로 쪼개고, 필요한 대로 startIndex 조절하면서 해결이 가능하나, 추후에 수정 필요가 있다면 numbering 로직을 바꾸겠습니다.
이후 Task *