Skip to content

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 andrewda, blazeu, hemangsk, jayvdb and li-boxuan and removed request for blazeu and jayvdb 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