Skip to content

Use GraphQL for GitHub - 2 #64

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

Merged
merged 2 commits into from
Jul 5, 2018
Merged

Use GraphQL for GitHub - 2 #64

merged 2 commits into from
Jul 5, 2018

Conversation

bekicot
Copy link
Contributor

@bekicot bekicot commented Jun 30, 2018

Use GraphQL for GitHub API
Add support to coala & 52North
Add GitHub token modal
Rename implementation of Issues to Tasks
Use Bulma for task list

Regression:
Remove Repository and User Model
Remove Search Bar

Closes #34

Old PR #33

@bekicot bekicot mentioned this pull request Jun 30, 2018
@blazeu blazeu requested review from jayvdb, blazeu, andrewda, li-boxuan and hemangsk and removed request for jayvdb and blazeu June 30, 2018 11:24
if (!orgs) {
warn('Org is not defined.');
}
if (orgs) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if ... else ...?

const { limit } = hash;
let text = '';

if (value != null && value.length > 0) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I personally prefer if (value && value.length), but it's up to you.

try {
return JSON.parse(value);
} catch (e) {
return {};
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about logging the exception here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why?

@bekicot bekicot force-pushed the use-graphql-2 branch 2 times, most recently from 54ed938 to 3c65035 Compare July 5, 2018 07:46
bekicot added 2 commits July 5, 2018 15:18
Use GraphQL for GitHub API
Add support to coala & 52North
Add GitHub token modal
Rename implementation of Issues to Tasks
Use Bulma for task list

Regression:
Remove Repository and User Model
Remove Search Bar

Closes coala#34
@blazeu blazeu merged commit b09fdec into coala:master Jul 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants