Skip to content

Comments

feat: add other socials to assets page#4250

Open
JohnnyWyles wants to merge 4 commits intostagefrom
jw-socials
Open

feat: add other socials to assets page#4250
JohnnyWyles wants to merge 4 commits intostagefrom
jw-socials

Conversation

@JohnnyWyles
Copy link
Collaborator

@JohnnyWyles JohnnyWyles commented Jan 14, 2026

What is the purpose of the change:

Added support for Telegram, Discord, GitHub, and Medium social links to asset detail pages and updated Twitter branding to X across the application.

Makes asset verification process less reliant on Twitter.

Brief Changelog

New Features:

  • Added Telegram, Discord, GitHub, and Medium social icon buttons to asset detail pages

Icon Updates:

  • Replaced Twitter bird logo with X logo in the app store
  • Reordered social icons on asset pages: Website → CoinGecko → X → Telegram → Discord → GitHub → Medium → Clipboard

Testing and Verifying

This change has been tested locally by rebuilding the website and verified content and links are expected

STOS is the best asset to view changes on as it has all fields populated in the the asset list.

@vercel
Copy link

vercel bot commented Jan 14, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
osmosis-frontend Ready Ready Preview, Comment Jan 15, 2026 11:32am
4 Skipped Deployments
Project Deployment Review Updated (UTC)
osmosis-frontend-datadog Ignored Ignored Jan 15, 2026 11:32am
osmosis-frontend-dev Ignored Ignored Jan 15, 2026 11:32am
osmosis-frontend-edgenet Ignored Ignored Jan 15, 2026 11:32am
osmosis-testnet Ignored Ignored Jan 15, 2026 11:32am

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 15, 2026

Walkthrough

The changes extend the public CMS data model to include four new optional social/code repository URLs (Telegram, Discord, GitHub, Medium), propagate these through the frontend hook layer, update the asset details page to render these social links, and rebrand Twitter references to X across multiple components.

Changes

Cohort / File(s) Summary
Backend Data Model Extension
packages/server/src/queries/github/token-info.ts
Added four optional URL properties to GenericCmsData interface: telegramURL, discordURL, githubURL, mediumURL to support additional social/code repository metadata.
Frontend Hook Updates
packages/web/hooks/use-asset-info.ts
Introduced four new memoized URL getters and exposed them in the return value of useAssetInfo hook for telegramURL, discordURL, githubURL, mediumURL.
Asset Details UI Rendering
packages/web/components/pages/asset-info-page/details.tsx
Added conditional rendering of four new social link buttons (Telegram, Discord, GitHub, Medium) with corresponding icons and aria-labels; updated existing link icons to use fill styling.
Twitter to X Branding
packages/web/components/cards/app-card.tsx,
packages/web/components/cards/hero-card.tsx
Renamed Twitter link UI elements to use X branding by updating aria-labels from "Twitter" to "X" and icon ids from "twitter" to "X".
Icon Styling Update
packages/web/pages/components.tsx
Changed Icon fill application from text-osmoverse-400 to fill-osmoverse-400 for improved SVG color application.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely summarizes the main change: adding social media links to the assets page.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description check ✅ Passed The PR description comprehensively covers the purpose, changelog, and testing verification with specific asset recommendations.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
  • 📝 Generate docstrings (stacked PR)
  • 📝 Generate docstrings (commit on current branch)
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch jw-socials

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant