@yemi33/minions 0.1.1965 → 0.1.1966
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/dashboard/js/render-other.js +5 -2
- package/dashboard/styles.css +21 -4
- package/package.json +1 -1
|
@@ -23,17 +23,20 @@ function renderProjects(projects) {
|
|
|
23
23
|
|
|
24
24
|
// Renders the per-project current-branch indicator. Driven by the gitState
|
|
25
25
|
// classifier emitted by getProjectGitStatus() in engine/queries.js.
|
|
26
|
+
// Adds a title attribute carrying the full branch name so users can still
|
|
27
|
+
// read it on hover after the CSS ellipsis-truncate (W-mpayac6d000b7d33).
|
|
26
28
|
function _renderProjectBranch(p) {
|
|
27
29
|
if (!p) return '';
|
|
28
30
|
if (p.gitState === 'missing') return '<span class="project-warn" title="Project localPath does not exist on disk">(path not found)</span>';
|
|
29
31
|
if (p.gitState === 'non-git') return '<span class="project-muted" title="Project path exists but is not a git repository">(not a git repo)</span>';
|
|
30
32
|
if (p.gitState !== 'ok' || !p.gitBranch) return '';
|
|
31
33
|
const branch = escHtml(p.gitBranch);
|
|
34
|
+
const titleAttr = ' title="on: ' + branch + (p.gitDetached ? ' (detached)' : '') + (p.gitDirty ? ' (dirty)' : '') + '"';
|
|
32
35
|
const dirty = p.gitDirty ? ' <span class="dot-dirty" title="Working tree has uncommitted changes">●</span>' : '';
|
|
33
36
|
if (p.gitDetached) {
|
|
34
|
-
return '<span class="project-branch">on: ' + branch + ' <span class="muted">(detached)</span>' + dirty + '</span>';
|
|
37
|
+
return '<span class="project-branch"' + titleAttr + '>on: ' + branch + ' <span class="muted">(detached)</span>' + dirty + '</span>';
|
|
35
38
|
}
|
|
36
|
-
return '<span class="project-branch">on: ' + branch + dirty + '</span>';
|
|
39
|
+
return '<span class="project-branch"' + titleAttr + '>on: ' + branch + dirty + '</span>';
|
|
37
40
|
}
|
|
38
41
|
|
|
39
42
|
function _projectCachePath(project) {
|
package/dashboard/styles.css
CHANGED
|
@@ -709,9 +709,26 @@
|
|
|
709
709
|
/* Ensure all tables scroll horizontally on narrow screens */
|
|
710
710
|
.pr-table-wrap, #pr-content, #completed-content, #work-items-content { overflow-x: auto; min-width: 0; }
|
|
711
711
|
|
|
712
|
-
/* Project chip — current git branch indicator
|
|
713
|
-
|
|
712
|
+
/* Project chip — current git branch indicator.
|
|
713
|
+
* max-width + ellipsis truncation prevents pathological branch names
|
|
714
|
+
* (e.g. `pipeline/daily-issue-fix/...`) from widening the inline-flex chip
|
|
715
|
+
* past the viewport. Full text remains available via the title attribute
|
|
716
|
+
* added in render-other.js _renderProjectBranch. (W-mpayac6d000b7d33) */
|
|
717
|
+
.project-branch {
|
|
718
|
+
font-size: 10px; color: var(--muted); font-weight: 400;
|
|
719
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
720
|
+
display: inline-block; max-width: 240px; overflow: hidden;
|
|
721
|
+
text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom;
|
|
722
|
+
}
|
|
714
723
|
.project-branch .muted { color: var(--muted); }
|
|
715
724
|
.project-branch .dot-dirty { color: var(--yellow); margin-left: 2px; }
|
|
716
|
-
.project-warn {
|
|
717
|
-
|
|
725
|
+
.project-warn {
|
|
726
|
+
font-size: 10px; color: var(--yellow); font-style: italic; font-weight: 400;
|
|
727
|
+
display: inline-block; max-width: 240px; overflow: hidden;
|
|
728
|
+
text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom;
|
|
729
|
+
}
|
|
730
|
+
.project-muted {
|
|
731
|
+
font-size: 10px; color: var(--muted); font-style: italic; font-weight: 400;
|
|
732
|
+
display: inline-block; max-width: 240px; overflow: hidden;
|
|
733
|
+
text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom;
|
|
734
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1966",
|
|
4
4
|
"description": "Multi-agent AI dev team that runs from ~/.minions/ — five autonomous agents share a single engine, dashboard, and knowledge base",
|
|
5
5
|
"bin": {
|
|
6
6
|
"minions": "bin/minions.js"
|