Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interview, slow loading on proceed when a lot of conditional pages are skipped. #1191

Open
MyPyDavid opened this issue Nov 12, 2024 · 0 comments · May be fixed by #1192
Open

Interview, slow loading on proceed when a lot of conditional pages are skipped. #1191

MyPyDavid opened this issue Nov 12, 2024 · 0 comments · May be fixed by #1192
Assignees
Labels

Comments

@MyPyDavid
Copy link
Member

MyPyDavid commented Nov 12, 2024

Description / Beschreibung

A certain checkbox question has many different conditional pages depending on they whether are selected or not.
When none are selected and proceed is clicked, the loading of the next page is slow because the user gets redirected many times over the skipped pages (302 at /api/v1/projects/projects/1/pages/20/ ).

Could this be addressed in the newly developed interview in React?
Can it already be optimized in the backend, so that the user gets sent only the last relevant redirect?

Expected behaviour / Erwartetes Verhalten

Click next in interview and have a reasonable response time.

Steps to reproduce / Schritte zum Reproduzieren

  1. Go to a question with a lot checkboxes that are related to conditional pages
  2. Uncheck all of them and click proceed
  3. See a lot of 302 for the skipped pages

Context / Kontext

2.2.2.

References / Verweise

ProjectPageViewSet in

@MyPyDavid MyPyDavid self-assigned this Nov 13, 2024
@MyPyDavid MyPyDavid linked a pull request Nov 13, 2024 that will close this issue
MyPyDavid added a commit that referenced this issue Nov 14, 2024
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 a pull request may close this issue.

1 participant