•  
     
    story #10498 Add labels on pull requests
Summary
user
Add labels on pull requests
Empty
  • Labels are autocompleted (using select2 like in artifact-modal before TLP migration)

  • Move label selector outside angular view (if it doesn’t work, keep it under PR description)

  • Autocompleter in angular

  • REST routes:

    • GET /projects/:id/labels

    • GET /pullrequests/:id/labels

    • PATCH /pullrequests/:id/labels

      • { add : [label_name, …], remove: [label_name…] }

  • DB tables:

    • label

    • project_label

    • pullrequest_label

  • I can add/remove labels only if I can edit pull request

Empty
Status
Empty
Done
Development
  • [ ] Does it involves User Interface? 
  • [ ] Are there any mockups?
  • [ ] Are permissions checked?
  • [ ] Does it need Javascript development?
  • [ ] Does it need a forge upgrade bucket?
  • [ ] Does it need to execute things in system events?
  • [ ] Does it impact project creation (templates)?
  • [ ] Is it exploratory?
Empty
Details
#10498
Benjamin Dauton (bdauton_enalean)
2017-09-06 13:10
2017-07-26 11:34
4495

References

Follow-ups