Here's a list based off @andrewda's list for adding unit tests to the app (https://github.com/gitpoint/git-point/issues/518), feel free to add/remove components if you think it's necessary.
For newcomers:
Done:
I could do Button, CommentListItem, EntityInfo. Do you have a guideline how to handle specific styles like buttonStyle on the button rom react-native-elements? styled-components could handle it like like this:
const StyledButton = styled(Button).attrs({
buttonStyle: props => {
switch (props.type) {
case 'primary':
return {
borderColor: '#2e6da4',
backgroundColor: '#286090',
};
default:
return {
borderColor: '#adadad',
backgroundColor: '#e6e6e6',
};
}
},
})``;
or without the switch simply keepin the current types object
I'll take NotificationListItem
I'll take SectionList please, thanks
I'd like to take MembersβοΈ
Assigned @LeoCp @jamesg1 @shmesa22 Let us know if you have any question. Thanks a lot!
Thanks @alejandronanez I do have a few question: how to style ListItem as it has a titleStyle prop? Also for List I'm not sure to to convert it as it is a containerStyle? I also had issues converting topheader as its a flexbox, all of the titles seemed to squish up. Do we need to add anything else for flexbox?
Here is what I've done so far: https://github.com/jamesg1/git-point/commit/51897d2eec33ba4b455cdb76362f9dbdec42b51f
Thatβs pretty much the same question I had. But I never got a response. You can see an idea how to handle such styles though in that question as well as in some of my pull requests.
Generally I think it is a good idea to remove any style related props into the styled components part.
@MrLoh the way you did it with styled(ListItem).attrs(/.../)``; was perfect, although there were some non desired effects (see #586).
@jamesg1, I think it's better to not convert ListItem yet, as there's an ongoing issue with react-native-elements: https://github.com/react-native-training/react-native-elements/issues/679
I will give a shot to RepositoryListItem
I'd like to take RepositoryProfile and ParallaxScroll
Update the list with your names @shmesa22 and @apoeco, thanks for your interest!
I can grab the Organization screen.
@ZahraTee assigned to you, thanks!
I can also take the Notifications and User repository list screens while I'm at it :)
It appears Houssein already did the user profile screen and the other user screens don't use Stylesheets.
Iβd like to claim the Issue screen
@remarks Thanks! Added you!
I'm looking at the Events screen (not listed) for another PR so I can pick that up while I'm there.
Also, all of the User screens that needed migration are done (#665 and #683) so that can be ticked off. \o/
@ZahraTee Updated! The #683 was mismarked as Repository screens.
I can take the rest of the Auth screens.
Refactored Seach screen #710
I can do Repository screen π
Hey I'm down contributing to you guys! I can do the LoadingRepositoryProfile and IssueSettings
@rudsberg we will be happy about this π€
@lex111 back with renewed motivation for Hacktoberfest again. I'm happy to take a couple of those issues to convert issue screens to styled components π
@jglover hi, look forward to your PRs!
Hi, I'd like to work on LoadingRepositoryProfile :)
I guess this list is not up-to-date. I'm searching for those pending components and all of them are styled. Is possible to update this list? :)
@kimuradev Updated. Pick as you wish.
Most helpful comment
I'll take
SectionListplease, thanks