UX: RepositoryListItem should truncate description
- Dominant language
- JavaScript
- Stars
- 4.8k
- Forks
- 771
- PR merge metrics
- No merged PRs in 30d
Description
| Question | Response |
| ---------------- | ----------- |
| Version? | v1.4.1 |
| Devices tested? | iPhone 7 |
---
## What Currently Happens?
If you search for the user "vhicxs", and check his repositories list, you will notice a weird 3 blank pages scrolling in the "vhcixs/repository"

This is because the repository description is a big HTML chunk: https://github.com/vhicxs/google
## What Do You Expect To Happen?
The HTML tags should be displayed, and the description should be truncated at some point. (GitHub limit seems to be 350 chars, we seems pretty fair)
## My Reproduction Steps
1. Open the application
1. Navigate to search
1. Click "Users"
1. Search for "vhcixs"
1. Click the search result corresponding to "vhcixs" to go to the user profile
1. Click on the repositories number
Contributor guide
Research direction
Start by locating the RepositoryListItem component used in the user repositories list and reproduce the issue with the vhicxs account. Check how the repository description is rendered, then verify that the long HTML description is truncated and no longer creates blank scrolling pages.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react-native
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100