8000 Wrong redirection in preview your form hyperlink · Issue #1102 · getodk/central · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Wrong redirection in preview your form hyperlink #1102

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

Closed
srujner opened this issue May 27, 2025 · 5 comments · Fixed by getodk/central-frontend#1272
Closed

Wrong redirection in preview your form hyperlink #1102

srujner opened this issue May 27, 2025 · 5 comments · Fixed by getodk/central-frontend#1272
Assignees
Labels
behavior verified Behavior has been manually verified bug frontend Requires a change to the UI

Comments

@srujner
Copy link
srujner commented May 27, 2025

Problem Description.
Wrong redirection in preview your form hyperlink. It opens the form preview in Enketo instead of https://getodk.org/web-forms-preview/ page

Steps to reproduce the problem

  1. Open any form;
  2. Navigate to the Form Settings tab;
  3. In the "Fill out, preview and edit your “X” Form using" section select ODK Web Forms;
  4. Click on the preview your form hyperlink

Expected Behavior:
Hyperlink should redirect user to this page: https://getodk.org/web-forms-preview/

Browser
Firefox 136.0 (64-bit)

Central version:
721d2d4 (v2025.1.1-1-g721d2d4)
550c13d1935a6d33288e6cc00ee9068060bbf810 client (v2025.1.1)
4ea612178d7eb9ef191e8548ef5e70c2084fa8fc server (v2025.1.0)

@matthew-white
Copy link
Member

I believe that Central is capable of previewing the form in Web Forms even before the setting is toggled. I think we have that set up already (that's how the W+F shortcut works). Instead of redirecting the user to https://getodk.org/web-forms-preview/, would it more convenient to show the user the form preview in Central using Web Forms?

@matthew-white matthew-white added bug frontend Requires a change to the UI needs testing Needs manual testing labels May 27, 2025
@lognaturel
Copy link
Member

@nicoleorlowski @alyblenkin I believe that initially we were going to send users to the general preview site but I think if we can preview the specific form in another tab that would work well. I'm slightly concerned that users might think they've made the switch to Web Forms when they see that preview because we don't mark it as a preview but hopefully the link text is clear enough to mitigate that.

@alyblenkin
Copy link

Previewing their specific form works too, but I agree it might not be clear to the user if they've switched or not. A while back we considered ideas around adding a message to indicate you're previewing, editing or viewing a form.

The other upside to taking them to the preview page is they can keep coming back to that site and try out different forms.

@matthew-white matthew-white self-assigned this May 27, 2025
@nicoleorlowski
Copy link

+1 to taking them to the preview page to avoid confusion on the status of their current form and added bonus of discovery

@srujner
Copy link
Author
srujner commented May 30, 2025

Tested with Success!

@srujner srujner added behavior verified Behavior has been manually verified and removed needs testing Needs manual testing labels May 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
behavior verified Behavior has been manually verified bug frontend Requires a change to the UI
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants
0