Skip to content

Commit 925c7b0

Browse files
authored
Remove consent dialog (#135)
After user complaints, we are removing this and will iterate again shortly.
1 parent a679b64 commit 925c7b0

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

src/content/github/file/main.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ import {
3232
} from "../common/fetchers";
3333
import { print } from "src/utils";
3434
import Sentry from "../../common/sentry";
35-
import { ensureConsent } from "../common/consent";
3635

3736
const globals: {
3837
coverageReport?: FileCoverageReport;
@@ -60,11 +59,6 @@ function init(): Promise<void> {
6059

6160
async function main(): Promise<void> {
6261
try {
63-
const consent = await ensureConsent();
64-
if (!consent) {
65-
return;
66-
}
67-
6862
const urlMetadata = getMetadataFromURL();
6963
if (!urlMetadata) {
7064
print("file not detected at current URL");

src/content/github/pr/main.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,13 @@ import { print } from "src/utils";
1515
import { getPRReport } from "../common/fetchers";
1616
import { isPrUrl } from "../common/utils";
1717
import Sentry from "src/content/common/sentry";
18-
import { ensureConsent } from "../common/consent";
1918

2019
const globals: {
2120
coverageReport?: PullCoverageReport;
2221
} = {};
2322

2423
async function main() {
2524
try {
26-
const consent = await ensureConsent({ checkOnly: true });
27-
if (!consent) {
28-
return;
29-
}
30-
3125
document.addEventListener("soft-nav:end", execute);
3226
await execute();
3327
} catch (e) {

0 commit comments

Comments
 (0)