Skip to content

Add cache to display answer after submit or save

Compare
Choose a tag to compare
@caesar2164 caesar2164 released this 25 Jul 18:04
· 44 commits to master since this release

Feature by @potsui

Previously in the free-text response xblock, when a user submits or
saves an answer, navigates to another page, and navigates back to the
original page, the user's answer disappears. Refreshing the webpage will
restore the answer, but this was nonetheless a disconcerting experience
for the user.

This fix caches the user's answer to display after submit or save, so
that when the user navigates away and back, the user can still view
their answer without having to manually refresh the page.