Skip to content

[Fix/#271] 챗봇 출처 링크를 Primary 색으로 표시하기 - #272

Open
overhyeon wants to merge 1 commit into
mainfrom
fix/#271-chat-source-link-color
Open

overhyeon wants to merge 1 commit into
mainfrom
fix/#271-chat-source-link-color

Conversation

@overhyeon

Copy link
Copy Markdown
Contributor

#️⃣연관된 이슈

🎯 해결하려는 문제가 무엇인가요?

챗봇 답변의 출처 링크(#230)가 본문과 같은 검정 글자에 밑줄만 있어요. 출처 줄 전체가 같은 색이라 제목이 누를 수 있는 링크인지 알아보기 어려워요.

❓ 왜 해결해야 하나요?

출처 링크는 학생이 원문 공지·행사를 확인하는 길이에요. 링크인지 모르면 누르지 않아서 #230의 의미가 줄어들어요.

⭐ 어떻게 해결했나요?

ChatBotMessageBubble의 링크에 text-primary를 붙였어요(underline은 그대로). 색은 index.css의 --color-primary(= semantic.primary.normal, #0066FF) 토큰을 써요.

챗봇 대화창 Figma에는 출처 링크 시안이 없어서, 앱에 이미 있는 링크 스타일 중 Figma 시안이 있는 학생회비 송금 화면의 "K스마트멘토↗"(Primary + 밑줄, Figma 5365:85732, FeeTransferTranscriptStep.tsx)를 따랐어요.

🧩 이 PR의 한계 & 트레이드오프

디자인 시안이 없는 상태에서 정한 색이에요. 디자인 담당이 다른 스타일(예: 아카이빙 "관련 행사"처럼 검정 + 밑줄)을 원하면 바꿀게요.

⛓️ 기존 기능에 미치는 영향

챗봇 출처 링크의 글자 색만 바뀌어요. 링크로 그리는 주소 검사(/notices/숫자, /events/숫자)와 이동·대화 복원은 그대로예요.

🔀 Edge Case & 실패 시나리오

  • 링크 안의 **굵게**도 같은 Primary 색으로 보여요(글자 색을 <a>에서 물려받음).
  • 아직 닫히지 않은 링크(받는 중)는 링크가 아니라 글자 그대로라 기존처럼 검정이에요.

확인: biome·tsc·vite build 통과. dev 화면에서 같은 클래스를 붙인 링크가 rgb(0, 102, 255) + 밑줄로 보이는 것까지 확인했어요(챗봇 답변 안에서 직접 보지는 못했어요).

@coderabbitai

coderabbitai Bot commented Nov 27, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 606df357-83cf-478e-8873-ff1b9a291dd3
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

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.

챗봇 출처 링크를 Primary 색으로 표시하기

1 participant