Render issue state with GitHub's octicons and state colors Issue rows, headers, and close events drew Linear-heritage shapes: an open issue showed the empty-circle glyph in muted ink and a completed close a green check. GitHub-compatible state is domain vocabulary, so issues now read like GitHub everywhere the shared presentation components draw them: - An open issue takes `octicon-issue-opened`, tinted with the success token. - A completed close takes `octicon-issue-closed`, tinted with a new `--done` token (GitHub's purple, light and dark values both defined). - Not-planned keeps the cancelled glyph; triage categories are untouched. The glyphs come from Primer Octicons (MIT), vendored verbatim into `priv/octicons` at a pinned commit and embedded by OpenAgentsWeb.Icons under `octicon-*` names. docs/ICONS.md records why neither governed tier could carry them and governs the new source accordingly.
Render issue state with GitHub's octicons and state colors
Deploy story
What this commit did to the running system — joined from the forge receipt chain, the part a commit page elsewhere cannot show.
Not deployed through the forge lane
No push, promotion, build, or deploy receipt references this commit (receipts are scanned over a bounded recent window). Changes shipped by full node replacement carry their proof in the release gate receipt instead.
Changed files
-
modified
assets/css/app.css -
modified
assets/css/openagents.css -
modified
docs/ICONS.md -
modified
lib/openagents_web/components/circle.ex -
modified
lib/openagents_web/components/issue_presentation.ex -
modified
lib/openagents_web/icons.ex -
modified
lib/openagents_web/live/issue_show_live.ex -
added
priv/octicons/README.md -
added
priv/octicons/issue-closed.svg -
added
priv/octicons/issue-opened.svg -
modified
test/openagents_web/components/circle_test.exs -
modified
test/openagents_web/icons_test.exs
Diff
12 files changed, +91 -15
assets/css/app.css modified +2
assets/css/openagents.css modified +6 -1
@@ -5679,9 +5679,14 @@
| 5679 | 5679 |
|
| 5680 | 5680 |
|
| 5681 | 5681 |
|
| 5682 |
|
|
| 5683 |
|
|
| 5684 |
|
|
| 5685 |
|
|
| 5686 |
|
|
| 5682 | 5687 |
|
| 5683 | 5688 |
|
| 5684 |
|
|
| 5689 |
|
|
| 5685 | 5690 |
|
| 5686 | 5691 |
|
| 5687 | 5692 |
|
docs/ICONS.md modified +18
@@ -49,6 +49,24 @@ identify the service reached by an action. Render it through `icon/1` with a
| 49 | 49 |
|
| 50 | 50 |
|
| 51 | 51 |
|
| 52 |
|
|
| 53 |
|
|
| 54 |
|
|
| 55 |
|
|
| 56 |
|
|
| 57 |
|
|
| 58 |
|
|
| 59 |
|
|
| 60 |
|
|
| 61 |
|
|
| 62 |
|
|
| 63 |
|
|
| 64 |
|
|
| 65 |
|
|
| 66 |
|
|
| 67 |
|
|
| 68 |
|
|
| 69 |
|
|
| 52 | 70 |
|
| 53 | 71 |
|
| 54 | 72 |
|
lib/openagents_web/components/circle.ex modified +8 -3
@@ -46,7 +46,7 @@ defmodule OpenAgentsWeb.UI.Circle do
| 46 | 46 |
|
| 47 | 47 |
|
| 48 | 48 |
|
| 49 |
|
|
| 49 |
|
|
| 50 | 50 |
|
| 51 | 51 |
|
| 52 | 52 |
|
@@ -1261,7 +1261,7 @@ defmodule OpenAgentsWeb.UI.Circle do
| 1261 | 1261 |
|
| 1262 | 1262 |
|
| 1263 | 1263 |
|
| 1264 |
|
|
| 1264 |
|
|
| 1265 | 1265 |
|
| 1266 | 1266 |
|
| 1267 | 1267 |
|
@@ -1272,10 +1272,15 @@ defmodule OpenAgentsWeb.UI.Circle do
| 1272 | 1272 |
|
| 1273 | 1273 |
|
| 1274 | 1274 |
|
| 1275 |
|
|
| 1276 |
|
|
| 1277 |
|
|
| 1278 |
|
|
| 1275 | 1279 |
|
| 1276 | 1280 |
|
| 1277 | 1281 |
|
| 1278 |
|
|
| 1282 |
|
|
| 1283 |
|
|
| 1279 | 1284 |
|
| 1280 | 1285 |
|
| 1281 | 1286 |
|
lib/openagents_web/components/issue_presentation.ex modified +5 -4
@@ -55,14 +55,15 @@ defmodule OpenAgentsWeb.Components.IssuePresentation do
| 55 | 55 |
|
| 56 | 56 |
|
| 57 | 57 |
|
| 58 |
|
|
| 58 |
|
|
| 59 | 59 |
|
| 60 |
|
|
| 61 |
|
|
| 60 |
|
|
| 61 |
|
|
| 62 |
|
|
| 62 | 63 |
|
| 63 | 64 |
|
| 64 | 65 |
|
| 65 |
|
|
| 66 |
|
|
| 66 | 67 |
|
| 67 | 68 |
|
| 68 | 69 |
|
lib/openagents_web/icons.ex modified +13 -2
@@ -18,8 +18,12 @@ defmodule OpenAgentsWeb.Icons do
| 18 | 18 |
|
| 19 | 19 |
|
| 20 | 20 |
|
| 21 |
|
|
| 22 |
|
|
| 23 |
|
|
| 21 | 24 |
|
| 22 |
|
|
| 25 |
|
|
| 26 |
|
|
| 23 | 27 |
|
| 24 | 28 |
|
| 25 | 29 |
|
@@ -27,7 +31,14 @@ defmodule OpenAgentsWeb.Icons do
| 27 | 31 |
|
| 28 | 32 |
|
| 29 | 33 |
|
| 30 |
|
|
| 34 |
|
|
| 35 |
|
|
| 36 |
|
|
| 37 |
|
|
| 38 |
|
|
| 39 |
|
|
| 40 |
|
|
| 41 |
|
|
| 31 | 42 |
|
| 32 | 43 |
|
| 33 | 44 |
|
lib/openagents_web/live/issue_show_live.ex modified +1 -1
@@ -596,7 +596,7 @@ defmodule OpenAgentsWeb.IssueShowLive do
| 596 | 596 |
|
| 597 | 597 |
|
| 598 | 598 |
|
| 599 |
|
|
| 599 |
|
|
| 600 | 600 |
|
| 601 | 601 |
|
| 602 | 602 |
|
priv/octicons/README.md added +29
@@ -0,0 +1,29 @@
| 1 |
|
|
| 2 |
|
|
| 3 |
|
|
| 4 |
|
|
| 5 |
|
|
| 6 |
|
|
| 7 |
|
|
| 8 |
|
|
| 9 |
|
|
| 10 |
|
|
| 11 |
|
|
| 12 |
|
|
| 13 |
|
|
| 14 |
|
|
| 15 |
|
|
| 16 |
|
|
| 17 |
|
|
| 18 |
|
|
| 19 |
|
|
| 20 |
|
|
| 21 |
|
|
| 22 |
|
|
| 23 |
|
|
| 24 |
|
|
| 25 |
|
|
| 26 |
|
|
| 27 |
|
|
| 28 |
|
|
| 29 |
|
priv/octicons/issue-closed.svg added +1
@@ -0,0 +1,1 @@
| 1 |
|
priv/octicons/issue-opened.svg added +1
@@ -0,0 +1,1 @@
| 1 |
|
test/openagents_web/components/circle_test.exs modified +2 -2
@@ -93,7 +93,7 @@ defmodule OpenAgentsWeb.UI.CircleTest do
| 93 | 93 |
|
| 94 | 94 |
|
| 95 | 95 |
|
| 96 |
|
|
| 96 |
|
|
| 97 | 97 |
|
| 98 | 98 |
|
| 99 | 99 |
|
@@ -214,7 +214,7 @@ defmodule OpenAgentsWeb.UI.CircleTest do
| 214 | 214 |
|
| 215 | 215 |
|
| 216 | 216 |
|
| 217 |
|
|
| 217 |
|
|
| 218 | 218 |
|
| 219 | 219 |
|
| 220 | 220 |
|
test/openagents_web/icons_test.exs modified +5 -2
@@ -27,12 +27,15 @@ defmodule OpenAgentsWeb.IconsTest do
| 27 | 27 |
|
| 28 | 28 |
|
| 29 | 29 |
|
| 30 |
|
|
| 31 |
|
|
| 30 |
|
|
| 31 |
|
|
| 32 |
|
|
| 33 |
|
|
| 32 | 34 |
|
| 33 | 35 |
|
| 34 | 36 |
|
| 35 | 37 |
|
| 38 |
|
|
| 36 | 39 |
|
| 37 | 40 |
|
| 38 | 41 |
|