[PR #639] [MERGED] feat: Refactor OG Image Generation #1094

Closed
opened 2026-02-26 19:31:48 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/639
Author: @neo773
Created: 11/8/2023
Status: Merged
Merged: 11/14/2023
Merged by: @Mythie

Base: mainHead: og


📝 Commits (7)

📊 Changes

97 files changed (+57165 additions, -487 deletions)

View changed files

📝 apps/marketing/content/blog/announcing-open-source-docusign-alternative.mdx (+51 -51)
📝 apps/marketing/content/blog/manifest.mdx (+29 -29)
📝 apps/marketing/content/blog/pre-seed.mdx (+6 -4)
📝 apps/marketing/content/blog/switching-from-slack-to-discord.mdx (+84 -83)
📝 apps/marketing/content/privacy.mdx (+256 -256)
📝 apps/marketing/next.config.js (+1 -0)
apps/marketing/public/blog/roadmap.png (+0 -0)
apps/marketing/public/blog/sp5.png (+0 -0)
📝 apps/marketing/src/app/(marketing)/blog/[post]/opengraph-image.tsx (+8 -8)
📝 apps/marketing/src/app/(marketing)/oss-friends/page.tsx (+1 -1)
📝 apps/marketing/src/app/not-found.tsx (+1 -2)
📝 apps/marketing/src/components/(marketing)/faster-smarter-beautiful-bento.tsx (+4 -5)
📝 apps/marketing/src/components/(marketing)/footer.tsx (+2 -1)
📝 apps/marketing/src/components/(marketing)/header.tsx (+2 -1)
📝 apps/marketing/src/components/(marketing)/hero.tsx (+1 -2)
📝 apps/marketing/src/components/(marketing)/mobile-navigation.tsx (+2 -1)
📝 apps/marketing/src/components/(marketing)/open-build-template-bento.tsx (+4 -5)
📝 apps/marketing/src/components/(marketing)/share-connect-paid-widget-bento.tsx (+5 -6)
📝 apps/marketing/src/components/(marketing)/single-player-mode/single-player-mode-success.tsx (+1 -1)
📝 apps/marketing/src/pages/api/stripe/webhook/index.ts (+5 -2)

...and 77 more files

📄 Description

  • Refactored Signing OG card to remove getAssetBuffer

  • Added an API Route to get Signer info since Prisma can't be used in edge runtime and relative URL imports are not supported in node

  • And moved all assets to packages/public-assets to remove all duplications and is symlinked back to their respective locations

image

/claim #637


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/documenso/documenso/pull/639 **Author:** [@neo773](https://github.com/neo773) **Created:** 11/8/2023 **Status:** ✅ Merged **Merged:** 11/14/2023 **Merged by:** [@Mythie](https://github.com/Mythie) **Base:** `main` ← **Head:** `og` --- ### 📝 Commits (7) - [`0439c57`](https://github.com/documenso/documenso/commit/0439c57814061a293085759a1843a3b441869e56) refactor assets & og image changes - [`8909cae`](https://github.com/documenso/documenso/commit/8909cae3a9c44d169d898decc10e8f1e9e056007) add folder - [`0bfdb3e`](https://github.com/documenso/documenso/commit/0bfdb3e17a385dc4a9336dd4b426294f5cda55b4) fix image name - [`09d6a31`](https://github.com/documenso/documenso/commit/09d6a31fbfb5a59e3e19a900524860e7e36cb878) add package json - [`ac5ba5d`](https://github.com/documenso/documenso/commit/ac5ba5ddd91459b079b0d98fae90adf365ce7894) Merge branch 'main' into og - [`a6c06b3`](https://github.com/documenso/documenso/commit/a6c06b3f32c20f7574edc5dac2f5ebc1c4a1befb) fix: assorted style updates - [`e66a1a4`](https://github.com/documenso/documenso/commit/e66a1a4782fc795e0cb211881a62b462c7db9ef1) fix: add missing blog images ### 📊 Changes **97 files changed** (+57165 additions, -487 deletions) <details> <summary>View changed files</summary> 📝 `apps/marketing/content/blog/announcing-open-source-docusign-alternative.mdx` (+51 -51) 📝 `apps/marketing/content/blog/manifest.mdx` (+29 -29) 📝 `apps/marketing/content/blog/pre-seed.mdx` (+6 -4) 📝 `apps/marketing/content/blog/switching-from-slack-to-discord.mdx` (+84 -83) 📝 `apps/marketing/content/privacy.mdx` (+256 -256) 📝 `apps/marketing/next.config.js` (+1 -0) ➕ `apps/marketing/public/blog/roadmap.png` (+0 -0) ➕ `apps/marketing/public/blog/sp5.png` (+0 -0) 📝 `apps/marketing/src/app/(marketing)/blog/[post]/opengraph-image.tsx` (+8 -8) 📝 `apps/marketing/src/app/(marketing)/oss-friends/page.tsx` (+1 -1) 📝 `apps/marketing/src/app/not-found.tsx` (+1 -2) 📝 `apps/marketing/src/components/(marketing)/faster-smarter-beautiful-bento.tsx` (+4 -5) 📝 `apps/marketing/src/components/(marketing)/footer.tsx` (+2 -1) 📝 `apps/marketing/src/components/(marketing)/header.tsx` (+2 -1) 📝 `apps/marketing/src/components/(marketing)/hero.tsx` (+1 -2) 📝 `apps/marketing/src/components/(marketing)/mobile-navigation.tsx` (+2 -1) 📝 `apps/marketing/src/components/(marketing)/open-build-template-bento.tsx` (+4 -5) 📝 `apps/marketing/src/components/(marketing)/share-connect-paid-widget-bento.tsx` (+5 -6) 📝 `apps/marketing/src/components/(marketing)/single-player-mode/single-player-mode-success.tsx` (+1 -1) 📝 `apps/marketing/src/pages/api/stripe/webhook/index.ts` (+5 -2) _...and 77 more files_ </details> ### 📄 Description - Refactored Signing OG card to remove `getAssetBuffer` - Added an API Route to get Signer info since `Prisma` can't be used in `edge` runtime and relative URL imports are not supported in `node` - And moved all assets to `packages/public-assets` to remove all duplications and is symlinked back to their respective locations <img width="1493" alt="image" src="https://github.com/documenso/documenso/assets/62795688/d1fa5a6f-b512-4d3a-bef6-52da42ead38f"> /claim #637 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 19:31:48 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/documenso#1094
No description provided.