feat: Add OG images for tranche 4 apps#256
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: ⛔ Files ignored due to path filters (52)
📒 Files selected for processing (26)
📝 WalkthroughWalkthroughTwenty-six app configuration files across ensawards.org/data/apps add explicit ChangesOG Image Path Additions
Estimated code review effort: 1 (Trivial) | ~5 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Greptile SummaryThis PR fulfills outstanding OG image TODOs for all 26 tranche 4 apps (wallets and exchanges), replacing placeholder comments with
Confidence Score: 5/5Safe to merge — all changes are additive data fields on existing app definitions, and the image files are included alongside each change. All 26 app definitions follow the identical, well-established pattern used by tranche 1–3 apps. No TODO comments remain in the data directory, the paths are consistent with how buildAppOgImageUrl constructs URLs, and no logic or build configuration was modified. No files require special attention — the changes are mechanical and uniform across all 26 app directories. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A["app/index.ts\nogImagePath: 'app-slug/og.png'\ntwitterOgImagePath: 'app-slug/twitter-og.png'"] --> B["buildAppOgImageUrl(imagePath)"]
B --> C{imagePath defined?}
C -- No --> D["return undefined\n(fallback OG image used)"]
C -- Yes --> E["new URL(imagePath, 'https://ensawards.org/data/apps/')"]
E --> F["https://ensawards.org/data/apps/app-slug/og.png"]
F --> G["Astro page renders og:image meta tag"]
%%{init: {'theme': 'base', 'themeVariables': {"darkMode": true, "background": "#0d1117", "primaryColor": "#21262d", "primaryTextColor": "#e6edf3", "primaryBorderColor": "#8b949e", "lineColor": "#8b949e", "textColor": "#e6edf3", "edgeLabelBackground": "#161b22", "actorBkg": "#21262d", "actorBorder": "#8b949e", "actorTextColor": "#e6edf3", "actorLineColor": "#8b949e", "signalColor": "#8b949e", "signalTextColor": "#e6edf3", "noteBkgColor": "#373320", "noteBorderColor": "#d4a72c", "noteTextColor": "#f0e6c0", "labelBoxBkgColor": "#21262d", "labelBoxBorderColor": "#8b949e", "labelTextColor": "#e6edf3", "loopTextColor": "#e6edf3", "activationBkgColor": "#30363d", "activationBorderColor": "#8b949e"}}}%%
flowchart TD
A["app/index.ts\nogImagePath: 'app-slug/og.png'\ntwitterOgImagePath: 'app-slug/twitter-og.png'"] --> B["buildAppOgImageUrl(imagePath)"]
B --> C{imagePath defined?}
C -- No --> D["return undefined\n(fallback OG image used)"]
C -- Yes --> E["new URL(imagePath, 'https://ensawards.org/data/apps/')"]
E --> F["https://ensawards.org/data/apps/app-slug/og.png"]
F --> G["Astro page renders og:image meta tag"]
Reviews (1): Last reviewed commit: "Add OG images for tranche 4 exchanges" | Re-trigger Greptile |
There was a problem hiding this comment.
Pull request overview
Adds per-app Open Graph (OG) image metadata for tranche 4 wallet/exchange app entries, aligning app definitions with the project’s convention of serving OG assets from /data/apps/<appSlug>/....
Changes:
- Replaced “TODO: Add OG images” placeholders with
ogImagePathfor standard OG previews. - Added
twitterOgImagePathfor Twitter-specific OG previews across tranche 4 app definitions.
Reviewed changes
Copilot reviewed 26 out of 78 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| ensawards.org/data/apps/xtcom-exchange/index.ts | Add ogImagePath + twitterOgImagePath entries for XTcom Exchange. |
| ensawards.org/data/apps/whitebit-exchange/index.ts | Add ogImagePath + twitterOgImagePath entries for WhiteBIT Exchange. |
| ensawards.org/data/apps/weex-exchange/index.ts | Add ogImagePath + twitterOgImagePath entries for WEEX Exchange. |
| ensawards.org/data/apps/uniswap-wallet/index.ts | Add ogImagePath + twitterOgImagePath entries for Uniswap Wallet. |
| ensawards.org/data/apps/toobit-exchange/index.ts | Add ogImagePath + twitterOgImagePath entries for Toobit Exchange. |
| ensawards.org/data/apps/tokenpocket-wallet/index.ts | Add ogImagePath + twitterOgImagePath entries for TokenPocket Wallet. |
| ensawards.org/data/apps/safepal-wallet/index.ts | Add ogImagePath + twitterOgImagePath entries for SafePal Wallet. |
| ensawards.org/data/apps/ourbit-exchange/index.ts | Add ogImagePath + twitterOgImagePath entries for Ourbit Exchange. |
| ensawards.org/data/apps/mexc-exchange/index.ts | Add ogImagePath + twitterOgImagePath entries for MEXC Exchange. |
| ensawards.org/data/apps/mewweb-wallet/index.ts | Add ogImagePath + twitterOgImagePath entries for MyEtherWallet (Web). |
| ensawards.org/data/apps/mew-wallet/index.ts | Add ogImagePath + twitterOgImagePath entries for MyEtherWallet. |
| ensawards.org/data/apps/lbank-exchange/index.ts | Add ogImagePath + twitterOgImagePath entries for LBank Exchange. |
| ensawards.org/data/apps/kucoin-exchange/index.ts | Add ogImagePath + twitterOgImagePath entries for KuCoin Exchange. |
| ensawards.org/data/apps/imtoken-wallet/index.ts | Add ogImagePath + twitterOgImagePath entries for imToken Wallet. |
| ensawards.org/data/apps/htx-exchange/index.ts | Add ogImagePath + twitterOgImagePath entries for HTX Exchange. |
| ensawards.org/data/apps/gem-wallet/index.ts | Add ogImagePath + twitterOgImagePath entries for Gem Wallet. |
| ensawards.org/data/apps/gate-exchange/index.ts | Add ogImagePath + twitterOgImagePath entries for Gate Exchange. |
| ensawards.org/data/apps/enkrypt-wallet/index.ts | Add ogImagePath + twitterOgImagePath entries for Enkrypt Wallet. |
| ensawards.org/data/apps/coinw-exchange/index.ts | Add ogImagePath + twitterOgImagePath entries for CoinW Exchange. |
| ensawards.org/data/apps/bitunix-exchange/index.ts | Add ogImagePath + twitterOgImagePath entries for Bitunix Exchange. |
| ensawards.org/data/apps/bitmart-exchange/index.ts | Add ogImagePath + twitterOgImagePath entries for BitMart Exchange. |
| ensawards.org/data/apps/bitget-wallet/index.ts | Add ogImagePath + twitterOgImagePath entries for Bitget Wallet. |
| ensawards.org/data/apps/bitget-exchange/index.ts | Add ogImagePath + twitterOgImagePath entries for Bitget Exchange. |
| ensawards.org/data/apps/bitfinex-exchange/index.ts | Add ogImagePath + twitterOgImagePath entries for Bitfinex Exchange. |
| ensawards.org/data/apps/bingx-exchange/index.ts | Add ogImagePath + twitterOgImagePath entries for BingX Exchange. |
| ensawards.org/data/apps/1inch-wallet/index.ts | Add ogImagePath + twitterOgImagePath entries for 1inch Wallet. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Lite PR → Add OG images for tranche 4 apps
Summary
Why
CONTRIBUTING.mdTesting
Pre-Review Checklist (Blocking)