Openstatus www.openstatus.dev
6
fork

Configure Feed

Select the types of activity you want to include in your feed.

๐Ÿ“ screenshot changelog (#745)

authored by

Thibault Le Ouay and committed by
GitHub
59162957 6d738d3d

+17 -1
+1 -1
apps/screenshot-worker/src/index.ts
··· 55 55 const db = createDrizzleClient(env); 56 56 const browser = await puppeteer.launch(c.env.MYBROWSER); 57 57 const page = await browser.newPage(); 58 - await page.goto(data.url); 58 + await page.goto(data.url, { waitUntil: "networkidle2" }); 59 59 const img = await page.screenshot(); 60 60 const id = `${data.incidentId}-${Date.now()}.png`; 61 61 const url = `https://screenshot.openstat.us/${id}`;
apps/web/public/assets/changelog/screenshot-incident.png

This is a binary file and will not be displayed.

+16
apps/web/src/content/changelog/screenshot-incident.mdx
··· 1 + --- 2 + title: Website screenshots for incidents 3 + description: 4 + When creating an incident, we capture a website screenshot for added context. 5 + We also take a screenshot upon resolving the incident to see the website 6 + post-resolution. 7 + image: /assets/changelog/screenshot-incident.png 8 + publishedAt: 2024-04-05 9 + --- 10 + 11 + We want to provide you with as much context as possible when an incident occurs. 12 + That's why we've added website screenshots to incidents. 13 + 14 + When creating an incident, we capture a website screenshot for added context. We 15 + also take a screenshot upon resolving the incident to see the website 16 + post-resolution.