Repository navigation
Commit 6a2af93
committed
Hide checkboxes for empty directories by tracking directory file counts
- empty folders should not be selectable
- is this situation, parent should be selected
└── apps
└── editor
└── src
└── context
├── context-initialization.ts
├── helpers
│ ├── get-all-workspace-files.ts
│ └── get-selected-files.ts
├── providers
│ ├── open-editors
│ │ └── open-editors-provider.ts
│ ├── selected-files
│ │ └── selected-files-provider.ts
│ └── workspace
│ ├── modules
│ │ ├── index.ts
│ │ └── token-calculator.ts
│ └── workspace-provider.ts
├── shared-context-state.ts
└── utils
└── shrink-file
├── index.ts
├── languages
│ ├── c-style.ts
│ ├── css.ts
│ ├── html.ts
│ ├── jsx.ts
│ ├── python.ts
│ ├── ruby.ts
│ └── sql.ts
├── shrink-file.spec.ts
├── shrink-file.ts
└── test-cases
├── c-style
│ ├── input.txt
│ └── output.txt
├── css
│ ├── input.txt
│ └── output.txt
├── html
│ ├── input.txt
│ └── output.txt
├── jsx
│ ├── input.txt
│ └── output.txt
├── python
│ ├── input.txt
│ └── output.txt
├── ruby
│ ├── input.txt
│ └── output.txt
├── scss
│ ├── input.txt
│ └── output.txt
└── sql
├── input.txt
└── output.txt1 parent bafe235 commit 6a2af93
2 files changed
Lines changed: 52 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
358 | 359 | | |
359 | 360 | | |
360 | 361 | | |
| 362 | + | |
361 | 363 | | |
362 | 364 | | |
363 | 365 | | |
| |||
367 | 369 | | |
368 | 370 | | |
369 | 371 | | |
| 372 | + | |
370 | 373 | | |
371 | 374 | | |
372 | 375 | | |
| |||
381 | 384 | | |
382 | 385 | | |
383 | 386 | | |
| 387 | + | |
384 | 388 | | |
385 | 389 | | |
386 | 390 | | |
| |||
540 | 544 | | |
541 | 545 | | |
542 | 546 | | |
543 | | - | |
| 547 | + | |
544 | 548 | | |
545 | 549 | | |
546 | | - | |
| 550 | + | |
| 551 | + | |
547 | 552 | | |
548 | 553 | | |
549 | 554 | | |
550 | | - | |
| 555 | + | |
| 556 | + | |
551 | 557 | | |
552 | 558 | | |
553 | 559 | | |
554 | 560 | | |
555 | 561 | | |
556 | 562 | | |
557 | 563 | | |
558 | | - | |
| 564 | + | |
559 | 565 | | |
560 | 566 | | |
561 | 567 | | |
| |||
566 | 572 | | |
567 | 573 | | |
568 | 574 | | |
569 | | - | |
| 575 | + | |
| 576 | + | |
570 | 577 | | |
571 | 578 | | |
572 | 579 | | |
573 | 580 | | |
574 | 581 | | |
575 | 582 | | |
576 | 583 | | |
| 584 | + | |
577 | 585 | | |
578 | 586 | | |
579 | 587 | | |
| |||
604 | 612 | | |
605 | 613 | | |
606 | 614 | | |
| 615 | + | |
607 | 616 | | |
608 | 617 | | |
609 | 618 | | |
610 | 619 | | |
| 620 | + | |
611 | 621 | | |
612 | 622 | | |
613 | 623 | | |
614 | 624 | | |
615 | 625 | | |
| 626 | + | |
616 | 627 | | |
617 | | - | |
| 628 | + | |
618 | 629 | | |
619 | 630 | | |
620 | 631 | | |
621 | 632 | | |
622 | 633 | | |
623 | 634 | | |
624 | | - | |
| 635 | + | |
625 | 636 | | |
626 | 637 | | |
627 | 638 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
512 | 512 | | |
513 | 513 | | |
514 | 514 | | |
515 | | - | |
| 515 | + | |
516 | 516 | | |
517 | 517 | | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
518 | 525 | | |
519 | 526 | | |
520 | 527 | | |
| |||
705 | 712 | | |
706 | 713 | | |
707 | 714 | | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
708 | 722 | | |
709 | 723 | | |
710 | 724 | | |
| |||
713 | 727 | | |
714 | 728 | | |
715 | 729 | | |
716 | | - | |
717 | | - | |
| 730 | + | |
718 | 731 | | |
719 | 732 | | |
720 | 733 | | |
| |||
944 | 957 | | |
945 | 958 | | |
946 | 959 | | |
| 960 | + | |
| 961 | + | |
| 962 | + | |
| 963 | + | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
947 | 967 | | |
948 | 968 | | |
949 | 969 | | |
| |||
953 | 973 | | |
954 | 974 | | |
955 | 975 | | |
956 | | - | |
| 976 | + | |
957 | 977 | | |
958 | 978 | | |
959 | 979 | | |
| |||
1070 | 1090 | | |
1071 | 1091 | | |
1072 | 1092 | | |
| 1093 | + | |
| 1094 | + | |
| 1095 | + | |
| 1096 | + | |
| 1097 | + | |
| 1098 | + | |
| 1099 | + | |
| 1100 | + | |
| 1101 | + | |
| 1102 | + | |
1073 | 1103 | | |
1074 | 1104 | | |
1075 | 1105 | | |
| |||
0 commit comments