feat(updates): use compact one-line lists and underline tabs in update center

This commit is contained in:
t8y2 committed 2026-09-25 16:12:15 +08:00
1 parent 94a8fd6790
commit 0fbdd86ac3
4 files changed
+44 -32

No files matched your search

+1 -1
View File
@@ -686,7 +686,7 @@ describe("UpdateDialog aggregate update center", () => {
// "Update all" skips the changed-source plugin, so the dialog has to explain why it stays.
const hint = "Confirm the change in the Plugin Center first";
const rows = [...document.body.querySelectorAll<HTMLElement>(".rounded-md.border.p-3")];
const rows = [...document.body.querySelectorAll<HTMLElement>("[data-update-entry]")];
const rowFor = (name: string) => rows.find((row) => row.textContent?.includes(name));
expect(rowFor("moved plugin")?.textContent).toContain(hint);
expect(rowFor("same plugin")?.textContent).not.toContain(hint);