@@ -7,6 +7,23 @@ import { type PnpExtractionResult, PnpProblemType } from './extraction-result';
7
7
import { type PlanningSheet } from './planning-sheet' ;
8
8
import { type ProgressSheet } from './progress-sheet' ;
9
9
10
+ const ApprovedCustomSteps = new Map < string , Step > ( [
11
+ [ 'draft & keyboard' , Step . ExegesisAndFirstDraft ] ,
12
+ [ 'first draft' , Step . ExegesisAndFirstDraft ] ,
13
+ [ 'exegesis, 1st draft, keyboard' , Step . ExegesisAndFirstDraft ] ,
14
+ [ 'internalization & first draft' , Step . ExegesisAndFirstDraft ] ,
15
+ [ 'exegesis 1st draft & keybrd' , Step . ExegesisAndFirstDraft ] ,
16
+ [ 'first draft & keyboard' , Step . ExegesisAndFirstDraft ] ,
17
+ [ 'exegesis, 1st draft. keyboard' , Step . ExegesisAndFirstDraft ] ,
18
+ [ 'team check & 1st testing' , Step . TeamCheck ] ,
19
+ [ 'team check & revision' , Step . TeamCheck ] ,
20
+ [ 'team check & 1st test' , Step . TeamCheck ] ,
21
+ [ 'field test' , Step . CommunityTesting ] ,
22
+ [ 'community check' , Step . CommunityTesting ] ,
23
+ [ 'community review' , Step . CommunityTesting ] ,
24
+ [ 'community testing & revision' , Step . CommunityTesting ] ,
25
+ ] ) ;
26
+
10
27
/**
11
28
* Fuzzy match available steps to their column address.
12
29
*/
@@ -21,7 +38,9 @@ export function findStepColumns(
21
38
. walkRight ( )
22
39
. filter ( ( cell ) => ! ! cell . asString )
23
40
. map ( ( cell ) => ( {
24
- label : cell . asString ! . trim ( ) ,
41
+ label :
42
+ ApprovedCustomSteps . get ( cell . asString ! . trim ( ) . toLowerCase ( ) ) ??
43
+ cell . asString ! ,
25
44
column : cell . column ,
26
45
cell,
27
46
} ) )
0 commit comments