Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/frontend/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -2154,7 +2154,7 @@ function renderLauncherCard(projKey, projInfo) {
'aria-label="' + escHtml(recloneAria) + '">↓ Re-clone</button>';
}
if (projInfo.manualId) {
missingActions += '<button class="git-project-launch-btn" data-proj-id="' + escHtml(projInfo.manualId) + '" data-proj-name="' + escHtml(projName) + '" onclick="unregisterProject(this.dataset.projId,this.dataset.projName)" title="Remove from registry (does not delete files)" aria-label="Remove ' + escHtml(projName) + ' from the list">× Remove</button>';
missingActions += '<button class="git-project-launch-btn remove-btn" data-proj-id="' + escHtml(projInfo.manualId) + '" data-proj-name="' + escHtml(projName) + '" onclick="unregisterProject(this.dataset.projId,this.dataset.projName)" title="Remove from registry (does not delete files)" aria-label="Remove ' + escHtml(projName) + ' from the list">× Remove</button>';
}
if (missingActions) html += '<div class="launcher-card-actions">' + missingActions + '</div>';
// Keep History drill-in available even when the folder is gone (sessions
Expand All @@ -2165,6 +2165,7 @@ function renderLauncherCard(projKey, projInfo) {
html += '</div>';
return html;
}
html += '<div class="launcher-card-actions">';
if (canLaunch && preferredTool) {
var newAria = 'Start new ' + agentLabel(preferredTool) + ' session in ' + projName;
var pickerAria = 'Pick a different agent for ' + projName;
Expand Down Expand Up @@ -2211,7 +2212,7 @@ function renderLauncherCard(projKey, projInfo) {
'</select>';
}
if (projInfo.manualId) {
html += '<button class="git-project-launch-btn" data-proj-id="' + escHtml(projInfo.manualId) + '" data-proj-name="' + escHtml(projName) + '" onclick="unregisterProject(this.dataset.projId,this.dataset.projName)" title="Remove from registry (does not delete files)">&times;</button>';
html += '<button class="git-project-launch-btn remove-btn" data-proj-id="' + escHtml(projInfo.manualId) + '" data-proj-name="' + escHtml(projName) + '" onclick="unregisterProject(this.dataset.projId,this.dataset.projName)" title="Remove from registry (does not delete files)" aria-label="Remove ' + escHtml(projName) + ' from the list">&times;</button>';
}
html += '</div>';

Expand Down
18 changes: 16 additions & 2 deletions src/frontend/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -4650,15 +4650,29 @@ body[data-view="overview"] .toolbar { display: none; }
[data-theme="light"] .launcher-card-actions .split-btn .new-btn {
border-right-color: rgba(0, 0, 0, 0.2);
}
.launcher-card-actions button.git-project-launch-btn {
.launcher-card-actions .git-project-launch-btn {
margin: 0;
padding: 6px 12px;
font-size: 12px;
}
.launcher-card-actions button.git-project-launch-btn:focus-visible {
.launcher-card-actions .git-project-launch-btn:focus-visible {
outline: 2px solid var(--accent-blue);
outline-offset: 2px;
}
.launcher-card-actions select.git-project-launch-btn {
padding-right: 8px;
}
/* Remove is destructive-but-rare — push it to the end of the row and keep it
visually quiet so it doesn't compete with the launch/resume actions. */
.launcher-card-actions .remove-btn {
margin-left: auto;
color: var(--text-muted);
padding: 6px 9px;
}
.launcher-card-actions .remove-btn:hover {
color: var(--accent-red, #f87171);
border-color: var(--accent-red, #f87171);
}
.launcher-card-link {
margin-top: auto;
font-size: 11px;
Expand Down
Loading