-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a description of the triage labels.
- Loading branch information
Showing
5 changed files
with
94 additions
and
16 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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 |
---|---|---|
@@ -1,8 +1,24 @@ | ||
--- | ||
import Color from "colorjs.io"; | ||
interface Props { | ||
color: string; | ||
name: string; | ||
color: string; | ||
} | ||
const { color } = Astro.props; | ||
const { name, color } = Astro.props; | ||
const darkBg = | ||
Color.contrastAPCA(color, "white") + Color.contrastAPCA(color, "black") < 0; | ||
--- | ||
|
||
<span class="label" data-color={color}></span> | ||
<span class="label" style=`--bg: ${color}` class:list={{ darkBg }}>{name}</span> | ||
|
||
<style is:global> | ||
.label { | ||
background-color: var(--bg); | ||
padding: 0 .5lh; | ||
border-radius: .5lh; | ||
} | ||
.label.darkBg { | ||
color: white; | ||
} | ||
</style> |
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,36 @@ | ||
--- | ||
import GhLabel from "@components/GhLabel.astro"; | ||
import Layout from "../layouts/Layout.astro"; | ||
--- | ||
|
||
<Layout title="Triage Labels"> | ||
<a href="/">Back home.</a> | ||
<main> | ||
<p> | ||
This summary relies on repository maintainers using a particular set | ||
of labels to triage issues. These are: | ||
</p> | ||
|
||
<dl> | ||
<dt><GhLabel name="Priority: Urgent" color="#b60205" /></dt> | ||
<dd> | ||
Needs to be resolved more quickly than other issues. These | ||
issues and PRs are expected to be resolved within 14 days. | ||
</dd> | ||
<dt><GhLabel name="Priority: Important" color="#fbca04" /></dt> | ||
<dd> | ||
Needs to be resolved within a reasonable timeframe, but not as | ||
quickly as urgent issues. These issues and PRs are expected to | ||
be resolved within 3 months. | ||
</dd> | ||
<dt><GhLabel name="Priority: Eventually" color="#c2e0c6" /></dt> | ||
<dd>Doesn't need to be resolved within a particular time limit.</dd> | ||
<dt><GhLabel name="Needs Reporter Feedback" color="#5319e7" /></dt> | ||
<dd> | ||
The person who reported the issue needs to answer a question | ||
before progress can be made. The SLO clock doesn't advance | ||
between when this label is set and when the reporter replies. | ||
</dd> | ||
</dl> | ||
</main> | ||
</Layout> |