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

feat: Exit Survey Preview Mode #6167

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JiyaGupta-cs
Copy link
Contributor

What this PR does

This pull request adds an Exit button to exit the Survey Preview Mode, addressing the issue where users currently have no clear way to exit preview mode and return back to editing mode.

Fixes #6166

Changes:

  • Added an "Exit Preview Mode" button at the bottom of the preview page.
  • Positioned the button alongside the "Preview Mode" label for visibility.

Steps to Test:

  • Navigate to the survey page (/survey).
  • Click "Edit Survey" to open the editor.
  • Click "Preview Survey" to enter preview mode.
  • The "Exit Preview Mode" button appears at the bottom.
  • Click the button and it returns you back to the editing mode.

Impact:

Provides a clear way for users to exit preview mode and return back to the editing mode.

Screenshots

Before:
image

After:
image

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.

[FEATURE REQUEST]: Add "Exit Preview Mode" Option for Surveys
1 participant