Skip to content
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

Feature #65 Show approved (by user) status #67

Merged
merged 2 commits into from
May 2, 2021

Conversation

yushao2
Copy link
Contributor

@yushao2 yushao2 commented May 2, 2021

What's Changed

Closes #65

image
image
image

Technical Description

  1. Added new environment variable , GITHUB_USER -- this is to be initialised with the user's github username
    1.1. Updated README.md to reflect that during setup process

  2. Renamed column Status > Approved
    2.1. Shows Approved if user approved, and Changes Requested if user requested changes in PR (checks timestamp to grab latest status) -- Otherwise it is blank

  3. Added new column, Ready To Release
    3.1. Shows Ready if there are other approvals from other users, blanked otherwise.
    3.2. Changed column spacing of PR title to avoid text cut-off for new column
    image

  4. Edited test cases due to change in schema for Pull Request model

@yushao2 yushao2 requested a review from apoclyps as a code owner May 2, 2021 18:24
Copy link
Owner

@apoclyps apoclyps left a comment

Choose a reason for hiding this comment

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

Looks good. I have a few suggestions above 👍

reviews/controller.py Outdated Show resolved Hide resolved
reviews/datasource/models.py Outdated Show resolved Hide resolved
reviews/layout/helpers.py Show resolved Hide resolved
reviews/layout/helpers.py Outdated Show resolved Hide resolved
reviews/controller.py Outdated Show resolved Hide resolved
@yushao2 yushao2 force-pushed the Feature-65 branch 2 times, most recently from b59e5ea to fa9e930 Compare May 2, 2021 19:30
@yushao2 yushao2 requested a review from apoclyps May 2, 2021 19:37
@yushao2
Copy link
Contributor Author

yushao2 commented May 2, 2021

@apoclyps

Applied your suggestions! Thanks so much for your review and I've learnt quite a bit from your comments. Please take a look and let me know if there's anything else.

Copy link
Owner

@apoclyps apoclyps left a comment

Choose a reason for hiding this comment

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

Everything look good 👍 I'm happy to hear you found the code review useful also. Thanks once again for your contributions.

If you are interested in working on any other areas of the code base, I'm happy for issues to be created (to discuss) or I can create more issues to choose from.

@apoclyps apoclyps merged commit 9593f46 into apoclyps:main May 2, 2021
@yushao2 yushao2 deleted the Feature-65 branch May 2, 2021 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] Show approved (by me) Pull Requests
2 participants