-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Enable external services by default and update documentation #1342
Conversation
… frontend/graphqlbackend so that it can call the database to get the external services config
} | ||
} | ||
return GQL.ExternalServiceKind.GITHUB | ||
})(), |
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.
@felixfbecker I am going to merge this PR soon, but I would appreciate your review on this particular snippet. I need this component to respond to a url query parameter. This works, but I don't know if there is a more idiomatic way to do this.
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.
The code LGTM, but this only gets evaluated on component instantiation and not when this.props.history.location.search
changes. I don't see kind
being changed anywhere, so I would recommend to remove this state field and call this as a function.
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.
Codecov Report
|
part of https://github.com/sourcegraph/sourcegraph/issues/914#issuecomment-440067022