feat(design): a library row keeps Share (the link copy) in sight, ahead of save (E28 S3e3)

The owner's call: sharing a download's link is the library's main errand, more
important than saving the file, so it does not hide in the row's "…". Manage
sharing stays in the menu. The "…" tests press as a mouse, so a stray long-press
timer no longer fires after teardown.
This commit is contained in:
2026-09-26 07:21:21 +02:00
parent 2df60fbf07
commit 9c91eb5d22
7 changed files with 54 additions and 23 deletions
@@ -150,7 +150,7 @@ describe("NotificationsPanel · a server row", () => {
for (const name of ["Ready 1", "Activity 8"]) {
await openMenu(() => fireEvent.click(moreOf(name)));
act(() => {
fireEvent.pointerDown(moreOf(name));
fireEvent.pointerDown(moreOf(name), { pointerType: "mouse" });
fireEvent.mouseDown(moreOf(name));
fireEvent.click(moreOf(name), { detail: 1 });
});
@@ -168,7 +168,7 @@ describe("NotificationsPanel · a server row", () => {
h.server = [server(1)]; // the next poll: a NEW object for the same notification
rerender();
act(() => {
fireEvent.pointerDown(moreOf("Ready 1"));
fireEvent.pointerDown(moreOf("Ready 1"), { pointerType: "mouse" });
fireEvent.mouseDown(moreOf("Ready 1"));
fireEvent.click(moreOf("Ready 1"), { detail: 1 });
});