ework-web 0.10.31 → 0.10.32

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ework-web",
3
- "version": "0.10.31",
3
+ "version": "0.10.32",
4
4
  "type": "module",
5
5
  "description": "ework-web — standalone multi-project issue tracker. Local SQLite-backed, no external API dependency. Bun + TypeScript + SSR HTML.",
6
6
  "license": "MIT",
@@ -20,11 +20,10 @@ function issueRow(
20
20
  const href = `/${encodeURIComponent(owner)}/${encodeURIComponent(repo)}/issues/${it.number}`;
21
21
  const title = q ? highlightAll(it.title, q) : escapeHtml(it.title);
22
22
  const chips = labels.length
23
- ? `<div class="row-labels">${labels.map((l) => labelChip(l, owner, repo, state)).join("")}</div>`
23
+ ? `<span class="row-labels">${labels.map((l) => labelChip(l, owner, repo, state)).join("")}</span>`
24
24
  : "";
25
25
  return `<a class="row" href="${escapeAttr(href)}">
26
- <div class="row-title">${title}</div>
27
- ${chips}
26
+ <div class="row-title">${title}${chips}</div>
28
27
  <div class="row-meta">#${it.number} · 💬 ${it.comment_count} · ${relTime(it.updated_at)}</div>
29
28
  </a>`;
30
29
  }
@@ -79,8 +78,8 @@ export async function buildIssueList(
79
78
  .row-title{font-weight:500;overflow-wrap:anywhere}
80
79
  .row-meta{color:var(--text-muted);font-size:12px;margin-top:.2rem}
81
80
  .empty{color:var(--text-muted);text-align:center;padding:2rem;font-size:13px}
82
- .row-labels{display:flex;flex-wrap:wrap;gap:.25rem;margin-top:.2rem}
83
- .issue-label{display:inline-block;padding:1px 7px;border-radius:10px;font-size:11px;font-weight:500;color:#fff;text-decoration:none;line-height:18px;white-space:nowrap}
81
+ .row-labels{display:inline;gap:.2rem;margin-left:.4rem}
82
+ .issue-label{display:inline-block;padding:0 5px;border-radius:6px;font-size:10px;font-weight:600;color:#fff;text-decoration:none;line-height:16px;white-space:nowrap;vertical-align:1px}
84
83
  .issue-label:hover{opacity:.85;text-decoration:none}
85
84
  .label-filter{font-size:13px;color:var(--text-muted);margin-bottom:.4rem}
86
85
  .label-filter strong{color:var(--text)}
@@ -14,11 +14,10 @@ function issueRow(it: IssueWithMeta, q: string, state: string, labels: LabelRow[
14
14
  const title = q ? highlightAll(it.title, q) : escapeHtml(it.title);
15
15
  const projectStr = `${escapeHtml(it.project_owner)}<span style="opacity:.55">/</span>${escapeHtml(it.project_name)}`;
16
16
  const chips = labels.length
17
- ? `<div class="row-labels">${labels.map((l) => labelChip(l, it.project_owner, it.project_name, state)).join("")}</div>`
17
+ ? `<span class="row-labels">${labels.map((l) => labelChip(l, it.project_owner, it.project_name, state)).join("")}</span>`
18
18
  : "";
19
19
  return `<a class="row" href="${escapeAttr(href)}">
20
- <div class="row-title">${title}</div>
21
- ${chips}
20
+ <div class="row-title">${title}${chips}</div>
22
21
  <div class="row-meta">${projectStr} · #${it.number} · 💬 ${it.comment_count} · ${relTime(it.updated_at)}</div>
23
22
  </a>`;
24
23
  }
@@ -60,8 +59,8 @@ export async function buildIssuesFeed(
60
59
  .row-title{font-weight:500;overflow-wrap:anywhere}
61
60
  .row-meta{color:var(--text-muted);font-size:12px;margin-top:.2rem}
62
61
  .empty{color:var(--text-muted);text-align:center;padding:2rem;font-size:13px}
63
- .row-labels{display:flex;flex-wrap:wrap;gap:.25rem;margin-top:.2rem}
64
- .issue-label{display:inline-block;padding:1px 7px;border-radius:10px;font-size:11px;font-weight:500;color:#fff;text-decoration:none;line-height:18px;white-space:nowrap}
62
+ .row-labels{display:inline;gap:.2rem;margin-left:.4rem}
63
+ .issue-label{display:inline-block;padding:0 5px;border-radius:6px;font-size:10px;font-weight:600;color:#fff;text-decoration:none;line-height:16px;white-space:nowrap;vertical-align:1px}
65
64
  .issue-label:hover{opacity:.85;text-decoration:none}
66
65
  .label-filter{font-size:13px;color:var(--text-muted);margin-bottom:.4rem}
67
66
  .label-filter strong{color:var(--text)}