-
Notifications
You must be signed in to change notification settings - Fork 778
feat(user): split repositories list by type #739
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
base: master
Are you sure you want to change the base?
Conversation
machour
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great @Arjun-sna !
I left you some remarks, my biggest concern being that the button group won't play nice with longer texts when using translations .. not really sure how to properly handle it :/
| 'user.repositoryList.memberReposButton', | ||
| locale | ||
| ), | ||
| ] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could this be computed outside the JSX and condensed?
const buttons = ['common','buttons'];
if (authUser.login === currentuser.login) {
buttons.push('other');
buttons.push('buttons');
}
| headerRight: ( | ||
| <Icon | ||
| name="search" | ||
| color={colors.primaryDark} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
personal taste: maybe greyDark would be better (in find the loop "too black")
| </SearchContainer> | ||
| </SearchBarWrapper> | ||
| ) : ( | ||
| <StyledButtonGroup |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
English labels fits right in, but I'm afraid other translations won't play as nice.. 🤔
Try with french labels for example: "Tous, Propriétaire, Membre, Privé, Public"
|
(In order to fix the Travis build, you have to add the english sentences in all the translations files. |
add default texts for repo type titles for other languages
|
@machour tried to fix longer texts with |
Screenshots Auth user
Screenshots user
Description
Added categories to repo list screen