BIDMCDigitalPsychiatry / LAMP-platform

The LAMP Platform (issues and documentation).
https://docs.lamp.digital/
13 stars 10 forks source link

Remove deprecated Tag references #143

Open avaidyam opened 3 years ago

avaidyam commented 3 years ago

The following Tag keys should be removed from LAMP-dashboard. We have already discussed the migration strategy for all of these (if applicable). We will need to ensure that data can be migrated for teams who have already deployed a previous version of LAMP (server or dashboard).


Furthermore, many of the existing Tags can be consolidated into a single lamp.dashboard.settings Tag, as initially shared in #262:

"lamp.dashboard.settings": {
    "conversations": false,
    "prevent": true,
    "streaks": [
        "<activity_id_here>": true,
        "<activity_id_here>": false,
    ]
}

Other tags we should consider consolidating or baking into the API proper are:

sarithapillai8 commented 2 years ago

@avaidyam Could you share the data format for converting the following?

lamp.dashboard.activity_details
lamp.dashboard.survey_description
to.unityhealth.psychiatry.settings
lamp.name

lamp.dashboard.activity_details/lamp.dashboard.survey_description - this one recently included streak customization data also. Also the activity icon and descriptions are part of these.

avaidyam commented 2 years ago

Let's put this issue on hold for now as we need to iron out the migration strategy first.

EDIT: Another location that these Tag references need to be removed from and optimized in is this LAMP.API.Query call. as indicated in #495.