Skip to content

feat: help content sync/#652 - #653

Merged
chaeyn merged 2 commits into
developfrom
feat/help-content-sync/#652
Jul 16, 2026
Merged

feat: help content sync/#652#653
chaeyn merged 2 commits into
developfrom
feat/help-content-sync/#652

Conversation

@chaeyn

@chaeyn chaeyn commented Jul 16, 2026

Copy link
Copy Markdown
Member

작업 내용

  • 도움말 7종을 서버 GET /help-contents/{key} API에서 조회하도록 연결했습니다.
  • Main Process가 userData/help-contents.json에 본문과 ETag를 저장하고, 다음 실행부터 If-None-Match로 변경 여부만 확인합니다.
  • 앱은 먼저 기존 기본 문구 또는 로컬 캐시를 표시하므로 서버 배포 중이거나 네트워크가 끊겨도 도움말이 비지 않습니다.
  • 서버에서 내용이 갱신되면 IPC 이벤트로 열린 화면의 툴팁도 즉시 갱신됩니다.

변경 이유

경험치, 쿠키, 랭킹 보상처럼 운영 중 변경될 수 있는 안내 문구가 클라이언트 코드에 고정되어 있어 서버 정책과 실제 안내가 달라질 수 있었습니다. 문구의 배포 주기를 서버와 분리하면서도, 매 실행마다 전체 본문을 다시 받지 않도록 ETag 캐시를 적용했습니다.

검증

  • pnpm --filter @clash/mac typecheck
  • pnpm --filter @clash/mac lint
  • pnpm --filter @clash/mac build

@vercel

vercel Bot commented Jul 16, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
clash-client-web Ready Ready Preview, Comment Jul 16, 2026 12:47pm

@chaeyn
chaeyn merged commit 3661151 into develop Jul 16, 2026
6 checks passed
@chaeyn
chaeyn deleted the feat/help-content-sync/#652 branch July 29, 2026 15:38
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