smooth-app icon indicating copy to clipboard operation
smooth-app copied to clipboard

Add seamless loading of additional questions in Hunger Games

Open teolemon opened this issue 2 years ago • 8 comments

Problem

  • The embedded Hunger Games loads 3 questions at a time, with a continue button + loading time, thereby limiting its appeal
  • Add seamless loading of additional questions in Hunger Games
  • Load more question before the final question is answered, so that there's no waiting time or no Reload button to tap

Part of

  • Gamification

teolemon avatar Nov 12 '22 16:11 teolemon

I want to work on this issue. Please assign this to me. Can you tell me where is hunger games section in the app?

Adiii1436 avatar Feb 03 '23 06:02 Adiii1436

Hello @Adiii1436

If you mean where in app then:

Activate dev mode first by going into Profile then Contribute then Software Development and toggle on the dev mode

Then go into the dev mode menu that now appeared in the profile menu and tggle on the Activate hunger game.

After that u can see the hunger game menu in Contribute Section

The related files are at packages/smooth_app/lib/pages/hunger_games

AshAman999 avatar Feb 05 '23 20:02 AshAman999

@teolemon @AshAman999 Please Assign , But before that I have a proposed solution if you like it .

  • What We can do is that its not necessary to show dialog for saving answer each time specially if someone is skipping the question
  • Load next question meanwhile in background answers can be saved .
  • Third if in case user wants to change response to the question I think a back button or maybe slider to go back to previous question could be fine( Not very imp though) .

Akashsri3bi avatar Feb 13 '23 15:02 Akashsri3bi

What We can do is that its not necessary to show dialog for saving answer each time specially if someone is skipping the question

That is a good idea why would be. But just to make sure @raphael0202 there is no added value of saving "skipped" is there?

Load next question meanwhile in background answers can be saved .

I would go a even harder approach, something similar as we have in the search page. We shouldn't have any loading time.

The question 4,5 and 6 should be already loaded while I am answering 1,2 and 3. There should be as little loading time as possible

Third if in case user wants to change response to the question I think a back button or maybe slider to go back to previous question could be fine( Not very imp though) .

Good core idea, but I don't think there is a way to revert a response if it was already sent to the server

M123-dev avatar Feb 16 '23 17:02 M123-dev

What We can do is that its not necessary to show dialog for saving answer each time specially if someone is skipping the question

That is a good idea why would be. But just to make sure @raphael0202 there is no added value of saving "skipped" is there?

Load next question meanwhile in background answers can be saved .

I would go a even harder approach, something similar as we have in the search page. We shouldn't have any loading time.

The question 4,5 and 6 should be already loaded while I am answering 1,2 and 3. There should be as little loading time as possible

Third if in case user wants to change response to the question I think a back button or maybe slider to go back to previous question could be fine( Not very imp though) .

Good core idea, but I don't think there is a way to revert a response if it was already sent to the server

That's Great , So what would you propose in short what changes can be done that would be effective

Akashsri3bi avatar Feb 17 '23 06:02 Akashsri3bi

My recommendation would be to download the next questions while the first 3 are answered. There should be as little loading time as possible.


If you open the hunger games page, the first 3 (questions number: 1,2,3) questions are loaded.

While the users answers them we load the next 3 (4,5,6).

When the questions number 1,2,3 are finished we can display 4,5,6 without needing to load new ones.


It like YT shorts, Instagram Reels, TikTok. The next few videos are loading before you see them

M123-dev avatar Feb 18 '23 22:02 M123-dev

My recommendation would be to download the next questions while the first 3 are answered. There should be as little loading time as possible.

If you open the hunger games page, the first 3 (questions number: 1,2,3) questions are loaded.

While the users answers them we load the next 3 (4,5,6).

When the questions number 1,2,3 are finished we can display 4,5,6 without needing to load new ones.

It like YT shorts, Instagram Reels, TikTok. The next few videos are loading before you see them

Hmm , Looks a Little complex will try to do it

Akashsri3bi avatar Feb 19 '23 07:02 Akashsri3bi

That is a good idea why would be. But just to make sure @raphael0202 there is no added value of saving "skipped" is there?

What do you mean by "saving"? Send the annotation to Robotoff? If yes, you should send it indeed as this way we're not going to return this skipped question next time the user goes on the product page.

raphael0202 avatar Feb 27 '23 03:02 raphael0202