Ejemplo n.º 1
0
    // Called when the confirm button on the issue edit window is pressed - GitHub UI
    public async void EditIssue()
    {
        await GitHubManager.EditIssue(issueID, projectTracker.currentRepositoryOwner, projectTracker.currentRepositoryName, issue_title.text, issue_description.text);

        issueLoader.LoadContent();
        IssueEditedArgs args = new IssueEditedArgs(issueID, issue_title.text, issue_description.text);

        IssueEdited?.Invoke(this, args);
        Close();
    }
Ejemplo n.º 2
0
    // Called when the confirm button on the issue edit window is pressed - Requirement Bazaar UI
    public async void EditRequirement()
    {
        await RequirementsBazaarManager.EditRequirement(issueID, projectTracker.currentProjectID, requirement_title.text, requirement_description.text);

        issueLoader.LoadContent();
        IssueEditedArgs args = new IssueEditedArgs(issueID, requirement_title.text, requirement_description.text);

        IssueEdited?.Invoke(this, args);
        Close();
    }