Skip to content

Commit 820b1ed

Browse files
authored
Merge pull request #371 from bcgsc/release/v6.23.0
Release/6.23.0
2 parents f23598c + fbcf22c commit 820b1ed

File tree

28 files changed

+694
-268
lines changed

28 files changed

+694
-268
lines changed

app/common.d.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,6 @@ declare global {
3737
};
3838
}
3939

40-
type AnyVariantType = 'cnv' | 'mut' | 'sv' | 'exp' | 'msi' | 'tmb';
41-
42-
type VariantTypeMap<T> =
43-
T extends 'cnv' ? CopyNumberType :
44-
T extends 'mut' ? SmallMutationType :
45-
T extends 'sv' ? StructuralVariantType:
46-
T extends 'exp' ? ExpOutliersType :
47-
T extends 'msi' ? MsiType :
48-
T extends 'tmb' ? TmburType:
49-
never;
50-
5140
type RecordDefaults = {
5241
ident: string;
5342
updatedAt: string | null;
@@ -115,6 +104,17 @@ type GeneType = {
115104
tumourSuppressor: boolean;
116105
};
117106

107+
type AnyVariantType = 'cnv' | 'mut' | 'sv' | 'exp' | 'msi' | 'tmb';
108+
109+
type VariantTypeMap<T extends AnyVariantType> = {
110+
'cnv': CopyNumberType;
111+
'mut': SmallMutationType;
112+
'sv': StructuralVariantType;
113+
'exp': ExpOutliersType;
114+
'msi': MsiType;
115+
'tmb': TmburType;
116+
}[T];
117+
118118
type KbMatchType<T extends AnyVariantType = AnyVariantType> = {
119119
approvedTherapy: boolean;
120120
category: string;

app/components/DataTable/__tests__/__snapshots__/DataTable.test.tsx.snap

Lines changed: 179 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -768,7 +768,7 @@ exports[`DataTable It matches the snapshot 1`] = `
768768
769769
770770
<div
771-
class="ag-floating-top"
771+
class="ag-floating-top ag-selectable"
772772
ref="eTop"
773773
role="presentation"
774774
style="min-height: 0px; height: 0px; display: none; overflow-y: hidden;"
@@ -832,7 +832,7 @@ exports[`DataTable It matches the snapshot 1`] = `
832832
833833
834834
<div
835-
class="ag-body-viewport ag-layout-auto-height ag-row-no-animation"
835+
class="ag-body-viewport ag-selectable ag-layout-auto-height ag-row-no-animation"
836836
ref="eBodyViewport"
837837
role="presentation"
838838
>
@@ -908,51 +908,127 @@ exports[`DataTable It matches the snapshot 1`] = `
908908
>
909909
<div
910910
aria-colindex="1"
911-
class="ag-cell ag-cell-not-inline-editing ag-cell-auto-height ag-cell-value"
911+
aria-describedby="cell-36"
912+
class="ag-cell ag-cell-not-inline-editing ag-cell-auto-height"
912913
col-id="username"
913914
comp-id="36"
914915
role="gridcell"
915916
style="width: 200px; left: 0px; "
916917
tabindex="-1"
917-
unselectable="on"
918918
>
919-
pattredes
919+
<div
920+
class="ag-cell-wrapper"
921+
ref="eCellWrapper"
922+
role="presentation"
923+
>
924+
925+
926+
<span
927+
class="ag-cell-value"
928+
id="cell-36"
929+
ref="eCellValue"
930+
role="presentation"
931+
>
932+
933+
pattredes
934+
935+
</span>
936+
937+
938+
</div>
920939
</div>
921940
<div
922941
aria-colindex="2"
923-
class="ag-cell ag-cell-not-inline-editing ag-cell-auto-height ag-cell-value"
942+
aria-describedby="cell-37"
943+
class="ag-cell ag-cell-not-inline-editing ag-cell-auto-height"
924944
col-id="password"
925945
comp-id="37"
926946
role="gridcell"
927947
style="width: 200px; left: 200px; "
928948
tabindex="-1"
929-
unselectable="on"
930949
>
931-
hunter2
950+
<div
951+
class="ag-cell-wrapper"
952+
ref="eCellWrapper"
953+
role="presentation"
954+
>
955+
956+
957+
<span
958+
class="ag-cell-value"
959+
id="cell-37"
960+
ref="eCellValue"
961+
role="presentation"
962+
>
963+
964+
hunter2
965+
966+
</span>
967+
968+
969+
</div>
932970
</div>
933971
<div
934972
aria-colindex="3"
935-
class="ag-cell ag-cell-not-inline-editing ag-cell-auto-height ag-cell-value"
973+
aria-describedby="cell-38"
974+
class="ag-cell ag-cell-not-inline-editing ag-cell-auto-height"
936975
col-id="email"
937976
comp-id="38"
938977
role="gridcell"
939978
style="width: 200px; left: 400px; "
940979
tabindex="-1"
941-
unselectable="on"
942980
>
943-
usul@arrakis.dune
981+
<div
982+
class="ag-cell-wrapper"
983+
ref="eCellWrapper"
984+
role="presentation"
985+
>
986+
987+
988+
<span
989+
class="ag-cell-value"
990+
id="cell-38"
991+
ref="eCellValue"
992+
role="presentation"
993+
>
994+
995+
usul@arrakis.dune
996+
997+
</span>
998+
999+
1000+
</div>
9441001
</div>
9451002
<div
9461003
aria-colindex="4"
947-
class="ag-cell ag-cell-not-inline-editing ag-cell-auto-height ag-cell-value"
1004+
aria-describedby="cell-39"
1005+
class="ag-cell ag-cell-not-inline-editing ag-cell-auto-height"
9481006
col-id="ident"
9491007
comp-id="39"
9501008
role="gridcell"
9511009
style="width: 200px; left: 600px; "
9521010
tabindex="-1"
953-
unselectable="on"
9541011
>
955-
uuid1
1012+
<div
1013+
class="ag-cell-wrapper"
1014+
ref="eCellWrapper"
1015+
role="presentation"
1016+
>
1017+
1018+
1019+
<span
1020+
class="ag-cell-value"
1021+
id="cell-39"
1022+
ref="eCellValue"
1023+
role="presentation"
1024+
>
1025+
1026+
uuid1
1027+
1028+
</span>
1029+
1030+
1031+
</div>
9561032
</div>
9571033
</div>
9581034
<div
@@ -967,51 +1043,127 @@ exports[`DataTable It matches the snapshot 1`] = `
9671043
>
9681044
<div
9691045
aria-colindex="1"
970-
class="ag-cell ag-cell-not-inline-editing ag-cell-auto-height ag-cell-value"
1046+
aria-describedby="cell-41"
1047+
class="ag-cell ag-cell-not-inline-editing ag-cell-auto-height"
9711048
col-id="username"
9721049
comp-id="41"
9731050
role="gridcell"
9741051
style="width: 200px; left: 0px; "
9751052
tabindex="-1"
976-
unselectable="on"
9771053
>
978-
mmartin
1054+
<div
1055+
class="ag-cell-wrapper"
1056+
ref="eCellWrapper"
1057+
role="presentation"
1058+
>
1059+
1060+
1061+
<span
1062+
class="ag-cell-value"
1063+
id="cell-41"
1064+
ref="eCellValue"
1065+
role="presentation"
1066+
>
1067+
1068+
mmartin
1069+
1070+
</span>
1071+
1072+
1073+
</div>
9791074
</div>
9801075
<div
9811076
aria-colindex="2"
982-
class="ag-cell ag-cell-not-inline-editing ag-cell-auto-height ag-cell-value"
1077+
aria-describedby="cell-42"
1078+
class="ag-cell ag-cell-not-inline-editing ag-cell-auto-height"
9831079
col-id="password"
9841080
comp-id="42"
9851081
role="gridcell"
9861082
style="width: 200px; left: 200px; "
9871083
tabindex="-1"
988-
unselectable="on"
9891084
>
990-
password123
1085+
<div
1086+
class="ag-cell-wrapper"
1087+
ref="eCellWrapper"
1088+
role="presentation"
1089+
>
1090+
1091+
1092+
<span
1093+
class="ag-cell-value"
1094+
id="cell-42"
1095+
ref="eCellValue"
1096+
role="presentation"
1097+
>
1098+
1099+
password123
1100+
1101+
</span>
1102+
1103+
1104+
</div>
9911105
</div>
9921106
<div
9931107
aria-colindex="3"
994-
class="ag-cell ag-cell-not-inline-editing ag-cell-auto-height ag-cell-value"
1108+
aria-describedby="cell-43"
1109+
class="ag-cell ag-cell-not-inline-editing ag-cell-auto-height"
9951110
col-id="email"
9961111
comp-id="43"
9971112
role="gridcell"
9981113
style="width: 200px; left: 400px; "
9991114
tabindex="-1"
1000-
unselectable="on"
10011115
>
1002-
matewmartin@victokia.com
1116+
<div
1117+
class="ag-cell-wrapper"
1118+
ref="eCellWrapper"
1119+
role="presentation"
1120+
>
1121+
1122+
1123+
<span
1124+
class="ag-cell-value"
1125+
id="cell-43"
1126+
ref="eCellValue"
1127+
role="presentation"
1128+
>
1129+
1130+
matewmartin@victokia.com
1131+
1132+
</span>
1133+
1134+
1135+
</div>
10031136
</div>
10041137
<div
10051138
aria-colindex="4"
1006-
class="ag-cell ag-cell-not-inline-editing ag-cell-auto-height ag-cell-value"
1139+
aria-describedby="cell-44"
1140+
class="ag-cell ag-cell-not-inline-editing ag-cell-auto-height"
10071141
col-id="ident"
10081142
comp-id="44"
10091143
role="gridcell"
10101144
style="width: 200px; left: 600px; "
10111145
tabindex="-1"
1012-
unselectable="on"
10131146
>
1014-
uuid2
1147+
<div
1148+
class="ag-cell-wrapper"
1149+
ref="eCellWrapper"
1150+
role="presentation"
1151+
>
1152+
1153+
1154+
<span
1155+
class="ag-cell-value"
1156+
id="cell-44"
1157+
ref="eCellValue"
1158+
role="presentation"
1159+
>
1160+
1161+
uuid2
1162+
1163+
</span>
1164+
1165+
1166+
</div>
10151167
</div>
10161168
</div>
10171169
</div>
@@ -1070,7 +1222,7 @@ exports[`DataTable It matches the snapshot 1`] = `
10701222
10711223
10721224
<div
1073-
class="ag-floating-bottom"
1225+
class="ag-floating-bottom ag-selectable"
10741226
ref="eBottom"
10751227
role="presentation"
10761228
style="min-height: 0px; height: 0px; display: none; overflow-y: hidden;"

0 commit comments

Comments
 (0)