rokwire / illinois-app

Source code repository of "Illinois" App - the official mobile app of the University of Illinois.
https://app.illinois.edu/
Apache License 2.0
23 stars 20 forks source link

[FEATURE] Implement Demographics Questionnaire #2465

Closed mihail-varbanov closed 1 year ago

mihail-varbanov commented 1 year ago

Re: University Monday 2022/10/10 / 2022-10-12

2.3 Research Platform: This will be phase 1 of this feature and we will move on to phase 2 in January. This is the rough idea:

After Onboarding and a NetID login present the user with another onboarding panel that asks if the user is interested in participating in Research Projects? (Must be >= 4 privacy and NetID login)

If No then go to the home panel and if Yes then show a Demographics Questionnaire.

The Demographics Questionnaire results will be stored in Core BB. We will need a JSON structure that will have a Title, Short Description and then multiple questions that will all have checkbox entries and each question may have two short descriptions, one before the beginning and one after the checkboxes.

We will need a Panel and Favs widget that have tabs for Research Invites and Research Projects being participated in.

In the users Profile Panel we will need a new panel for the demographic questions from onboarding. This may have new questions also and will also need the ability to "Opt Out" if participating or "Opt In" (same as onboarding) if not.

There will be a Core BB permission that is needed in order to create a Groups BB group that will be marked as a Research Group.

A Group BB research Group will use the Groups BB "request to join questionnaire" that we already have.

In the Groups BB Group UI we will need to be able to "Send an invite" (Notification) to all users who meet some demographic requirements.

If a user gets an invite and accepts it, then we will show the Groups BB questions and after completion do a request to join.

2.4 Groups UI and Groups BB:

2.4.1 Add "Research Group" attribute.

2.4.2 Notifications group by group

Re: University Monday 2022/10/10 / 2022-10-13

1.2 Research Feature

1.2.1 I attach the questions, they may change. We will use checkboxes only for phase 1 and some will be single selection within a question and others multiple checks. In this set of questions, only 8 is multiple choice.

Re: University Monday 2022/10/10 / 2022-10-13

3 Misho/Mladen, another bit of info on the Research feature. In the Group we will have another entry for all users called "Notifications". This will yield a panel similar to Group Updates when clicking the Notification icon at the top of the home panel, but it will have an additional checkbox called "Override my notification preferences for this group". See image attached.

Re: University Monday 2022/10/17 / 2022-10-18

6 Misho, please start implementing the Research feature then.

6.1. "Demographics Questionnaire: I can handle this. It would be nice to get some UI mockups but this is not obligatory (i.e. I could create it myself)." - Do it

6.2. "Group Invites / Notifications / Research Groups. I would suggest Dobromir or Todor to handle this as they are much more familiar with the Groups than me. I had been working in Groups quite occasionally on some small pieces of functionality." - Yes OK please direct as and when one of them has time and we have what we need from the backend so they can implement it.

Linked to rokwire/app-flutter-plugin#174

mihail-varbanov commented 1 year ago

Re: University Monday 2022/10/17 / 2022-10-20

3 Misho, Research. Great start.

3.1 Can we make the popup in onboarding a panel so it looks more like everything else in onboarding?

3.2 The popup/panel wording should be "Participate in research" with Yes and No buttons

3.3 In the Profile,

3.3.1 Can we have a check box for "Participate in research" which is checked based on the user state.

3.3.2 If 3.3.1 is checked then another entry called "Research questionnaire"

3.3.3 If it was checked and then becomes unchecked, a popup to say "You have decided to no longer participate in research and will clear all my research questionnaire information. Do you want to stop participating?" Yes/No

3.4 In the questionnaire, the question on ethnic towards the end should allow for more than one entry to be checked, like I am arabic and irish (ha ha)

mihail-varbanov commented 1 year ago

Re: University Monday 2022/10/17 / 2022-10-21

Misho can you replace "demographic" with "research" everywhere please and also somehow in the ethnicity ancestries the last 2 entries should be a single check of each and cancel any multi selects etc. Hopefully you know what I mean.