@nanocollective/roster 0.1.0-beta.21 → 0.1.0-beta.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +10 -1
- package/dist/worker/assets/assets/css/astryx.css +948 -0
- package/dist/worker/assets/assets/css/base.css +47 -112
- package/dist/worker/assets/assets/css/brain.css +15 -11
- package/dist/worker/assets/assets/css/graph.css +9 -12
- package/dist/worker/assets/assets/css/health.css +4 -7
- package/dist/worker/assets/assets/css/home.css +27 -29
- package/dist/worker/assets/assets/css/layout.css +10 -20
- package/dist/worker/assets/assets/css/markdown.css +1 -1
- package/dist/worker/assets/assets/css/runs.css +5 -3
- package/dist/worker/assets/assets/css/search.css +3 -6
- package/dist/worker/assets/assets/css/setup.css +3 -15
- package/dist/worker/assets/assets/js/app.js +2 -0
- package/dist/worker/assets/assets/js/astryx-ui.js +34 -0
- package/dist/worker/assets/assets/js/homesort.js +43 -4
- package/dist/worker/assets/assets/js/icons.js +2 -0
- package/dist/worker/assets/assets/js/select.js +362 -0
- package/dist/worker/assets/assets/js/views/graph.js +67 -28
- package/dist/worker/assets/assets/js/views/home.js +98 -112
- package/dist/worker/assets/assets/js/views/people.js +8 -2
- package/dist/worker/assets/assets/js/views/runs.js +3 -1
- package/dist/worker/assets/docs-images/brain.jpg +0 -0
- package/dist/worker/assets/docs-images/home.jpg +0 -0
- package/dist/worker/assets/docs-images/org.jpg +0 -0
- package/dist/worker/assets/docs-images/prompt.jpg +0 -0
- package/dist/worker/assets/docs-images/setup-org.jpg +0 -0
- package/dist/worker/assets/docs-images/setup-plan.jpg +0 -0
- package/dist/worker/assets/docs-images/staff.jpg +0 -0
- package/dist/worker/assets/index.html +11 -3
- package/dist/worker/index.js +28 -4
- package/docs/getting-started.md +1 -1
- package/docs/images/brain.jpg +0 -0
- package/docs/images/home.jpg +0 -0
- package/docs/images/org.jpg +0 -0
- package/docs/images/prompt.jpg +0 -0
- package/docs/images/setup-org.jpg +0 -0
- package/docs/images/setup-plan.jpg +0 -0
- package/docs/images/staff.jpg +0 -0
- package/docs/portal.md +16 -11
- package/package.json +7 -1
- package/templates/portal/css/astryx.css +948 -0
- package/templates/portal/css/base.css +47 -112
- package/templates/portal/css/brain.css +15 -11
- package/templates/portal/css/graph.css +9 -12
- package/templates/portal/css/health.css +4 -7
- package/templates/portal/css/home.css +27 -29
- package/templates/portal/css/layout.css +10 -20
- package/templates/portal/css/markdown.css +1 -1
- package/templates/portal/css/runs.css +5 -3
- package/templates/portal/css/search.css +3 -6
- package/templates/portal/css/setup.css +3 -15
- package/templates/portal/index.html +11 -3
- package/templates/portal/js/app.js +2 -0
- package/templates/portal/js/astryx-ui.js +34 -0
- package/templates/portal/js/homesort.js +43 -4
- package/templates/portal/js/icons.js +2 -0
- package/templates/portal/js/select.js +362 -0
- package/templates/portal/js/views/graph.js +67 -28
- package/templates/portal/js/views/home.js +98 -112
- package/templates/portal/js/views/people.js +8 -2
- package/templates/portal/js/views/runs.js +3 -1
package/dist/cli.js
CHANGED
|
@@ -7829,10 +7829,19 @@ function extras(n) {
|
|
|
7829
7829
|
if (closer) out.closedBy = closer;
|
|
7830
7830
|
const last = n.last?.nodes?.[0];
|
|
7831
7831
|
if (last) {
|
|
7832
|
+
const body2 = String(last.body ?? "");
|
|
7832
7833
|
out.lastComment = {
|
|
7833
7834
|
author: last.author?.login ?? "",
|
|
7834
7835
|
createdAt: last.createdAt,
|
|
7835
|
-
body:
|
|
7836
|
+
body: body2.slice(0, 800),
|
|
7837
|
+
// As GitHub links them: an @login in prose, not an email address or a path.
|
|
7838
|
+
mentions: [
|
|
7839
|
+
...new Set(
|
|
7840
|
+
[...body2.matchAll(/(?<![\w@/.-])@([a-z\d](?:[a-z\d-]{0,38}))/gi)].map(
|
|
7841
|
+
(m) => String(m[1]).toLowerCase()
|
|
7842
|
+
)
|
|
7843
|
+
)
|
|
7844
|
+
]
|
|
7836
7845
|
};
|
|
7837
7846
|
}
|
|
7838
7847
|
const due = dueOf(n.body ?? "");
|