mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
feat: pipeline templates, analytics opt-out, 83 conversion presets, positioning + e2e modernization
Lands five integrated branches: pipeline templates (#355), analytics opt-out (#354), 83 conversion presets bringing the catalog to 240 tools (#356), self-hosted positioning (#353), and e2e modernization (#351). Integration fixes: aligned stale web analytics tests with the opt-out/allow-list model, closed 3 CodeQL incomplete-sanitization alerts in the i18n generator, resolved settings/index/docs/format-matrix conflicts, and corrected tool counts to 240.
This commit is contained in:
@@ -155,22 +155,27 @@ function matchRoute(url: string, method: string): Response | null {
|
||||
enableExperimentalTools: "false",
|
||||
defaultToolView: "sidebar",
|
||||
defaultTheme: "system",
|
||||
analyticsEnabled: "false",
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
if (path === "/api/v1/settings" && method === "PUT") {
|
||||
return json({ ok: true, updatedCount: 0 });
|
||||
}
|
||||
|
||||
if (path === "/api/v1/features" && method === "GET") {
|
||||
return json({ bundles: FEATURE_BUNDLES });
|
||||
}
|
||||
|
||||
if (path === "/api/v1/config/analytics" && method === "GET") {
|
||||
return json({
|
||||
enabled: true,
|
||||
enabled: false,
|
||||
posthogApiKey: "",
|
||||
posthogHost: "",
|
||||
sentryDsn: "",
|
||||
sampleRate: 0,
|
||||
instanceId: "demo-instance",
|
||||
instanceId: "",
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user