-
Notifications
You must be signed in to change notification settings - Fork 0
[WiP] Show issues accross all repos in a project #107
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
Open
txels
wants to merge
7
commits into
develop
Choose a base branch
from
carles/354-pull-requests
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
cab6ed4
Initial draft view of issues accross project repos
txels d24bf2d
Add filtering for issues
txels 9c8da52
Styling improvements to issue list
txels 9eca602
Try to bypass travisCI error
txels 54c55d1
Support grouping of issues based on key:value tags
txels 9f8b701
Add a project was failing with 400. Test was passing (?)
txels a2d9297
Make Projects menu option available in home screen
txels File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,65 @@ | ||
| <p ng-if="hasToken === null"> | ||
| Loading... | ||
| </p> | ||
|
|
||
| <div ng-if="hasToken === false"> | ||
| <p>You still haven't authorised ployst to access your Github account.</p> | ||
| <a href="/github/oauth-start" class="btn btn-primary">Assimilate Github account</a> | ||
| </div> | ||
|
|
||
|
|
||
| <div ng-if="hasToken"> | ||
| <div class="well well-sm"> | ||
| <p>Filter: | ||
| <input ng-model="filter" type="text"> | ||
| </p> | ||
| <p ng-if="groupings != {}">Group by: | ||
| <span ng-repeat="(key, _) in groupings"> | ||
| <span ng-click="setGroupBy(key)" class="label label-default"> | ||
| <i class="fa fa-tag"></i> {{ key }} | ||
| </span> | ||
| </span> | ||
| <span ng-click="setGroupBy(null)" class="label label-danger"> | ||
| <i class="fa fa-times-circle"></i> (no groups) | ||
| </span> | ||
| </p> | ||
| </div> | ||
|
|
||
| <ul ng-if="groupBy === null" class="list-unstyled"> | ||
| <li ng-show="!issues">Loading...</li> | ||
| <li ng-repeat="issue in issues|filter:filter"> | ||
| <a target="_blank" ng-href="{{issue.html_url}}"> | ||
| #{{ issue.number }} {{issue.repo}} | ||
| </a> | ||
| {{ issue.title }} | ||
| <span ng-repeat="label in issue.labels"> | ||
| <span class="label" style="background-color: #{{label.color}}"> | ||
| {{ label.name }} | ||
| </span> | ||
| </span> | ||
| <!-- span ng-if="issue.milestone" class="badge">milestone:{{ issue.milestone.title }}</span --> | ||
| </li> | ||
| </ul> | ||
|
|
||
| <div ng-if="groupBy"> | ||
| <h3>Grouping by {{groupBy}}</h3> | ||
| <div ng-repeat="(value, issues) in issues"> | ||
| <h4 ng-if="issues">{{value}}</h3> | ||
| <ul class="list-unstyled"> | ||
| <li ng-repeat="issue in issues|filter:filter"> | ||
| <a target="_blank" ng-href="{{issue.html_url}}"> | ||
| #{{ issue.number }} {{issue.repo}} | ||
| </a> | ||
| {{ issue.title }} | ||
| <span ng-repeat="label in issue.labels"> | ||
| <span class="label" style="background-color: #{{label.color}}"> | ||
| {{ label.name }} | ||
| </span> | ||
| </span> | ||
| <!-- span ng-if="issue.milestone" class="badge">milestone:{{ issue.milestone.title }}</span --> | ||
| </li> | ||
| </ul> | ||
| </div> | ||
| </div> | ||
|
|
||
| </div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| <github-issues project="ps.project"></github-issues> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
TODO: remove some duplication...