diff --git a/services/QuillLMS/client/app/bundles/Shared/components/shared/checkBox.tsx b/services/QuillLMS/client/app/bundles/Shared/components/shared/checkBox.tsx index b875c363506..0750e3694ec 100644 --- a/services/QuillLMS/client/app/bundles/Shared/components/shared/checkBox.tsx +++ b/services/QuillLMS/client/app/bundles/Shared/components/shared/checkBox.tsx @@ -11,7 +11,7 @@ const DARK = 'dark' const LIGHT = 'light' interface checkboxProps { - label: string; + label?: string; mode?: string; onClick?: () => void; state?: string; @@ -61,7 +61,7 @@ export const Checkbox = ({ label, mode=LIGHT, onClick, state, selected, id, }: c return (
+ Activating this prompt will make Trial Prompt 123 the Because Prompt for Test Activity.
+
+
+ Are you sure you want to activate Trial Prompt 123?
+
+
+ Note: You cannot undo this action. You can only replace the prompt with a different Trial Prompt.
+
+ The Because Prompt for Test Activity is currently Trial Prompt 111.
+
+
+ Activating this prompt will replace Trial Prompt 111 with Trial Prompt 123.
+
+
+ Are you sure you want to make Trial Prompt 123 the Because Prompt?
+
+ Please confirm that the following information is correct:
+
+
+ Because Prompt for Test Activity: Trial Prompt 123
+
+ No activated prompts found +
++ + Trial Number + + | ++ + Dataset + + | ++ + Activated + + | ++ + Prompt Template + + | ++ + Optimal Prompt Examples + + | ++ + Suboptimal Prompt Examples + + | ++ + Guidelines + + | ++ + Optimal Accuracy + + | ++ + Suboptimal Accuracy + + | ++ + LLM + + | ++ + GEval + + | ++ + Notes + + | ++ + Actions + + | +
---|---|---|---|---|---|---|---|---|---|---|---|---|
+ + Trial 5 + + | ++ Dataset 1.0 + | ++ 01/01/23 + | ++ Prompt Name + | ++ 3 + | ++ 2 + | ++ 1 + | ++ 90% (90/100) + | ++ 80% (80/100) + | ++ 1.0.0 + | ++ 85 + | ++ Test Notes + | ++ + | +
- Trial Number + Star | - Created + Trial Number | - Prompt Template + Created | - Temp + Prompt Template | Optimal Prompt Examples @@ -163,7 +262,7 @@ exports[`IndividualDataset matches snapshot when it is a data subset 1`] = ` | Suboptimal Prompt Examples @@ -172,7 +271,7 @@ exports[`IndividualDataset matches snapshot when it is a data subset 1`] = ` | Guidelines @@ -181,7 +280,7 @@ exports[`IndividualDataset matches snapshot when it is a data subset 1`] = ` | Optimal Accuracy @@ -190,7 +289,7 @@ exports[`IndividualDataset matches snapshot when it is a data subset 1`] = ` | Suboptimal Accuracy @@ -226,7 +325,7 @@ exports[`IndividualDataset matches snapshot when it is a data subset 1`] = ` | Status @@ -235,19 +334,19 @@ exports[`IndividualDataset matches snapshot when it is a data subset 1`] = ` | - Actions + Compare | - Compare + Activate? | @@ -259,20 +358,38 @@ exports[`IndividualDataset matches snapshot when it is a data subset 1`] = ` class="data-table-row " >- Trial 1 + | + + Trial 1 + + | +05/13/24 | LLM Prompt Name | @@ -282,12 +399,12 @@ exports[`IndividualDataset matches snapshot when it is a data subset 1`] = ` aria-haspopup="true" class="quill-tooltip-trigger " role="button" - style="width: 30px; min-width: 30px; text-align: right;" + style="width: 46px; min-width: 46px; text-align: right;" tabindex="0" > -NaN% (undefined/undefined) | NaN% (undefined/undefined) | @@ -421,50 +534,93 @@ exports[`IndividualDataset matches snapshot when it is a data subset 1`] = ` class="data-table-row-section allow-wrap grow-to-fit" style="width: 150px; min-width: 150px; text-align: right;" /> ++ + + + + + + | - | - - View - + + | - + + Activated + |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
- Trial 2 + | + + Trial 2 + + | +05/13/24 | LLM Prompt Name | @@ -474,12 +630,12 @@ exports[`IndividualDataset matches snapshot when it is a data subset 1`] = ` aria-haspopup="true" class="quill-tooltip-trigger " role="button" - style="width: 30px; min-width: 30px; text-align: right;" + style="width: 46px; min-width: 46px; text-align: right;" tabindex="0" > -NaN% (undefined/undefined) | NaN% (undefined/undefined) | @@ -613,30 +765,55 @@ exports[`IndividualDataset matches snapshot when it is a data subset 1`] = ` class="data-table-row-section allow-wrap grow-to-fit" style="width: 150px; min-width: 150px; text-align: right;" /> ++ + + + + + + | - | - - View - + + | - + + Activated + |
- Trial Number + Star | - Created + Trial Number | - Prompt Template + Created | - Temp + Prompt Template | Optimal Prompt Examples @@ -1070,7 +1346,7 @@ exports[`IndividualDataset matches snapshot when the dataset is whole 1`] = ` | Suboptimal Prompt Examples @@ -1079,7 +1355,7 @@ exports[`IndividualDataset matches snapshot when the dataset is whole 1`] = ` | Guidelines @@ -1088,7 +1364,7 @@ exports[`IndividualDataset matches snapshot when the dataset is whole 1`] = ` | Optimal Accuracy @@ -1097,7 +1373,7 @@ exports[`IndividualDataset matches snapshot when the dataset is whole 1`] = ` | Suboptimal Accuracy @@ -1133,7 +1409,7 @@ exports[`IndividualDataset matches snapshot when the dataset is whole 1`] = ` | Status @@ -1142,19 +1418,19 @@ exports[`IndividualDataset matches snapshot when the dataset is whole 1`] = ` | - Actions + Compare | - Compare + Activate? | @@ -1166,20 +1442,38 @@ exports[`IndividualDataset matches snapshot when the dataset is whole 1`] = ` class="data-table-row " >- Trial 1 + | + + Trial 1 + + | +05/13/24 | LLM Prompt Name | @@ -1189,12 +1483,12 @@ exports[`IndividualDataset matches snapshot when the dataset is whole 1`] = ` aria-haspopup="true" class="quill-tooltip-trigger " role="button" - style="width: 30px; min-width: 30px; text-align: right;" + style="width: 46px; min-width: 46px; text-align: right;" tabindex="0" > -NaN% (undefined/undefined) | NaN% (undefined/undefined) | @@ -1328,50 +1618,93 @@ exports[`IndividualDataset matches snapshot when the dataset is whole 1`] = ` class="data-table-row-section allow-wrap grow-to-fit" style="width: 150px; min-width: 150px; text-align: right;" /> ++ + + + + + + | - | - - View - + + | - + + Activated + |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
- Trial 2 + | + + Trial 2 + + | +05/13/24 | LLM Prompt Name | @@ -1381,12 +1714,12 @@ exports[`IndividualDataset matches snapshot when the dataset is whole 1`] = ` aria-haspopup="true" class="quill-tooltip-trigger " role="button" - style="width: 30px; min-width: 30px; text-align: right;" + style="width: 46px; min-width: 46px; text-align: right;" tabindex="0" > -NaN% (undefined/undefined) | NaN% (undefined/undefined) | @@ -1520,30 +1849,55 @@ exports[`IndividualDataset matches snapshot when the dataset is whole 1`] = ` class="data-table-row-section allow-wrap grow-to-fit" style="width: 150px; min-width: 150px; text-align: right;" /> ++ + + + + + + | - | - - View - + + | - + + Activated + |
- Trial Number + Star | - Created + Trial Number | - Prompt Template + Created | - Temp + Prompt Template | Optimal Prompt Examples @@ -80,7 +166,7 @@ exports[`TrialsSection matches the snapshot 1`] = ` | Suboptimal Prompt Examples @@ -89,7 +175,7 @@ exports[`TrialsSection matches the snapshot 1`] = ` | Guidelines @@ -98,7 +184,7 @@ exports[`TrialsSection matches the snapshot 1`] = ` | Optimal Accuracy @@ -107,7 +193,7 @@ exports[`TrialsSection matches the snapshot 1`] = ` | Suboptimal Accuracy @@ -116,7 +202,7 @@ exports[`TrialsSection matches the snapshot 1`] = ` | LLM @@ -143,7 +229,7 @@ exports[`TrialsSection matches the snapshot 1`] = ` | Status @@ -152,19 +238,19 @@ exports[`TrialsSection matches the snapshot 1`] = ` | - Actions + Compare | - Compare + Activate? | @@ -176,83 +262,76 @@ exports[`TrialsSection matches the snapshot 1`] = ` class="data-table-row " >- Trial 101 + | - 01/01/24 + + Trial 101 + | - Prompt A + 10/01/24 | - 0.7 + Prompt A | 3 | 2 | -- - - - - - + | + 9 | 71% (5/7) | 50% (3/6) | - v1.0 + 2 | Trial notes 1 | -- Completed + | + + + + + + | - - View - + + | + > + Activate + |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
- Trial 102 + | - 02/01/24 + + Trial 102 + | - Prompt B + 10/05/24 | - 0.9 + Prompt B | 4 | 3 | -- - - - - - + | + 11 | 75% (6/8) | 57% (4/7) | - v1.1 + 1 | - In Progress - + style="width: 30px; min-width: 30px; text-align: right;" + /> @@ -416,25 +510,30 @@ exports[`TrialsSection matches the snapshot 1`] = ` | - - View - + + | + > + Activate + |
+ Sample Prompt +
+{name}
+