Giter Site home page Giter Site logo

prrr's Introduction

Pull Request Review Request

CircleCI

Prrr

prrr

Development

npm install
npm run build

Setup

Go here and register a new OAuth application.

Application name: prrr development
Homepage URL: http://localhost:3000/
Application Description:
Authorization callback URL: http://localhost:3000/auth/github/callback

NOTE: you can use any port you want. It doesnt need to be 3000

Create a .env file like this:

NODE_ENV=development
PORT=3000
GITHUB_CLIENT_ID=<FOLLOW GITHUB INSTRUCTIONS>
GITHUB_CLIENT_SECRET=<FOLLOW GITHUB INSTRUCTIONS>
GITHUB_CALLBACK=http://localhost:3000/auth/github/callback
SESSION_KEY=thiscanbeanyoldrandomstring

NOTE: you can use any port you want as long as it matches your github oauth

Database

*NOTE: you need to run npm run build before you can run knex commands

createdb prrr-development
createdb prrr-test
knex migrate:latest

prrr's People

Contributors

ameliavoncat avatar anasauce avatar deadlyicon avatar dianavashti avatar jaredatron avatar jason00111 avatar sdweber422 avatar shakalee14 avatar thamaranth avatar trevorjamesh avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

prrr's Issues

Make more thorough tests...

...to catch things like #91 before they get merged into master.

Find a way to make sure tests are being run and passing before pull requests are submitted.

Site should be ajaxified

As a coach, I don't want to keep refreshing to see new issues and I don't want to claim an issue that was already claimed.

Both these things won't happen if the app is ajaxified!

Hide individual Prrrs that I have reviewed ( without archiving )

  • When I have completed a Prrr and it goes to my reviewed prrrs table
  • as I complete Prrrs and that table gets larger I may want to remove Prrrs from that list but I can't archive them because only the current requestor of that Prrr should be able to do that.
  • I want a way remove Prrrs from "My Reviewed Table" without being able to archive them

Code Review analytics

There are four metrics that can show us the health of code reviews:

_Total code reviews last week
_Total code reviews per reviewer
_Longest time for PR to be reviewed last week
_Average time for PR to be claimed last week
_Average time for PR to be completed last week
_Total number of projects that requested reviews
_Average number of reviews requested per project

MPV

All these can be inferred from a table spit out into a csv file
Pull request, requester,reviewer,date_requested,date_claimed,date_completed

Ideally

There's an analytics page that calculates all the above. When calculating longest time and average times, it should not count evenings or weekends. If it's a publicly available analytics page that shows the numbers over the last 7 days it would be accessible to learners and that would be a great thing! It would acknowledge coaches for their work, and incentivize projects with lower than average review requests to raise their number

If I had a Pony

Report date-range can be selected
Adds: Average time from claim to complete, and longest time from claim to complete

Swap prrr button

If i claim a prrr but i want a different one (due to level of experience, no knowledge of particular technologies ) we create a button that does two actions at once.

  1. Unclaim the prrr
    2.Claim the next prrr ( not the same prrr that i just unclaimed)

Use IDM to authenticate

This would allow you to get a valid Learners Guild JWT, along with the guild UUID for the given user, which could be useful to cross-check stats at some point.

Can't delete requested prrrs

When I click the X next to a requested prrr the following error appears in the console:

Uncaught ReferenceError: href is not defined
    at onClick (http://prrr.apps.learnersguild.org/browser-77dd2e8581d73e44683e.js:24642:42)

MyRequestedPrrrs table on the logged in homepage

user story:

As a requester I want to view my review comments on prrr 
or at least have a link to my comments so I can find comments easier

Feature:

Create a component named MyRequestedPrrrs that takes the already loaded `prrrs and displays the a table of the Prrrs you've requested for review.

Archive of Completed Code Reviews

...so others (SEPs, other learners) can read them, learn from them, and make additional comments

IMO, this is necessary helpful in terms of skills assessment as well as being able to address these three questions:

  • How are we measuring quality and efficacy of these reviews?
  • Are we reviewing reviews?
  • Is there feedback on the reviews?

Can we just have an "Archive" tab on the navbar, similar to the "Metrics" tab?

MyReviewedPrrrs table on the logged in homepage

user story:

As a coach/requester I want to view a list of my completed and reviewed prrrs 
so I can see how many prrrs I've done and check prrrs I've had reviewed

Feature:

Create a component named MyReviewedPrrrs that takes the already loaded `prrrs and displays the a table of the Prrrs you've reviewed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.