@jbrowse/plugin-config 1.7.7 → 1.7.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ConfigurationEditorWidget/components/CodeEditor.js +16 -13
- package/dist/ConfigurationEditorWidget/components/SlotEditor.js +72 -110
- package/dist/ConfigurationEditorWidget/components/StringArrayEditor.d.ts +12 -0
- package/dist/ConfigurationEditorWidget/components/StringArrayEditor.js +110 -0
- package/dist/ConfigurationEditorWidget/index.js +2 -2
- package/package.json +2 -2
- package/src/ConfigurationEditorWidget/components/CodeEditor.js +4 -3
- package/src/ConfigurationEditorWidget/components/SlotEditor.js +28 -73
- package/src/ConfigurationEditorWidget/components/StringArrayEditor.tsx +115 -0
- package/src/ConfigurationEditorWidget/components/__snapshots__/ConfigurationEditor.test.js.snap +110 -142
- package/src/ConfigurationEditorWidget/index.js +2 -2
package/src/ConfigurationEditorWidget/components/__snapshots__/ConfigurationEditor.test.js.snap
CHANGED
|
@@ -86,11 +86,13 @@ exports[`ConfigurationEditor widget renders all the different types of built-in
|
|
|
86
86
|
value="string1"
|
|
87
87
|
/>
|
|
88
88
|
</div>
|
|
89
|
-
<
|
|
89
|
+
<div
|
|
90
90
|
class="MuiFormHelperText-root MuiFormHelperText-filled"
|
|
91
91
|
>
|
|
92
|
-
|
|
93
|
-
|
|
92
|
+
<div>
|
|
93
|
+
stringTest
|
|
94
|
+
</div>
|
|
95
|
+
</div>
|
|
94
96
|
</div>
|
|
95
97
|
</div>
|
|
96
98
|
<div
|
|
@@ -308,51 +310,21 @@ exports[`ConfigurationEditor widget renders all the different types of built-in
|
|
|
308
310
|
</div>
|
|
309
311
|
</div>
|
|
310
312
|
</li>
|
|
311
|
-
<
|
|
312
|
-
class="
|
|
313
|
+
<button
|
|
314
|
+
class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary"
|
|
315
|
+
style="margin: 4px;"
|
|
316
|
+
tabindex="0"
|
|
317
|
+
type="button"
|
|
313
318
|
>
|
|
314
|
-
<
|
|
315
|
-
class="
|
|
319
|
+
<span
|
|
320
|
+
class="MuiButton-label"
|
|
316
321
|
>
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
placeholder="add new"
|
|
324
|
-
type="text"
|
|
325
|
-
value=""
|
|
326
|
-
/>
|
|
327
|
-
<div
|
|
328
|
-
class="MuiInputAdornment-root MuiInputAdornment-positionEnd"
|
|
329
|
-
>
|
|
330
|
-
<button
|
|
331
|
-
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-colorSecondary MuiIconButton-disabled MuiButtonBase-disabled"
|
|
332
|
-
data-testid="stringArrayAdd-stringArrayTest"
|
|
333
|
-
disabled=""
|
|
334
|
-
tabindex="-1"
|
|
335
|
-
type="button"
|
|
336
|
-
>
|
|
337
|
-
<span
|
|
338
|
-
class="MuiIconButton-label"
|
|
339
|
-
>
|
|
340
|
-
<svg
|
|
341
|
-
aria-hidden="true"
|
|
342
|
-
class="MuiSvgIcon-root"
|
|
343
|
-
focusable="false"
|
|
344
|
-
viewBox="0 0 24 24"
|
|
345
|
-
>
|
|
346
|
-
<path
|
|
347
|
-
d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
|
|
348
|
-
/>
|
|
349
|
-
</svg>
|
|
350
|
-
</span>
|
|
351
|
-
</button>
|
|
352
|
-
</div>
|
|
353
|
-
</div>
|
|
354
|
-
</div>
|
|
355
|
-
</li>
|
|
322
|
+
Add item
|
|
323
|
+
</span>
|
|
324
|
+
<span
|
|
325
|
+
class="MuiTouchRipple-root"
|
|
326
|
+
/>
|
|
327
|
+
</button>
|
|
356
328
|
</ul>
|
|
357
329
|
<p
|
|
358
330
|
class="MuiFormHelperText-root"
|
|
@@ -514,51 +486,21 @@ exports[`ConfigurationEditor widget renders all the different types of built-in
|
|
|
514
486
|
</div>
|
|
515
487
|
</div>
|
|
516
488
|
</li>
|
|
517
|
-
<
|
|
518
|
-
class="
|
|
489
|
+
<button
|
|
490
|
+
class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary"
|
|
491
|
+
style="margin: 4px;"
|
|
492
|
+
tabindex="0"
|
|
493
|
+
type="button"
|
|
519
494
|
>
|
|
520
|
-
<
|
|
521
|
-
class="
|
|
495
|
+
<span
|
|
496
|
+
class="MuiButton-label"
|
|
522
497
|
>
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
placeholder="add new"
|
|
530
|
-
type="text"
|
|
531
|
-
value=""
|
|
532
|
-
/>
|
|
533
|
-
<div
|
|
534
|
-
class="MuiInputAdornment-root MuiInputAdornment-positionEnd"
|
|
535
|
-
>
|
|
536
|
-
<button
|
|
537
|
-
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-colorSecondary MuiIconButton-disabled MuiButtonBase-disabled"
|
|
538
|
-
data-testid="stringArrayAdd-undefined"
|
|
539
|
-
disabled=""
|
|
540
|
-
tabindex="-1"
|
|
541
|
-
type="button"
|
|
542
|
-
>
|
|
543
|
-
<span
|
|
544
|
-
class="MuiIconButton-label"
|
|
545
|
-
>
|
|
546
|
-
<svg
|
|
547
|
-
aria-hidden="true"
|
|
548
|
-
class="MuiSvgIcon-root"
|
|
549
|
-
focusable="false"
|
|
550
|
-
viewBox="0 0 24 24"
|
|
551
|
-
>
|
|
552
|
-
<path
|
|
553
|
-
d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"
|
|
554
|
-
/>
|
|
555
|
-
</svg>
|
|
556
|
-
</span>
|
|
557
|
-
</button>
|
|
558
|
-
</div>
|
|
559
|
-
</div>
|
|
560
|
-
</div>
|
|
561
|
-
</li>
|
|
498
|
+
Add item
|
|
499
|
+
</span>
|
|
500
|
+
<span
|
|
501
|
+
class="MuiTouchRipple-root"
|
|
502
|
+
/>
|
|
503
|
+
</button>
|
|
562
504
|
</ul>
|
|
563
505
|
<p
|
|
564
506
|
class="MuiFormHelperText-root"
|
|
@@ -636,7 +578,7 @@ exports[`ConfigurationEditor widget renders all the different types of built-in
|
|
|
636
578
|
class="makeStyles-paperContent"
|
|
637
579
|
>
|
|
638
580
|
<div
|
|
639
|
-
class="MuiFormControl-root MuiTextField-root"
|
|
581
|
+
class="MuiFormControl-root MuiTextField-root MuiFormControl-fullWidth"
|
|
640
582
|
>
|
|
641
583
|
<label
|
|
642
584
|
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiFormLabel-filled"
|
|
@@ -645,7 +587,7 @@ exports[`ConfigurationEditor widget renders all the different types of built-in
|
|
|
645
587
|
numberTest
|
|
646
588
|
</label>
|
|
647
589
|
<div
|
|
648
|
-
class="MuiInputBase-root MuiInput-root MuiInput-underline MuiInputBase-formControl MuiInput-formControl"
|
|
590
|
+
class="MuiInputBase-root MuiInput-root MuiInput-underline MuiInputBase-fullWidth MuiInput-fullWidth MuiInputBase-formControl MuiInput-formControl"
|
|
649
591
|
>
|
|
650
592
|
<input
|
|
651
593
|
aria-invalid="false"
|
|
@@ -654,11 +596,13 @@ exports[`ConfigurationEditor widget renders all the different types of built-in
|
|
|
654
596
|
value="88.5"
|
|
655
597
|
/>
|
|
656
598
|
</div>
|
|
657
|
-
<
|
|
599
|
+
<div
|
|
658
600
|
class="MuiFormHelperText-root MuiFormHelperText-filled"
|
|
659
601
|
>
|
|
660
|
-
|
|
661
|
-
|
|
602
|
+
<div>
|
|
603
|
+
numberTest
|
|
604
|
+
</div>
|
|
605
|
+
</div>
|
|
662
606
|
</div>
|
|
663
607
|
</div>
|
|
664
608
|
<div
|
|
@@ -672,7 +616,7 @@ exports[`ConfigurationEditor widget renders all the different types of built-in
|
|
|
672
616
|
class="makeStyles-paperContent"
|
|
673
617
|
>
|
|
674
618
|
<div
|
|
675
|
-
class="MuiFormControl-root MuiTextField-root"
|
|
619
|
+
class="MuiFormControl-root MuiTextField-root MuiFormControl-fullWidth"
|
|
676
620
|
>
|
|
677
621
|
<label
|
|
678
622
|
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiFormLabel-filled"
|
|
@@ -681,7 +625,7 @@ exports[`ConfigurationEditor widget renders all the different types of built-in
|
|
|
681
625
|
integerTest
|
|
682
626
|
</label>
|
|
683
627
|
<div
|
|
684
|
-
class="MuiInputBase-root MuiInput-root MuiInput-underline MuiInputBase-formControl MuiInput-formControl"
|
|
628
|
+
class="MuiInputBase-root MuiInput-root MuiInput-underline MuiInputBase-fullWidth MuiInput-fullWidth MuiInputBase-formControl MuiInput-formControl"
|
|
685
629
|
>
|
|
686
630
|
<input
|
|
687
631
|
aria-invalid="false"
|
|
@@ -690,11 +634,13 @@ exports[`ConfigurationEditor widget renders all the different types of built-in
|
|
|
690
634
|
value="42"
|
|
691
635
|
/>
|
|
692
636
|
</div>
|
|
693
|
-
<
|
|
637
|
+
<div
|
|
694
638
|
class="MuiFormHelperText-root MuiFormHelperText-filled"
|
|
695
639
|
>
|
|
696
|
-
|
|
697
|
-
|
|
640
|
+
<div>
|
|
641
|
+
integerTest
|
|
642
|
+
</div>
|
|
643
|
+
</div>
|
|
698
644
|
</div>
|
|
699
645
|
</div>
|
|
700
646
|
<div
|
|
@@ -872,7 +818,7 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
|
|
|
872
818
|
class="makeStyles-paperContent"
|
|
873
819
|
>
|
|
874
820
|
<div
|
|
875
|
-
class="MuiFormControl-root MuiTextField-root"
|
|
821
|
+
class="MuiFormControl-root MuiTextField-root MuiFormControl-fullWidth"
|
|
876
822
|
>
|
|
877
823
|
<label
|
|
878
824
|
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiFormLabel-filled"
|
|
@@ -881,7 +827,7 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
|
|
|
881
827
|
maxFeatureScreenDensity
|
|
882
828
|
</label>
|
|
883
829
|
<div
|
|
884
|
-
class="MuiInputBase-root MuiInput-root MuiInput-underline MuiInputBase-formControl MuiInput-formControl"
|
|
830
|
+
class="MuiInputBase-root MuiInput-root MuiInput-underline MuiInputBase-fullWidth MuiInput-fullWidth MuiInputBase-formControl MuiInput-formControl"
|
|
885
831
|
>
|
|
886
832
|
<input
|
|
887
833
|
aria-invalid="false"
|
|
@@ -890,11 +836,13 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
|
|
|
890
836
|
value="0.3"
|
|
891
837
|
/>
|
|
892
838
|
</div>
|
|
893
|
-
<
|
|
839
|
+
<div
|
|
894
840
|
class="MuiFormHelperText-root MuiFormHelperText-filled"
|
|
895
841
|
>
|
|
896
|
-
|
|
897
|
-
|
|
842
|
+
<div>
|
|
843
|
+
maximum features per pixel that is displayed in the view, used if byte size estimates not available
|
|
844
|
+
</div>
|
|
845
|
+
</div>
|
|
898
846
|
</div>
|
|
899
847
|
</div>
|
|
900
848
|
<div
|
|
@@ -908,7 +856,7 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
|
|
|
908
856
|
class="makeStyles-paperContent"
|
|
909
857
|
>
|
|
910
858
|
<div
|
|
911
|
-
class="MuiFormControl-root MuiTextField-root"
|
|
859
|
+
class="MuiFormControl-root MuiTextField-root MuiFormControl-fullWidth"
|
|
912
860
|
>
|
|
913
861
|
<label
|
|
914
862
|
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiFormLabel-filled"
|
|
@@ -917,7 +865,7 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
|
|
|
917
865
|
fetchSizeLimit
|
|
918
866
|
</label>
|
|
919
867
|
<div
|
|
920
|
-
class="MuiInputBase-root MuiInput-root MuiInput-underline MuiInputBase-formControl MuiInput-formControl"
|
|
868
|
+
class="MuiInputBase-root MuiInput-root MuiInput-underline MuiInputBase-fullWidth MuiInput-fullWidth MuiInputBase-formControl MuiInput-formControl"
|
|
921
869
|
>
|
|
922
870
|
<input
|
|
923
871
|
aria-invalid="false"
|
|
@@ -926,11 +874,13 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
|
|
|
926
874
|
value="1000000"
|
|
927
875
|
/>
|
|
928
876
|
</div>
|
|
929
|
-
<
|
|
877
|
+
<div
|
|
930
878
|
class="MuiFormHelperText-root MuiFormHelperText-filled"
|
|
931
879
|
>
|
|
932
|
-
|
|
933
|
-
|
|
880
|
+
<div>
|
|
881
|
+
maximum data to attempt to download for a given track, used if adapter doesn't specify one
|
|
882
|
+
</div>
|
|
883
|
+
</div>
|
|
934
884
|
</div>
|
|
935
885
|
</div>
|
|
936
886
|
<div
|
|
@@ -1284,11 +1234,13 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
|
|
|
1284
1234
|
/>
|
|
1285
1235
|
</svg>
|
|
1286
1236
|
</div>
|
|
1287
|
-
<
|
|
1237
|
+
<div
|
|
1288
1238
|
class="MuiFormHelperText-root MuiFormHelperText-filled"
|
|
1289
1239
|
>
|
|
1290
|
-
|
|
1291
|
-
|
|
1240
|
+
<div>
|
|
1241
|
+
read sequencer orienation. fr is normal "reads pointing at each other ---> <--- while some other sequencers can use other options
|
|
1242
|
+
</div>
|
|
1243
|
+
</div>
|
|
1292
1244
|
</div>
|
|
1293
1245
|
</div>
|
|
1294
1246
|
<div
|
|
@@ -1338,11 +1290,13 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
|
|
|
1338
1290
|
/>
|
|
1339
1291
|
</svg>
|
|
1340
1292
|
</div>
|
|
1341
|
-
<
|
|
1293
|
+
<div
|
|
1342
1294
|
class="MuiFormHelperText-root MuiFormHelperText-filled"
|
|
1343
1295
|
>
|
|
1344
|
-
|
|
1345
|
-
|
|
1296
|
+
<div>
|
|
1297
|
+
Alternative display modes
|
|
1298
|
+
</div>
|
|
1299
|
+
</div>
|
|
1346
1300
|
</div>
|
|
1347
1301
|
</div>
|
|
1348
1302
|
<div
|
|
@@ -1356,7 +1310,7 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
|
|
|
1356
1310
|
class="makeStyles-paperContent"
|
|
1357
1311
|
>
|
|
1358
1312
|
<div
|
|
1359
|
-
class="MuiFormControl-root MuiTextField-root"
|
|
1313
|
+
class="MuiFormControl-root MuiTextField-root MuiFormControl-fullWidth"
|
|
1360
1314
|
>
|
|
1361
1315
|
<label
|
|
1362
1316
|
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiFormLabel-filled"
|
|
@@ -1365,20 +1319,22 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
|
|
|
1365
1319
|
minSubfeatureWidth
|
|
1366
1320
|
</label>
|
|
1367
1321
|
<div
|
|
1368
|
-
class="MuiInputBase-root MuiInput-root MuiInput-underline MuiInputBase-formControl MuiInput-formControl"
|
|
1322
|
+
class="MuiInputBase-root MuiInput-root MuiInput-underline MuiInputBase-fullWidth MuiInput-fullWidth MuiInputBase-formControl MuiInput-formControl"
|
|
1369
1323
|
>
|
|
1370
1324
|
<input
|
|
1371
1325
|
aria-invalid="false"
|
|
1372
1326
|
class="MuiInputBase-input MuiInput-input"
|
|
1373
1327
|
type="number"
|
|
1374
|
-
value="0"
|
|
1328
|
+
value="0.7"
|
|
1375
1329
|
/>
|
|
1376
1330
|
</div>
|
|
1377
|
-
<
|
|
1331
|
+
<div
|
|
1378
1332
|
class="MuiFormHelperText-root MuiFormHelperText-filled"
|
|
1379
1333
|
>
|
|
1380
|
-
|
|
1381
|
-
|
|
1334
|
+
<div>
|
|
1335
|
+
the minimum width in px for a pileup mismatch feature. use for increasing/decreasing mismatch marker widths when zoomed out, e.g. 0 or 1
|
|
1336
|
+
</div>
|
|
1337
|
+
</div>
|
|
1382
1338
|
</div>
|
|
1383
1339
|
</div>
|
|
1384
1340
|
<div
|
|
@@ -1392,7 +1348,7 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
|
|
|
1392
1348
|
class="makeStyles-paperContent"
|
|
1393
1349
|
>
|
|
1394
1350
|
<div
|
|
1395
|
-
class="MuiFormControl-root MuiTextField-root"
|
|
1351
|
+
class="MuiFormControl-root MuiTextField-root MuiFormControl-fullWidth"
|
|
1396
1352
|
>
|
|
1397
1353
|
<label
|
|
1398
1354
|
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiFormLabel-filled"
|
|
@@ -1401,7 +1357,7 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
|
|
|
1401
1357
|
maxHeight
|
|
1402
1358
|
</label>
|
|
1403
1359
|
<div
|
|
1404
|
-
class="MuiInputBase-root MuiInput-root MuiInput-underline MuiInputBase-formControl MuiInput-formControl"
|
|
1360
|
+
class="MuiInputBase-root MuiInput-root MuiInput-underline MuiInputBase-fullWidth MuiInput-fullWidth MuiInputBase-formControl MuiInput-formControl"
|
|
1405
1361
|
>
|
|
1406
1362
|
<input
|
|
1407
1363
|
aria-invalid="false"
|
|
@@ -1410,11 +1366,13 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
|
|
|
1410
1366
|
value="1200"
|
|
1411
1367
|
/>
|
|
1412
1368
|
</div>
|
|
1413
|
-
<
|
|
1369
|
+
<div
|
|
1414
1370
|
class="MuiFormHelperText-root MuiFormHelperText-filled"
|
|
1415
1371
|
>
|
|
1416
|
-
|
|
1417
|
-
|
|
1372
|
+
<div>
|
|
1373
|
+
the maximum height to be used in a pileup rendering
|
|
1374
|
+
</div>
|
|
1375
|
+
</div>
|
|
1418
1376
|
</div>
|
|
1419
1377
|
</div>
|
|
1420
1378
|
<div
|
|
@@ -1428,7 +1386,7 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
|
|
|
1428
1386
|
class="makeStyles-paperContent"
|
|
1429
1387
|
>
|
|
1430
1388
|
<div
|
|
1431
|
-
class="MuiFormControl-root MuiTextField-root"
|
|
1389
|
+
class="MuiFormControl-root MuiTextField-root MuiFormControl-fullWidth"
|
|
1432
1390
|
>
|
|
1433
1391
|
<label
|
|
1434
1392
|
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiFormLabel-filled"
|
|
@@ -1437,7 +1395,7 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
|
|
|
1437
1395
|
maxClippingSize
|
|
1438
1396
|
</label>
|
|
1439
1397
|
<div
|
|
1440
|
-
class="MuiInputBase-root MuiInput-root MuiInput-underline MuiInputBase-formControl MuiInput-formControl"
|
|
1398
|
+
class="MuiInputBase-root MuiInput-root MuiInput-underline MuiInputBase-fullWidth MuiInput-fullWidth MuiInputBase-formControl MuiInput-formControl"
|
|
1441
1399
|
>
|
|
1442
1400
|
<input
|
|
1443
1401
|
aria-invalid="false"
|
|
@@ -1446,11 +1404,13 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
|
|
|
1446
1404
|
value="10000"
|
|
1447
1405
|
/>
|
|
1448
1406
|
</div>
|
|
1449
|
-
<
|
|
1407
|
+
<div
|
|
1450
1408
|
class="MuiFormHelperText-root MuiFormHelperText-filled"
|
|
1451
1409
|
>
|
|
1452
|
-
|
|
1453
|
-
|
|
1410
|
+
<div>
|
|
1411
|
+
the max clip size to be used in a pileup rendering
|
|
1412
|
+
</div>
|
|
1413
|
+
</div>
|
|
1454
1414
|
</div>
|
|
1455
1415
|
</div>
|
|
1456
1416
|
<div
|
|
@@ -1464,7 +1424,7 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
|
|
|
1464
1424
|
class="makeStyles-paperContent"
|
|
1465
1425
|
>
|
|
1466
1426
|
<div
|
|
1467
|
-
class="MuiFormControl-root MuiTextField-root"
|
|
1427
|
+
class="MuiFormControl-root MuiTextField-root MuiFormControl-fullWidth"
|
|
1468
1428
|
>
|
|
1469
1429
|
<label
|
|
1470
1430
|
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiFormLabel-filled"
|
|
@@ -1473,7 +1433,7 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
|
|
|
1473
1433
|
height
|
|
1474
1434
|
</label>
|
|
1475
1435
|
<div
|
|
1476
|
-
class="MuiInputBase-root MuiInput-root MuiInput-underline MuiInputBase-formControl MuiInput-formControl"
|
|
1436
|
+
class="MuiInputBase-root MuiInput-root MuiInput-underline MuiInputBase-fullWidth MuiInput-fullWidth MuiInputBase-formControl MuiInput-formControl"
|
|
1477
1437
|
>
|
|
1478
1438
|
<input
|
|
1479
1439
|
aria-invalid="false"
|
|
@@ -1482,11 +1442,13 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
|
|
|
1482
1442
|
value="7"
|
|
1483
1443
|
/>
|
|
1484
1444
|
</div>
|
|
1485
|
-
<
|
|
1445
|
+
<div
|
|
1486
1446
|
class="MuiFormHelperText-root MuiFormHelperText-filled"
|
|
1487
1447
|
>
|
|
1488
|
-
|
|
1489
|
-
|
|
1448
|
+
<div>
|
|
1449
|
+
the height of each feature in a pileup alignment
|
|
1450
|
+
</div>
|
|
1451
|
+
</div>
|
|
1490
1452
|
</div>
|
|
1491
1453
|
</div>
|
|
1492
1454
|
<div
|
|
@@ -1582,7 +1544,7 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
|
|
|
1582
1544
|
class="makeStyles-paperContent"
|
|
1583
1545
|
>
|
|
1584
1546
|
<div
|
|
1585
|
-
class="MuiFormControl-root MuiTextField-root"
|
|
1547
|
+
class="MuiFormControl-root MuiTextField-root MuiFormControl-fullWidth"
|
|
1586
1548
|
>
|
|
1587
1549
|
<label
|
|
1588
1550
|
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiFormLabel-filled"
|
|
@@ -1591,7 +1553,7 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
|
|
|
1591
1553
|
largeInsertionIndicatorScale
|
|
1592
1554
|
</label>
|
|
1593
1555
|
<div
|
|
1594
|
-
class="MuiInputBase-root MuiInput-root MuiInput-underline MuiInputBase-formControl MuiInput-formControl"
|
|
1556
|
+
class="MuiInputBase-root MuiInput-root MuiInput-underline MuiInputBase-fullWidth MuiInput-fullWidth MuiInputBase-formControl MuiInput-formControl"
|
|
1595
1557
|
>
|
|
1596
1558
|
<input
|
|
1597
1559
|
aria-invalid="false"
|
|
@@ -1600,11 +1562,13 @@ exports[`ConfigurationEditor widget renders with defaults of the PileupTrack sch
|
|
|
1600
1562
|
value="10"
|
|
1601
1563
|
/>
|
|
1602
1564
|
</div>
|
|
1603
|
-
<
|
|
1565
|
+
<div
|
|
1604
1566
|
class="MuiFormHelperText-root MuiFormHelperText-filled"
|
|
1605
1567
|
>
|
|
1606
|
-
|
|
1607
|
-
|
|
1568
|
+
<div>
|
|
1569
|
+
scale at which to draw the large insertion indicators (bp/pixel)
|
|
1570
|
+
</div>
|
|
1571
|
+
</div>
|
|
1608
1572
|
</div>
|
|
1609
1573
|
</div>
|
|
1610
1574
|
<div
|
|
@@ -1769,7 +1733,11 @@ exports[`ConfigurationEditor widget renders with just the required model element
|
|
|
1769
1733
|
value="bar"
|
|
1770
1734
|
/>
|
|
1771
1735
|
</div>
|
|
1772
|
-
|
|
1736
|
+
<div
|
|
1737
|
+
class="MuiFormHelperText-root MuiFormHelperText-filled"
|
|
1738
|
+
>
|
|
1739
|
+
<div />
|
|
1740
|
+
</div>
|
|
1773
1741
|
</div>
|
|
1774
1742
|
</div>
|
|
1775
1743
|
<div
|
|
@@ -5,13 +5,13 @@ import { ConfigurationSchema } from '@jbrowse/core/configuration'
|
|
|
5
5
|
export { default as stateModelFactory } from './model'
|
|
6
6
|
export const configSchema = ConfigurationSchema('ConfigurationEditorWidget', {})
|
|
7
7
|
export const HeadingComponent = observer(({ model }) => {
|
|
8
|
-
if (model
|
|
8
|
+
if (model?.target) {
|
|
9
9
|
if (model.target.type) {
|
|
10
10
|
return `${model.target.type} settings`
|
|
11
11
|
}
|
|
12
12
|
if (isStateTreeNode(model.target)) {
|
|
13
13
|
const type = getType(model.target)
|
|
14
|
-
if (type
|
|
14
|
+
if (type?.name) {
|
|
15
15
|
return `${type.name.replace('ConfigurationSchema', '')} settings`
|
|
16
16
|
}
|
|
17
17
|
}
|