-
Couldn't load subscription status.
- Fork 14
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
Conversation
app/graphql/github.js
Outdated
| if (!orgs) { | ||
| warn('Org is not defined.'); | ||
| } | ||
| if (orgs) { |
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.
if ... else ...?
app/helpers/truncate-text.js
Outdated
| const { limit } = hash; | ||
| let text = ''; | ||
|
|
||
| if (value != null && value.length > 0) { |
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.
I personally prefer if (value && value.length), but it's up to you.
| try { | ||
| return JSON.parse(value); | ||
| } catch (e) { | ||
| return {}; |
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.
What about logging the exception here?
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.
Why?
54ed938 to
3c65035
Compare
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
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