Skip to content

Add Telegram channel footer link#1

Open
mdm108 wants to merge 1 commit into
mainfrom
codex/enable-one-click-join-for-telegram-channel
Open

Add Telegram channel footer link#1
mdm108 wants to merge 1 commit into
mainfrom
codex/enable-one-click-join-for-telegram-channel

Conversation

@mdm108
Copy link
Copy Markdown
Owner

@mdm108 mdm108 commented May 9, 2026

Motivation

  • Provide an easy, one-click way for users to open and join the project's Telegram channel from the footer support section.
  • Allow the channel URL to be configurable via environment so it can be changed without code updates using NEXT_PUBLIC_TELEGRAM_CHANNEL_URL with a sensible default.

Description

  • Added a TELEGRAM_CHANNEL_URL constant in components/page-footer/Support.tsx that reads NEXT_PUBLIC_TELEGRAM_CHANNEL_URL and falls back to https://t.me/github.
  • Imported PaperAirplaneIcon and added a new support link (id="join-telegram-channel") that opens the Telegram URL in a new tab with target="_blank" and rel="noopener noreferrer" in components/page-footer/Support.tsx.
  • Added the UI translation key join_telegram_channel under the support section in data/ui.yml.
  • Applied Prettier formatting to the modified files.

Testing

  • Ran npx prettier --check components/page-footer/Support.tsx data/ui.yml, which passed after formatting.
  • Ran npx tsc --noEmit, which passed with no type errors.
  • Commit hook executed lint-staged (ESLint + Prettier) during the commit, and the hooked tasks succeeded.

Codex Task

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented May 9, 2026

Deploying docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: f0851bd
Status:🚫  Build failed.

View logs

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant