feat(privacy): complete the publication, hiding and preview settings screen

This commit is contained in:
shira committed 2026-10-09 12:47:26 +03:00
1 parent c2a8d17195
commit 5edff21d2d
28 files changed
+2230 -428

No files matched your search

+5 -1
View File
@@ -24,8 +24,12 @@ function consentListResponse(response: {
url(): string;
request(): { method(): string };
}): boolean {
// The privacy screen also reads the active-only list to check C2, so only the
// full history (no state filter) is the list this suite compares.
const url = new URL(response.url());
return (
new URL(response.url()).pathname === "/api/v1/me/consents" &&
url.pathname === "/api/v1/me/consents" &&
!url.searchParams.has("state") &&
response.request().method() === "GET"
);
}