Skip to content

챌린지 생성 추천 루틴에 「다른 추천 보기」 버튼 - #600

Merged
Sadturtleman merged 1 commit into
developfrom
feat/598
Oct 7, 2026
Merged

Sadturtleman merged 1 commit into
developfrom
feat/598

Conversation

@Sadturtleman

Copy link
Copy Markdown
Contributor

작업 내용

  • 생성 화면 「또는 바로 시작하기」 줄 끝에 새로고침 버튼 → 지금까지 본 templateId 를 exclude 로 보내 새 추천 3개를 받는다(누를수록 쌓임)
  • 받는 동안 이전 추천은 숨기고 스켈레톤(바뀌기 직전 루틴으로 초안이 만들어지는 걸 막는다). 실패하면 보던 추천을 두고 안내만
  • 받은 3개가 전부 이미 본 것이면(서버가 exclude 를 모르거나 다 돌았다) 제외 목록을 처음부터 다시 센다
  • 추천이 없을 때는 버튼을 숨긴다

서버 의존

GET v1/challenges/recommendations 는 하루 1회 갱신되는 고정 3개라, exclude(쉼표 구분 templateId) 파라미터를 BE 에 요청했다(노션 명세 페이지 댓글). 서버가 모르는 동안에는 무시되어 같은 3개가 온다 — 앱은 깨지지 않는다.

확인

  • ./gradlew ktlintCheck test assembleDebug 통과
  • 테스트 4개(제외 목록 전송 · 누적 · 처음부터 다시 · 실패 시 유지)

Closes #598

🤖 Generated with Claude Code

- 「또는 바로 시작하기」 줄 끝 새로고침 버튼 → 지금까지 본 templateId 를 exclude 로 보내 새 추천 3개를 받는다
- 받는 동안 이전 추천은 숨기고 스켈레톤. 실패하면 보던 추천을 그대로 두고 안내만
- 받은 3개가 전부 이미 본 것이면(서버가 exclude 를 모르거나 다 돌았다) 제외 목록을 처음부터 다시 센다
- exclude 는 BE 에 요청한 파라미터(노션 명세 댓글). 서버가 모르는 동안에는 같은 3개가 온다

Closes #598

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@sonarqubecloud

sonarqubecloud Bot commented Oct 7, 2026

Copy link
Copy Markdown

@Sadturtleman
Sadturtleman merged commit 9ec3f37 into develop Oct 7, 2026
5 checks passed
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.

챌린지 생성 추천 루틴에 「다른 추천 보기」 버튼 — 서버 exclude 파라미터 요청

1 participant