gitpoint / gitpoint/git-point

UX: RepositoryListItem should truncate description

Open
#760 3 comments 0 reactions 0 assignees View on GitHub
assigned enhancement good for beginners
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"

screen shot 2018-03-31 at 1 03 26 pm

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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.