-
Notifications
You must be signed in to change notification settings - Fork 53
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
Create summary column #520
Conversation
Update the label model to include the font color that is of good contrast for the labels background color.
Create a summary column in the prs application for displaying information about a pull request.
apps/shared/models/pull-request.ts
Outdated
this.milestone = data.milestone as any; | ||
this.assignees = data.assignees as any; | ||
this.commit = data.commit; | ||
User.getByReference(data.user).then((u) => (this.user = u)); |
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.
Do we need to await this? Otherwise user might be undefined shortly right?
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.
Tsetse complains about this. I believe it would be good supporting async population of a model. We control the instantiation anyway, so that would improve this even further.
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 awaited it and will make the instantiation async in a follow up.
055a4d7
to
ff54b88
Compare
ff54b88
to
33e5589
Compare
This PR was merged into the repository by commit 8a7e038. |
Create a summary column in the prs application for displaying information about a pull request. PR Close #520
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
See invididual commits.