From 11c0172a1e6ee1a3233512ed946df9cef6053eac Mon Sep 17 00:00:00 2001 From: Jack Greenlee Date: Tue, 21 May 2024 02:01:32 -0400 Subject: [PATCH 1/4] include "grouping fields" along with metric names in metric_list Enables https://github.com/e-mission/e-mission-server/pull/966#issuecomment-2119705314 --- configs/dfc-fermata.nrel-op.json | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/configs/dfc-fermata.nrel-op.json b/configs/dfc-fermata.nrel-op.json index 155aaa8..5d781a4 100644 --- a/configs/dfc-fermata.nrel-op.json +++ b/configs/dfc-fermata.nrel-op.json @@ -1,6 +1,6 @@ { "url_abbreviation": "dfc-fermata", - "version": 7, + "version": 8, "ts": 1707714796485, "server": { "connectUrl": "https://dfc-fermata-openpath.nrel.gov/api/", @@ -255,11 +255,17 @@ "include_test_users": true, "phone_dashboard_ui": { "sections": ["footprint", "summary", "engagement", "surveys"], + "metric_list": { + "count": [ "primary_ble_sensed_mode" ], + "distance": [ "primary_ble_sensed_mode" ], + "duration": [ "primary_ble_sensed_mode" ], + "response_count": [ "survey" ] + }, "footprint_options": { "unlabeled_uncertainty": false }, "summary_options": { - "metrics_list": ["distance", "count", "duration"] + "summary_metrics": ["distance", "count", "duration", "response_count"] }, "engagement_options": { "leaderboard_metric": ["distance", "e_car"] From e2eadbf7d75904d6858a25b93cd43fc43a3cff9b Mon Sep 17 00:00:00 2001 From: Jack Greenlee Date: Tue, 21 May 2024 14:06:55 -0400 Subject: [PATCH 2/4] bump dfc-fermata to v9 Another PR was merged before this one which bumped it to v8 --- configs/dfc-fermata.nrel-op.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/dfc-fermata.nrel-op.json b/configs/dfc-fermata.nrel-op.json index 5d781a4..320278a 100644 --- a/configs/dfc-fermata.nrel-op.json +++ b/configs/dfc-fermata.nrel-op.json @@ -1,6 +1,6 @@ { "url_abbreviation": "dfc-fermata", - "version": 8, + "version": 9, "ts": 1707714796485, "server": { "connectUrl": "https://dfc-fermata-openpath.nrel.gov/api/", From 2e52209f6292994bef100a82d85b328a302399e0 Mon Sep 17 00:00:00 2001 From: Jack Greenlee Date: Fri, 24 May 2024 10:58:34 -0400 Subject: [PATCH 3/4] remove 'footprint' from dfc-fermata (temporarily) --- configs/dfc-fermata.nrel-op.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/dfc-fermata.nrel-op.json b/configs/dfc-fermata.nrel-op.json index a9ee405..24f670a 100644 --- a/configs/dfc-fermata.nrel-op.json +++ b/configs/dfc-fermata.nrel-op.json @@ -401,7 +401,7 @@ "metrics": { "include_test_users": false, "phone_dashboard_ui": { - "sections": ["footprint", "summary", "engagement", "surveys"], + "sections": ["summary", "surveys", "engagement"], "metric_list": { "count": [ "primary_ble_sensed_mode" ], "distance": [ "primary_ble_sensed_mode" ], From 94ff82897df1a101b2b1ab515e1a12653dccd663 Mon Sep 17 00:00:00 2001 From: Jack Greenlee Date: Fri, 24 May 2024 10:59:09 -0400 Subject: [PATCH 4/4] add push_notifications to dfc-fermata for https://github.com/e-mission/e-mission-server/pull/969 --- configs/dfc-fermata.nrel-op.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configs/dfc-fermata.nrel-op.json b/configs/dfc-fermata.nrel-op.json index 24f670a..2d11f16 100644 --- a/configs/dfc-fermata.nrel-op.json +++ b/configs/dfc-fermata.nrel-op.json @@ -419,6 +419,11 @@ } } }, + "push_notifications": { + "title": { "en": "Survey Responses Requested" }, + "message": { "en": "Please answer surveys for your recent trips" }, + "recent_user_input_threshold": 7 + }, "profile_controls": { "support_upload": false, "trip_end_notification": true