Skip to content

Commit

Permalink
Merge pull request #100 from AStarStartup/Issue28
Browse files Browse the repository at this point in the history
 Abilities.Add: Can select a dummy account, repo, issue, and child is…
  • Loading branch information
CookingWithCale committed Jan 5, 2024
2 parents 0ae6da5 + 675a8d3 commit f9d076d
Show file tree
Hide file tree
Showing 15 changed files with 611 additions and 273 deletions.
5 changes: 3 additions & 2 deletions .github/ISSUE_TEMPLATE/artifact.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ title: 'Artifact'
labels: ''
assignees: 'CookingWithCale'
---
#

# Artifact Description

## Artifacts Report

Describe the outdated code that got overlooked...

## Files Affected

Expand Down
28 changes: 13 additions & 15 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,13 @@ title: ''
labels: ''
assignees: 'CookingWithCale'
---
#


### A

#### Problem
## Problem

The bug I am reporting is...

##### Reproduction
### Reproduction

Steps to reproduce the behavior:

Expand All @@ -22,42 +20,42 @@ Steps to reproduce the behavior:
3. Scroll down to '....'
4. See error

##### ExpectedBehavior
### ExpectedBehavior

A clear and concise description of what you expected to happen.

##### Screenshots
### Screenshots

If applicable, add screenshots to help explain your problem.

##### Platform
### Platform

- OS: [e.g. Windows 10 2004]
- Version [e.g. 0.6.1]

##### Context
### Context

Add any other context about the problem here.

#### Solution
## Solution

The solution to the bug is...

##### File Affected
### File Affected

1. `*.*`

#### Hierarchy
## Hierarchy

* #1

#### Tags
## Tags

RequestFeature

#### Sessions
## Sessions

* CookingWithCale/.github#1
* CookingWithCale/.github#9

## License

Expand Down
3 changes: 2 additions & 1 deletion .github/ISSUE_TEMPLATE/change.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
---
name: Change
about: A breaking change to the infrastructure.
about: A proposed breaking change to the infrastructure.
title: 'Change'
labels: ''
assignees: 'CookingWithCale'
---
#



Expand Down
3 changes: 1 addition & 2 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ title: ''
labels: ''
assignees: 'CookingWithCale'
---

### A

#### Problem
Expand All @@ -30,7 +29,7 @@ RequestFeature

#### Sessions

* CookingWithCale/.github#2
* CookingWithCale/.github#9

## License

Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/incident.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: Incident
about: A Incident Command System incident; i.e. a real-world event with time, place, etc.
title: 'Incident. @2022-'
title: 'Incident @2024-'
labels: ''
assignees: 'CookingWithCale'
---
Expand Down
16 changes: 0 additions & 16 deletions .github/ISSUE_TEMPLATE/session.md

This file was deleted.

23 changes: 12 additions & 11 deletions Extension/Ctlr/Background.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
// Copyright AStartup; license at https://github.com/AStarStartup/AStartupMCC

import { }
from '../Model'
import { CommandStructureInit, CommandStructureSet, ModelConfigInit,
ModelConfigGet, ModelConfigSet, ModelIssueInit, ModelIssueSet,
ModelMissionInit, ModelMissionSet, ModelSessionInit, ModelSessionSet,
ModelSyndicateInit, ModelSyndicateSet } from '../Model'

console.log("[Background.ts]")

chrome.runtime.onMessage.addListener((message, sender, sendResponse) => {
Expand All @@ -11,28 +14,26 @@ console.log("[Background.ts]")
})

chrome.alarms.onAlarm.addListener((alarm) => {
if (alarm.name === "FeedUpdate") {
console.log('tick')
//chrome.storage.local.get(["feeds", "segments"], (res) => {
// FeedEstuarySorterProcess(res.feeds, res.segments)
if (alarm.name === "Update") {
//console.log('tick')
//ModelConfigGet().then((options) => {
// console.log(options)
//})
}
})

// @todo Inspect video timestamp 3:38:30 for spooky shit.

import { ModelConfigInit, ModelConfigSet, CommandStructureInit, CommandStructureSet, ModelIssueInit, ModelIssueSet, ModelMissionInit, ModelMissionSet, ModelSessionInit, ModelSessionSet,
ModelSyndicateSet } from '../Model'
chrome.runtime.onInstalled.addListener(() => {
ModelConfigSet(ModelConfigInit)
CommandStructureSet(CommandStructureInit)
ModelIssueSet(ModelIssueInit)
ModelMissionSet(ModelMissionInit)
ModelSessionSet(ModelSessionInit)
ModelSyndicateSet(ModelMissionInit)
ModelSyndicateSet(ModelSyndicateInit)

chrome.alarms.create("FeedUpdate", {
periodInMinutes: 15/60,
chrome.alarms.create("Update", {
periodInMinutes: 1/60,
})

chrome.contextMenus.create({
Expand Down
6 changes: 6 additions & 0 deletions Extension/Ctlr/Utils.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// Copyright AStartup; license at https://github.com/AStarStartup/AStartupMCC

export function IssueStringNumber(input: string) {
if (input[0] != '#') return -1
return parseInt(input.substring(1,))
}
Loading

0 comments on commit f9d076d

Please sign in to comment.