Depends On & Blocks Relationships to Request Box.

Review Request #3881 — Created Feb. 17, 2013 and submitted — Latest diff uploaded

Information

Review Board
master
281

Reviewers

Feature
- This feature adds the ability to link requests together by
  means of two fields; depends on, and blocks. These relationships
  are interconnected in the sense that, if Request A depends on 
  Request B, then inversely Request B's blocks field will display
  a link back to Request A.
- This request adds the ability to add, edit, and remove dependencies
  from both the backend admin panel as well as in the front-end.
- Blocking relationships are built as a reverse of dependency, and
  thus are automatically generated upon a dependency change.
Backend
- Select from Review Request Dependency box a new request to depend on - Relationship has been added.
- Select from Review Request Draft Dependency box a new request to depend on - Relationship has been added.
- Viewed these changes on the front end - Blocks relationship has been adjusted in response for the selected request.

Frontend
- Clicked to change dependencies, added a proper request after a comma and space - properly checked and added to draft.
- Clicked to change dependencies, added an improper request after a comma and space - properly checked discarded with an accompanying warning.
- Clicked to change dependencies, added a proper request after a space - properly checked and added to draft.
- Clicked to change dependencies, added an improper request after a space - properly checked discarded with an accompanying warning.
- Removed a dependency - Changes remain removed.
- Published Changes - Changes remain added.
- Enter in one incorrect request vs. multiple incorrect requests - Error adjusts to pluralized form.
- Provide a change to an already published request - change log reports adjustment.