socialincome-san / public

Fighting global poverty with the help of everyday people and your coding skills. Public repository of the NGO and global initiative Social Income.
https://socialincome.org
Other
91 stars 26 forks source link

feature(website): dummy surveys for mobile app in demo mode #872

Closed ssandino closed 4 months ago

ssandino commented 4 months ago

This PR addresses the issue where the mobile app couldn't display any surveys because they were only accessible to recipients. The solution implemented recreates the four surveys and includes a generic link that can be used in demo mode of the mobile app.

Important: The surveys do not need to be functional and are only viewed through the web view of the mobile app. They are intended to provide the look and feel of a survey and display the actual questions used in the recipient surveys. I intentionally used the most basic elements, such as <input> and <select>, to build the survey page. I did not include follow-up questions or ranking, and the save button is intentionally disabled.

@MDikkii : the links to include in the demo mode are:

  1. Onboarding: .../survey/onboarding
  2. Checkin: .../survey/checkin
  3. Offboarding: ...survey/offboarding
  4. Followup: .../survey/followup

@mkue thanks for a review, as this should go into the next release of the app

vercel[bot] commented 4 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
public ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 25, 2024 2:04pm
github-actions[bot] commented 4 months ago

Visit the preview URL for this PR (updated for commit 2d6b180):

https://si-admin-staging--pr872-sandino-demo-surveys-73lfhixs.web.app

(expires Thu, 01 Aug 2024 14:03:43 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: b7b0969384059dce6ea8fad1ee1d1737e54e6676