MCPcopy Create free account
hub / github.com/RioArisk/claudecode_api_RemoteControl / goToNext

Function goToNext

app/src/modules/interactions.js:278–290  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

276}
277
278function goToNext() {
279 if (!currentQuestionItem || questionSubmitting) return;
280 if (!hasAnswerAt(currentQuestionIdx)) {
281 showToast('请先完成当前问题');
282 return;
283 }
284 if (currentQuestionIdx >= currentQuestionItem.questions.length - 1) {
285 submitAllAnswers();
286 } else {
287 currentQuestionIdx++;
288 renderCurrentQuestion();
289 }
290}
291
292function updateOtherText(value) {
293 if (!currentQuestionItem) return;

Callers 1

initInteractionsFunction · 0.70

Calls 4

showToastFunction · 0.90
hasAnswerAtFunction · 0.70
submitAllAnswersFunction · 0.70
renderCurrentQuestionFunction · 0.70

Tested by

no test coverage detected