feat(web): 신규 가입 관리자 채널 알림 + Tiptap 백틱 렌더링 수정#58
Merged
Conversation
- 신규 유저 온보딩 완료 시 Discord 관리자 채널에 embed 알림 전송 - discord-notify.ts: Discord REST API 유틸 (snowflake 검증, 마크다운 이스케이프, allowed_mentions) - onboarding/route.ts: after()로 fire-and-forget 알림 + isSafeUrl() SSRF 방지 - 관리자 설정에 admin_notification_channel_id 추가 (API + UI) - Tiptap 인라인 코드 백틱 렌더링 수정 (Tailwind prose ::before/::after 제거) - 도메인 cusiting.com → kusting.com 변경 Co-Authored-By: Claude <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Changes
packages/web/src/lib/discord-notify.tspackages/web/src/app/api/profile/onboarding/route.tsafter()로 관리자 알림 전송 +isSafeUrl()SSRF 방지 추가packages/web/src/app/api/admin/settings/route.tsadmin_notification_channel_idconfig 키 매핑 + snowflake 검증 추가packages/web/src/app/(admin)/admin/settings/page.tsxpackages/web/src/app/globals.css.tiptap code::before/::after { content: none }— Tailwind prose 백틱 제거CLAUDE.mddocs/ARCHITECTURE.mdpackages/web/src/app/layout.tsxpackages/web/src/app/opengraph-image.tsxpackages/web/next-env.d.tsDesign Decisions
after()fire-and-forgetescapeDiscordMarkdown()+allowed_mentionsisSafeUrl()blogUrl/profileImageUrl 적용Test Plan
🤖 Generated with Claude Code