Compare commits
No commits in common. "e419466257b8a454bdb05f7f3c26f2190e1e5c2a" and "4d982680b3fd6d6b33b9d309727654a3f40f8e93" have entirely different histories.
e419466257
...
4d982680b3
@ -329,11 +329,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.task-command {
|
.task-command {
|
||||||
/* Bright mint to match the .status-running / .status-completed pills.
|
color: var(--status-success);
|
||||||
The theme's --status-success (#28a745) reads muddy olive on nebula —
|
|
||||||
this is the same #86efac treatment used by the status pills + the
|
|
||||||
setup-wizard valid border + the apps "Installed" pill. */
|
|
||||||
color: #86efac;
|
|
||||||
font-family: 'Courier New', monospace;
|
font-family: 'Courier New', monospace;
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
|
|||||||
@ -491,18 +491,8 @@ class TasksManager {
|
|||||||
if (this.highlightedTaskId) {
|
if (this.highlightedTaskId) {
|
||||||
message = `Task ${this.highlightedTaskId} not found`;
|
message = `Task ${this.highlightedTaskId} not found`;
|
||||||
} else {
|
} else {
|
||||||
// Category display names sometimes already end in "Tasks" (e.g.
|
const categoryName = this.getCategoryDisplayName(this.currentCategory);
|
||||||
// "All Tasks", "Running Tasks") — naive interpolation produced
|
message = `No ${categoryName.toLowerCase()} tasks found`;
|
||||||
// "No all tasks tasks found". Strip the trailing word when
|
|
||||||
// present, and special-case the "all" bucket to read naturally.
|
|
||||||
const catLow = this.getCategoryDisplayName(this.currentCategory).toLowerCase();
|
|
||||||
if (catLow === 'all tasks' || catLow === 'all') {
|
|
||||||
message = 'No tasks found';
|
|
||||||
} else if (catLow.endsWith(' tasks')) {
|
|
||||||
message = `No ${catLow} found`;
|
|
||||||
} else {
|
|
||||||
message = `No ${catLow} tasks found`;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
container.innerHTML = `
|
container.innerHTML = `
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user