unicef / iogt

BSD 2-Clause "Simplified" License
25 stars 36 forks source link

Offline Access limitations #514

Open ehmadzubair opened 3 years ago

ehmadzubair commented 3 years ago

Here's a list off the issues related to Offline access and their possible fixes.

Limitation Fixes
Polls, Surveys and Quizzes can’t be submitted Attempt to make multi-step forms appear as single page forms, Store the submissions locally until there is an internet connection
User article “read” functionality is not accessible Store the used article “read” activity until there is an internet connection
User read progress isn’t updated Disable user progress bar in offline mode #1416
User Login/Logout, update profile is not available Hide Login/Logout/My Profile buttons in offline mode (Done)
Search doesn’t work Hide the search bar in offline mode (Done)
The external link intermediate page isn’t cached Update sitemap script to include all external links to fix the broken page

@sheralim012 @geoo89 @volloholic

volloholic commented 3 years ago

Creating each point as a task and responding to each point.

geoo89 commented 3 years ago

A few detail that additionally need to be thought out:

cbunicef commented 2 years ago

For login/logout/my profile

Can we ensure that a user can see what their profile identity is, and ideally logout? How much work would be required for this?

cbunicef commented 2 years ago

For multi step -> single Page quizzes/surveys. Unfortunately we can't just do this simple fix because survey design can be very specific.

If we cannot support true multi-page offline surveys in the short term, I think the best approach is (as usual it seems) another option when creating surveys/quizzes.

Old version:

Multi-step: Whether to display the survey questions to the user one at a time, instead of all at once.

New version:

Enable Multi-page: Allow design of the survey to display questions across multiple pages, instead of all at once. By default a single question will be on each page of the survey. Once you set "Page breaks" on Form Fields, then those will define where each page ends and the next begins. When offline access is enabled the survey will appear on a single page. (Offline access for surveys is currently in development)

Require Multi-page: Set this when a survey must always be shown in the multi-page format. The survey will not be accessible offline.

Require Multi-page should be on by default for all existing Multi-page surveys. For new Multi-page surveys created after the setting is added it should be off by default like Enable Multi-page.