From 7724e1fbf4163bb0c064950fe638568720c4fd3d Mon Sep 17 00:00:00 2001 From: Jamey Huffnagle Date: Wed, 13 Mar 2024 08:25:06 -0400 Subject: [PATCH] feat(app): add protocol run notes feature flag --- app/src/assets/localization/en/app_settings.json | 1 + app/src/redux/config/constants.ts | 1 + app/src/redux/config/schema-types.ts | 5 ++++- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/app/src/assets/localization/en/app_settings.json b/app/src/assets/localization/en/app_settings.json index 017cf97914c..1c228f79f95 100644 --- a/app/src/assets/localization/en/app_settings.json +++ b/app/src/assets/localization/en/app_settings.json @@ -1,6 +1,7 @@ { "__dev_internal__protocolStats": "Protocol Stats", "__dev_internal__enableRunTimeParameters": "Enable Run Time Parameters", + "__dev_internal__enableRunNotes": "Display Notes During a Protocol Run", "add_folder_button": "Add labware source folder", "add_ip_button": "Add", "add_ip_error": "Enter an IP Address or Hostname", diff --git a/app/src/redux/config/constants.ts b/app/src/redux/config/constants.ts index 0f6dbba7a2d..cf9adc32921 100644 --- a/app/src/redux/config/constants.ts +++ b/app/src/redux/config/constants.ts @@ -3,6 +3,7 @@ import type { DevInternalFlag } from './types' export const DEV_INTERNAL_FLAGS: DevInternalFlag[] = [ 'protocolStats', 'enableRunTimeParameters', + 'enableRunNotes', ] // action type constants diff --git a/app/src/redux/config/schema-types.ts b/app/src/redux/config/schema-types.ts index d0412a4b501..dcdaff5748a 100644 --- a/app/src/redux/config/schema-types.ts +++ b/app/src/redux/config/schema-types.ts @@ -7,7 +7,10 @@ export type UpdateChannel = 'latest' | 'beta' | 'alpha' export type DiscoveryCandidates = string[] -export type DevInternalFlag = 'protocolStats' | 'enableRunTimeParameters' +export type DevInternalFlag = + | 'protocolStats' + | 'enableRunTimeParameters' + | 'enableRunNotes' export type FeatureFlags = Partial>