SIGN IN SIGN UP

chore(surveys): expose current question index on survey-box (#3353)

* feat(surveys): expose current question index on survey-box

Adds a data-question-index attribute to the .survey-box wrapper so
consumers rendering surveys via the API can reliably tell which
question is currently displayed. Works for every question type,
including link questions which render no input or rating element.

* test(surveys): cover data-question-index update on next question
L
Lucas Faria committed
3939856b917a3bad696cb7e5da73d4d50c3e0c53
Parent: 87fec50
Committed by GitHub <noreply@github.com> on 4/8/2026, 4:42:31 PM