renderMessageContent为空函数的情况下,message对象中的{user: {avatar: '', name: ''} 头像和用户名依然会被渲染
Open
- Dominant language
- TypeScript
- Stars
- 4.4k
- Forks
- 425
- PR merge metrics
- No merged PRs in 30d
Description
This issue has no description.
Contributor guide
No contributing guide indexed for this repository
Research direction
The reported entry point is renderMessageContent; the issue names no files or tests. Reproduce the empty-function case with the supplied empty avatar and name values, then inspect the surrounding message rendering behavior and add coverage showing the unwanted avatar and username are absent.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100