Skip to content
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

Ability to see previous days/weeks in the Feed tab #148

Open
avaidyam opened this issue Apr 5, 2021 · 6 comments
Open

Ability to see previous days/weeks in the Feed tab #148

avaidyam opened this issue Apr 5, 2021 · 6 comments
Labels
7day 7 days effort required feature New feature or request frontend LAMP-dashboard, LAMP-activities, and LAMP-js in progress Issue is being worked on actively on hold Issue will not be worked on yet or is roadblocked

Comments

@avaidyam
Copy link
Member

avaidyam commented Apr 5, 2021

It should be possible to view previous days in the Feed tab, with the matching Activity schedule and whether the item was "checked off" (i.e. taken at the right time).

If you tap on a previous Feed entry (i.e a survey that was taken one week ago), you should be able to see the detail list (temporal_slices) of question → answer, duration here as well.

Furthermore, the clinician-facing "edit" and "delete" abilities should be moved to the Feed tab instead of the Prevent tab (which currently only works for surveys).


Updated explanation

The date-strip at the top of the Feed tab should support these views as you scroll through it and pick a date:

  1. Today view:
    1. See what you’ve already done today
      1. Tap on and complete items that are coming up (within a threshold before/after the scheduled time as provided in Activity.schedule)
  2. Future view:
    1. See what’s coming up tomorrow/beyond
      • BUT cannot open the activities to interact/complete them
  3. Past view:
    1. See what was scheduled in the past
      1. If a scheduled item was completed within the Activity schedule time window it will show up with a check mark or something
      2. If a scheduled item was not completed in time, it will be grayed out/outlined instead of filled in
    2. See what you completed in the past
      1. If an item was completed during a scheduled time window (see above) it will show up with a check mark
      2. If an item was completed even if there was no schedule for it (i.e. a meditation exercise I chose to do on my own because I was anxious) then it will just show up filled in but without a check mark, but it will not be outlined/grayed out as if I missed a scheduled item
@avaidyam avaidyam added feature New feature or request NO ETA No "days of effort required" assigned yet frontend LAMP-dashboard, LAMP-activities, and LAMP-js on hold Issue will not be worked on yet or is roadblocked labels Apr 5, 2021
@avaidyam avaidyam removed the on hold Issue will not be worked on yet or is roadblocked label Apr 26, 2021
@avaidyam avaidyam added on hold Issue will not be worked on yet or is roadblocked and removed NO ETA No "days of effort required" assigned yet labels Nov 17, 2021
@sarithapillai8
Copy link
Contributor

@avaidyam
Could you please confirm we don't need to work on this now? We were planning to work on this after priority items.

@SuruPa00
Copy link
Contributor

@sarithapillai8 can this be worked on after the alphabetical sorting issue is fixed?

@sarithapillai8
Copy link
Contributor

@SuruPa00 Sure.

@sarithapillai8
Copy link
Contributor

@SuruPa00
Accidently closed. Could you please reopen?

@avaidyam avaidyam reopened this Nov 30, 2021
@sarithapillai8 sarithapillai8 added the 7day 7 days effort required label Dec 2, 2021
@sarithapillai8
Copy link
Contributor

@avaidyam
Just FYI - The survey edit option from prevent page was not working when the XY graph changed to Vega.
BIDMCDigitalPsychiatry/LAMP-dashboard@95f41d2#diff-403a62eadf317c67dffa3b32af8be53da2239445ed050bbbcb298e73819f9753
So we will be working on that too with this. Survey update was having an issue which I reported before and we put that on hold before and never worked after. I can check on these along with the changes.

@avaidyam
Copy link
Member Author

avaidyam commented Dec 2, 2021

The survey edit/delete options can be ignored for now - just keep the original code in tact.

@SuruPa00 SuruPa00 moved this to Features in mindLAMP 2 Dec 6, 2021
@avaidyam avaidyam added the in progress Issue is being worked on actively label Jan 10, 2022
@avaidyam avaidyam removed the status in mindLAMP 2 Jan 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
7day 7 days effort required feature New feature or request frontend LAMP-dashboard, LAMP-activities, and LAMP-js in progress Issue is being worked on actively on hold Issue will not be worked on yet or is roadblocked
Projects
Status: No status
Development

No branches or pull requests

3 participants