Skip to content

fix(plugin): use resolve_data_dir in onboarding skip message (#1232)#1234

Merged
JeremyDev87 merged 1 commit into
masterfrom
taskmaestro/1775230792/pane-3
Apr 3, 2026
Merged

fix(plugin): use resolve_data_dir in onboarding skip message (#1232)#1234
JeremyDev87 merged 1 commit into
masterfrom
taskmaestro/1775230792/pane-3

Conversation

@JeremyDev87

Copy link
Copy Markdown
Owner

Summary

  • TOUR_SKIP 정적 dict를 get_tour_skip_message() 함수로 교체하여 resolve_data_dir() 사용
  • CLAUDE_PLUGIN_DATA 환경변수 설정 시 올바른 경로가 skip 메시지에 반영됨
  • TestGetTourSkipMessage 테스트 클래스 추가 (4개 테스트)

Problem

TOUR_SKIP~/.codingbuddy/onboarded를 하드코딩하여, CLAUDE_PLUGIN_DATA 설정 시 사용자가 잘못된 경로를 touch → 투어가 계속 반복되는 문제.

Closes #1232

Test plan

  • python3 -m pytest tests/test_onboarding_tour.py -v — 28 passed
  • yarn workspace codingbuddy typecheck — pass
  • yarn workspace codingbuddy test — 5822 passed

TOUR_SKIP hardcoded ~/.codingbuddy/onboarded but the actual flag file
uses resolve_data_dir() which respects CLAUDE_PLUGIN_DATA. Replaced
the static dict with get_tour_skip_message() so the skip instructions
always show the correct path.
@JeremyDev87 JeremyDev87 added the fix label Apr 3, 2026
@vercel

vercel Bot commented Apr 3, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
codingbuddy-landing Ready Ready Preview, Comment Apr 3, 2026 3:56pm

@JeremyDev87 JeremyDev87 left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Review complete — all comments addressed

Code Review:

  • onboarding_tour.py: TOUR_SKIP dict → get_tour_skip_message() function using resolve_data_dir()
  • render_onboarding_tour() caller updated
  • Tests: default path test + CLAUDE_PLUGIN_DATA custom path test
  • 5 languages all dynamically generated
  • CI: 28/28 checks pass

LGTM

@JeremyDev87 JeremyDev87 self-assigned this Apr 3, 2026
@JeremyDev87 JeremyDev87 merged commit b875311 into master Apr 3, 2026
28 checks passed
@JeremyDev87 JeremyDev87 deleted the taskmaestro/1775230792/pane-3 branch April 3, 2026 15:59
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.

fix(plugin): use resolve_data_dir in onboarding tour skip message

1 participant