-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
60 changed files
with
1,543 additions
and
485 deletions.
There are no files selected for viewing
This file contains 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,19 @@ | ||
name-template: 'v$RESOLVED_VERSION' | ||
tag-template: 'v$RESOLVED_VERSION' | ||
categories: | ||
- title: 'Features' | ||
labels: | ||
- 'category.Feature' | ||
- 'category.Enhancement' | ||
- title: 'Bug Fixes' | ||
labels: | ||
- 'category.Bug' | ||
- title: 'Maintenance' | ||
label: 'category.Chore' | ||
change-template: '- $TITLE @$AUTHOR (#$NUMBER)' | ||
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks. | ||
|
||
template: | | ||
## Changelog | ||
$CHANGES |
This file contains 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 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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "WATcher", | ||
"version": "1.1.1", | ||
"version": "1.2.0", | ||
"main": "main.js", | ||
"scripts": { | ||
"ng": "ng", | ||
|
This file contains 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 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 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 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,8 @@ | ||
/** | ||
* Represents a group used for grouping purposes. | ||
* Groups can be used to organize issues/prs based on certain criteria, | ||
* such as milestones, assignees, or other properties. | ||
*/ | ||
export interface Group { | ||
equals(other: any): boolean; | ||
} |
This file contains 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 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 |
---|---|---|
@@ -1,17 +1,25 @@ | ||
import { Group } from './github/group.interface'; | ||
|
||
/** | ||
* Represents a milestone and its attributes fetched from Github. | ||
*/ | ||
export class Milestone { | ||
static DefaultMilestone: Milestone = new Milestone({ title: 'Without a milestone', state: null }); | ||
export class Milestone implements Group { | ||
static IssueWithoutMilestone: Milestone = new Milestone({ title: 'Issue without a milestone', state: null }); | ||
static PRWithoutMilestone: Milestone = new Milestone({ title: 'PR without a milestone', state: null }); | ||
title: string; | ||
state: string; | ||
deadline?: Date; | ||
|
||
constructor(milestone: { title: string; state: string }) { | ||
constructor(milestone: { title: string; state: string; due_on?: string }) { | ||
this.title = milestone.title; | ||
this.state = milestone.state; | ||
this.deadline = milestone.due_on ? new Date(milestone.due_on) : undefined; | ||
} | ||
|
||
public equals(milestone: Milestone) { | ||
return this.title === milestone.title; | ||
public equals(other: any) { | ||
if (!(other instanceof Milestone)) { | ||
return false; | ||
} | ||
return this.title === other.title; | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains 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,7 @@ | ||
/** | ||
* Represents the response of the repo-change-form component | ||
*/ | ||
export type RepoChangeResponse = { | ||
repo: string; | ||
keepFilters: boolean; | ||
}; |
This file contains 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 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,4 @@ | ||
export enum View { | ||
issuesViewer = 'issuesViewer', | ||
activityDashboard = 'activityDashboard' | ||
} |
Oops, something went wrong.