Skip to content

Open-source status page, incident response and uptime monitoring

📝 screenshot changelog (#745)

Thibault Le Ouay59162957facb
diff --git a/apps/screenshot-worker/src/index.ts b/apps/screenshot-worker/src/index.ts
index 0ce2b7395..17716ffb1 100644
--- a/apps/screenshot-worker/src/index.ts
+++ b/apps/screenshot-worker/src/index.ts
@@ -55,7 +55,7 @@ app.post(
const db = createDrizzleClient(env);
const browser = await puppeteer.launch(c.env.MYBROWSER);
const page = await browser.newPage();
- await page.goto(data.url);
+ await page.goto(data.url, { waitUntil: "networkidle2" });
const img = await page.screenshot();
const id = `${data.incidentId}-${Date.now()}.png`;
const url = `https://screenshot.openstat.us/${id}`;
diff --git a/apps/web/public/assets/changelog/screenshot-incident.png b/apps/web/public/assets/changelog/screenshot-incident.png
new file mode 100644
index 000000000..ece6afecb
Binary files /dev/null and b/apps/web/public/assets/changelog/screenshot-incident.png differ
diff --git a/apps/web/src/content/changelog/screenshot-incident.mdx b/apps/web/src/content/changelog/screenshot-incident.mdx
new file mode 100644
index 000000000..1a94867a5
--- /dev/null
+++ b/apps/web/src/content/changelog/screenshot-incident.mdx
@@ -0,0 +1,16 @@
+---
+title: Website screenshots for incidents
+description:
+ When creating an incident, we capture a website screenshot for added context.
+ We also take a screenshot upon resolving the incident to see the website
+ post-resolution.
+image: /assets/changelog/screenshot-incident.png
+publishedAt: 2024-04-05
+---
+
+We want to provide you with as much context as possible when an incident occurs.
+That's why we've added website screenshots to incidents.
+
+When creating an incident, we capture a website screenshot for added context. We
+also take a screenshot upon resolving the incident to see the website
+post-resolution.