Skip to content

Open-source status page, incident response and uptime monitoring

chore: drop embeded tweet (#2191)

Maximilian Kaske37b331496426
diff --git a/apps/web/package.json b/apps/web/package.json
index 8053e69a0..79bd4caa6 100644
--- a/apps/web/package.json
+++ b/apps/web/package.json
@@ -79,7 +79,6 @@
"react-dom": "catalog:",
"react-hook-form": "catalog:",
"react-medium-image-zoom": "catalog:",
- "react-tweet": "catalog:",
"reading-time": "catalog:",
"recharts": "catalog:",
"remark-gfm": "catalog:",
diff --git a/apps/web/public/assets/posts/2023-year-review/launch-tweet.png b/apps/web/public/assets/posts/2023-year-review/launch-tweet.png
new file mode 100644
index 000000000..16142e372
Binary files /dev/null and b/apps/web/public/assets/posts/2023-year-review/launch-tweet.png differ
diff --git a/apps/web/public/assets/posts/migration-auth-clerk-to-next-auth/plicrow-comment.png b/apps/web/public/assets/posts/migration-auth-clerk-to-next-auth/plicrow-comment.png
new file mode 100644
index 000000000..6b83e51f4
Binary files /dev/null and b/apps/web/public/assets/posts/migration-auth-clerk-to-next-auth/plicrow-comment.png differ
diff --git a/apps/web/public/assets/posts/the-first-48-hours/guillerme-comment.png b/apps/web/public/assets/posts/the-first-48-hours/guillerme-comment.png
new file mode 100644
index 000000000..a06a6fa7d
Binary files /dev/null and b/apps/web/public/assets/posts/the-first-48-hours/guillerme-comment.png differ
diff --git a/apps/web/src/content/convert.ts b/apps/web/src/content/convert.ts
index be439232f..b56af9af0 100644
--- a/apps/web/src/content/convert.ts
+++ b/apps/web/src/content/convert.ts
@@ -74,10 +74,6 @@ export function convertMdxToMarkdown(data: MDXData): string {
);
// Step 6: Replace interactive components with HTML comments
- markdown = markdown.replace(
- /<Tweet[^>]*(?:\/>|>[\s\S]*?<\/Tweet>)/g,
- "<!-- Tweet omitted -->",
- );
markdown = markdown.replace(
/<StatusPageExample[^>]*(?:\/>|>[\s\S]*?<\/StatusPageExample>)/g,
"<!-- StatusPageExample omitted -->",
diff --git a/apps/web/src/content/mdx-components/index.tsx b/apps/web/src/content/mdx-components/index.tsx
index ef3e2998f..e2e82cc63 100644
--- a/apps/web/src/content/mdx-components/index.tsx
+++ b/apps/web/src/content/mdx-components/index.tsx
@@ -11,7 +11,6 @@ import { Pre } from "./pre";
import { PricingTabs } from "./pricing-tabs";
import { MDXStatusPageExample } from "./status-page-example";
import { Table } from "./table";
-import { MDXTweet } from "./tweet";
export { slugify } from "./heading";
@@ -32,7 +31,6 @@ export const components = {
Details, // Capital D for JSX usage with props
details: Details, // lowercase for HTML tag replacement
SimpleChart: LatencyChartTable,
- Tweet: MDXTweet,
StatusPageExample: MDXStatusPageExample,
PricingTabs,
Suspense: Suspense,
diff --git a/apps/web/src/content/mdx-components/tweet.tsx b/apps/web/src/content/mdx-components/tweet.tsx
deleted file mode 100644
index 22225e460..000000000
--- a/apps/web/src/content/mdx-components/tweet.tsx
+++ /dev/null
@@ -1,9 +0,0 @@
-import { Tweet, type TweetProps } from "react-tweet";
-
-export function MDXTweet(props: TweetProps) {
- return (
- <div data-theme="light" className="not-prose [&>div]:mx-auto">
- <Tweet {...props} />
- </div>
- );
-}
diff --git a/apps/web/src/content/pages/blog/2023-year-review.mdx b/apps/web/src/content/pages/blog/2023-year-review.mdx
index d66faa728..de2a05ff7 100644
--- a/apps/web/src/content/pages/blog/2023-year-review.mdx
+++ b/apps/web/src/content/pages/blog/2023-year-review.mdx
@@ -45,7 +45,12 @@ future of OpenStatus.
Max's Twitter thread went viral, gaining us a lot of attention on the platform.
-<Tweet id="1685666982786404352" />
+<Image
+ alt="Max's launch thread going viral on Twitter"
+ src="/assets/posts/2023-year-review/launch-tweet.png"
+/>
+
+_Read the [original thread](https://x.com/mxkaske/status/1685666982786404352) on X._
After that OpenStatus trended on GitHub for a few days.
diff --git a/apps/web/src/content/pages/blog/migration-auth-clerk-to-next-auth.mdx b/apps/web/src/content/pages/blog/migration-auth-clerk-to-next-auth.mdx
index 298c9d23f..9de17227a 100644
--- a/apps/web/src/content/pages/blog/migration-auth-clerk-to-next-auth.mdx
+++ b/apps/web/src/content/pages/blog/migration-auth-clerk-to-next-auth.mdx
@@ -53,7 +53,12 @@ that is gaining popularity built by [Pilcrow](https://pilcrowonpaper.com/).
We were scared about the stability and direction of the project. When you
implement authentication, you want to do it once and forget about it after.
-<Tweet id="1785701672012107841" />
+<Image
+ alt="Pilcrow's tweet about the direction of the project"
+ src="/assets/posts/migration-auth-clerk-to-next-auth/plicrow-comment.png"
+/>
+
+_Read the [original tweet](https://x.com/i/web/status/1785701672012107841) on X._
We decided to go with NextAuth because it was more mature, and it seemed more
stable to us. Additionally, we both had some experience with NextAuth. It was a
diff --git a/apps/web/src/content/pages/blog/the-first-48-hours.mdx b/apps/web/src/content/pages/blog/the-first-48-hours.mdx
index 1380fa550..461e0cd01 100644
--- a/apps/web/src/content/pages/blog/the-first-48-hours.mdx
+++ b/apps/web/src/content/pages/blog/the-first-48-hours.mdx
@@ -98,7 +98,12 @@ own service, [planetfall.io](https://planetfall.io).
Also, Guilherme had a very good comment:
-<Tweet id="1686482013685940224" />
+<Image
+ alt="Guilherme's comment on the incident"
+ src="/assets/posts/the-first-48-hours/guillerme-comment.png"
+/>
+
+_Read the [original tweet](https://x.com/i/web/status/1686482013685940224) on X._
As a result of this incident, we will be reevaluating the prices and plans
displayed on our homepage.
diff --git a/patches/[email protected] b/patches/[email protected]
deleted file mode 100644
index 5f625f4ea..000000000
--- a/patches/[email protected]
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/dist/utils.js
-+++ b/dist/utils.js
-@@ -82,6 +82,7 @@
- });
- }
- function addEntities(result, type, entities) {
-+ if (!entities) return;
- for (const entity of entities){
- for (const [i, item] of result.entries()){
- if (item.indices[0] > entity.indices[0] || item.indices[1] < entity.indices[1]) {
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index dbb98cfdd..9eb2b7c1e 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -468,9 +468,6 @@ catalogs:
react-medium-image-zoom:
specifier: 5.4.5
version: 5.4.5
- react-tweet:
- specifier: 3.3.0
- version: 3.3.0
reading-time:
specifier: 1.5.0
version: 1.5.0
@@ -574,9 +571,6 @@ catalogs:
specifier: 4.1.13
version: 4.1.13
-patchedDependencies:
- [email protected]: 92eafba289fc37e9c3b6ed1a7ca995f5aed82f43e0303fa9ae3b1a6a525bbe63
-
importers:
.:
@@ -586,7 +580,7 @@ importers:
version: 1.8.3
'@turbo/gen':
specifier: 'catalog:'
'@types/node':
specifier: 'catalog:'
version: 24.12.4
@@ -766,7 +760,7 @@ importers:
'@sentry/nextjs':
specifier: 'catalog:'
'@stripe/stripe-js':
specifier: 'catalog:'
version: 2.4.0
@@ -1265,7 +1259,7 @@ importers:
'@sentry/nextjs':
specifier: 'catalog:'
'@stripe/stripe-js':
specifier: 'catalog:'
version: 2.4.0
@@ -1319,7 +1313,7 @@ importers:
next-intl:
specifier: 'catalog:'
next-plausible:
specifier: 'catalog:'
@@ -1500,7 +1494,7 @@ importers:
version: link:../../packages/utils
'@sentry/nextjs':
specifier: 'catalog:'
'@stripe/stripe-js':
specifier: 'catalog:'
version: 2.4.0
@@ -1609,9 +1603,6 @@ importers:
react-medium-image-zoom:
specifier: 'catalog:'
- react-tweet:
- specifier: 'catalog:'
- version: 3.3.0(patch_hash=92eafba289fc37e9c3b6ed1a7ca995f5aed82f43e0303fa9ae3b1a6a525bbe63)([email protected]([email protected]))([email protected])
reading-time:
specifier: 'catalog:'
version: 1.5.0
@@ -2631,7 +2622,7 @@ importers:
version: 4.3.0
tsup:
specifier: 'catalog:'
typescript:
specifier: 'catalog:'
version: 5.9.3
@@ -2989,7 +2980,7 @@ importers:
version: 24.12.4
tsup:
specifier: 'catalog:'
typescript:
specifier: 'catalog:'
version: 5.9.3
@@ -7273,9 +7264,6 @@ packages:
resolution: {integrity: sha512-JQ5TuMi45Owi4/BIMAJBoSQoOJu12oOk/gADqlcUL9JEdHB8vyjUSsxqeNXnmXHjYKMi2WcYtezGEEhqUI/E2g==}
- resolution: {integrity: sha512-5IKx/Y13RsYd+sauPb2x+U/xZikHjolzfuDgTAl/Tdf3Q8rslRvC19NKDLgAJQ6wsqADk10ntlv08nPFw/gO/A==}
-
resolution: {integrity: sha512-iAoY/qRhNH8a/hBvm3zKj9qQ4oc2+3w1unPJa2XvTK3XjeLXtzcCingVPw/9e5mn1+0yPqxcBGp9Jf0pkfMb1g==}
@@ -11250,12 +11238,6 @@ packages:
react: '>=16.6.0'
react-dom: '>=16.6.0'
- resolution: {integrity: sha512-gSIG2169ZK7UH6rBzuU+j1xnQbH3IlOTLEkuGrRiJJTMgETik+h+26yHyyVKrLkzwrOaYPk4K3OtEKycqKgNLw==}
- peerDependencies:
- react: ^18.0.0 || ^19.0.0
- react-dom: ^18.0.0 || ^19.0.0
-
resolution: {integrity: sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==}
engines: {node: '>=0.10.0'}
@@ -16727,7 +16709,7 @@ snapshots:
'@sentry/types': 8.9.2
'@sentry/utils': 8.9.2
dependencies:
'@opentelemetry/api': 1.9.1
'@opentelemetry/semantic-conventions': 1.41.1
@@ -16739,7 +16721,7 @@ snapshots:
'@sentry/opentelemetry': 10.53.1(@opentelemetry/[email protected])(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected])
'@sentry/react': 10.53.1([email protected])
'@sentry/vercel-edge': 10.53.1
- '@sentry/webpack-plugin': 5.3.0([email protected](@swc/[email protected](@swc/[email protected])))
+ '@sentry/webpack-plugin': 5.3.0([email protected](@swc/[email protected]))
rollup: 4.60.4
stacktrace-parser: 0.1.11
@@ -16825,10 +16807,10 @@ snapshots:
'@opentelemetry/resources': 2.7.1(@opentelemetry/[email protected])
'@sentry/core': 10.53.1
dependencies:
'@sentry/bundler-plugin-core': 5.3.0
- webpack: 5.103.0(@swc/[email protected](@swc/[email protected]))
+ webpack: 5.103.0(@swc/[email protected])
transitivePeerDependencies:
- encoding
- supports-color
@@ -16982,7 +16964,7 @@ snapshots:
optional: true
dependencies:
'@swc/counter': 0.1.3
'@swc/types': 0.1.25
@@ -16997,7 +16979,6 @@ snapshots:
'@swc/core-win32-arm64-msvc': 1.15.18
'@swc/core-win32-ia32-msvc': 1.15.18
'@swc/core-win32-x64-msvc': 1.15.18
- '@swc/helpers': 0.5.17
'@swc/[email protected]': {}
@@ -17005,10 +16986,6 @@ snapshots:
dependencies:
tslib: 2.8.1
- dependencies:
- tslib: 2.8.1
-
dependencies:
'@swc/counter': 0.1.3
@@ -17204,7 +17181,7 @@ snapshots:
optional: true
dependencies:
'@turbo/workspaces': 1.13.4(@types/[email protected])
chalk: 2.4.2
@@ -17214,7 +17191,7 @@ snapshots:
minimatch: 9.0.5
node-plop: 0.26.3
proxy-agent: 6.5.0
update-check: 1.5.4
validate-npm-package-name: 5.0.1
transitivePeerDependencies:
@@ -20814,11 +20791,11 @@ snapshots:
dependencies:
'@formatjs/intl-localematcher': 0.8.1
'@parcel/watcher': 2.5.1
- '@swc/core': 1.15.18(@swc/[email protected])
+ '@swc/core': 1.15.18
icu-minify: 4.12.0
negotiator: 1.0.0
@@ -21340,13 +21317,13 @@ snapshots:
dependencies:
lilconfig: 3.1.3
yaml: 2.8.1
optionalDependencies:
postcss: 8.5.15
dependencies:
@@ -21681,14 +21658,6 @@ snapshots:
react: 19.2.6
react-dom: 19.2.6([email protected])
- [email protected](patch_hash=92eafba289fc37e9c3b6ed1a7ca995f5aed82f43e0303fa9ae3b1a6a525bbe63)([email protected]([email protected]))([email protected]):
- dependencies:
- '@swc/helpers': 0.5.17
- clsx: 2.1.1
- react: 19.2.6
- react-dom: 19.2.6([email protected])
- swr: 2.3.6([email protected])
-
dependencies:
loose-envify: 1.4.0
@@ -22721,16 +22690,16 @@ snapshots:
ansi-escapes: 7.2.0
supports-hyperlinks: 4.4.0
dependencies:
'@jridgewell/trace-mapping': 0.3.31
jest-worker: 27.5.1
schema-utils: 4.3.3
serialize-javascript: 6.0.2
terser: 5.44.1
- webpack: 5.103.0(@swc/[email protected](@swc/[email protected]))
+ webpack: 5.103.0(@swc/[email protected])
optionalDependencies:
- '@swc/core': 1.15.18(@swc/[email protected])
+ '@swc/core': 1.15.18
dependencies:
@@ -22834,7 +22803,7 @@ snapshots:
'@ts-morph/common': 0.27.0
code-block-writer: 13.0.3
dependencies:
'@cspotcode/source-map-support': 0.8.1
'@tsconfig/node10': 1.0.12
@@ -22852,7 +22821,7 @@ snapshots:
v8-compile-cache-lib: 3.0.1
yn: 3.1.1
optionalDependencies:
- '@swc/core': 1.15.18(@swc/[email protected])
+ '@swc/core': 1.15.18
optionalDependencies:
@@ -22868,7 +22837,7 @@ snapshots:
dependencies:
bundle-require: 4.2.1([email protected])
cac: 6.7.14
@@ -22878,14 +22847,14 @@ snapshots:
execa: 5.1.1
globby: 11.1.0
joycon: 3.1.1
resolve-from: 5.0.0
rollup: 3.29.5
source-map: 0.8.0-beta.0
sucrase: 3.35.1
tree-kill: 1.2.2
optionalDependencies:
- '@swc/core': 1.15.18(@swc/[email protected])
+ '@swc/core': 1.15.18
postcss: 8.5.15
typescript: 5.9.3
transitivePeerDependencies:
@@ -23362,7 +23331,7 @@ snapshots:
dependencies:
'@types/eslint-scope': 3.7.7
'@types/estree': 1.0.8
@@ -23386,7 +23355,7 @@ snapshots:
neo-async: 2.6.2
schema-utils: 4.3.3
tapable: 2.3.3
- terser-webpack-plugin: 5.3.16(@swc/[email protected](@swc/[email protected]))([email protected](@swc/[email protected](@swc/[email protected])))
+ terser-webpack-plugin: 5.3.16(@swc/[email protected])([email protected](@swc/[email protected]))
watchpack: 2.4.4
webpack-sources: 3.3.3
transitivePeerDependencies:
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
index bd2eb3776..5c1255b7b 100644
--- a/pnpm-workspace.yaml
+++ b/pnpm-workspace.yaml
@@ -21,9 +21,6 @@ allowBuilds:
autoInstallPeers: true
-patchedDependencies:
-
catalog:
"@ai-sdk/anthropic": 1.2.12
"@ai-sdk/react": 3.0.190
@@ -180,7 +177,6 @@ catalog:
react-email: 6.1.5
react-hook-form: 7.76.0
react-medium-image-zoom: 5.4.5
- react-tweet: 3.3.0
reading-time: 1.5.0
recharts: 2.15.4
rehype-autolink-headings: 7.1.0