search: redesign TUI results as master-detail list with pinned detail · Entire
Search: Redesign TUI Results as Master-Detail List with Pinned Detail
ae74825 → main · alishakawaguchi · 1mo ago · 4 files · +470 added/-164 removed
Replace the dense columnar results table with a two-line list/card layout mirroring the web activity view, and restructure browse mode as a fixed master-detail split so the detail card is always fully visible.
- List rows: type-colored graph node + bold title (commit subject, falling back to commit message then prompt) with right-aligned relative age, plus a dim "type · repo · branch · author" meta line, separated by thin rules.
- Pinned detail pane sized from terminal height (truncated with "enter for more"); list scrolls independently and follows the cursor. Never clipped.
- Type tabs reduced to Checkpoints / Sessions / Commits (no All tab), defaulting to Checkpoints; 10 results per page.
- Status row beneath the list shows a scroll affordance when rows are cut off and "page X/Y · N results"; footer holds only key hints.
Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com
Sessions
1465eb0ea165 View transcript
Changes
4
cmd/entire/cli
search
Msearch.go +8
Msearch_cmd_test.go +1/-1
Msearch_tui.go +338/-118
Msearch_tui_test.go +123/-45
304 unmodified lines
305
306
307
308
309
310
311
312
313
314
315
316
317
318
switch r.Type {
case TypeCheckpoint:
if r.Checkpoint != nil {
// Prefer the commit title over the prompt; fall back to the prompt
// for uncommitted checkpoints. The full prompt remains in the detail view.
if r.Checkpoint.CommitSubject != nil && *r.Checkpoint.CommitSubject != "" {
return *r.Checkpoint.CommitSubject
}
if r.Checkpoint.CommitMessage != nil && *r.Checkpoint.CommitMessage != "" {
return *r.Checkpoint.CommitMessage
}
return r.Checkpoint.Prompt
}
case TypeCommit:
```
#### Changes File Overview
- Mcmd/entire/cli/search/search.go +8
68 unmodified lines
69
70
71
72
72
73
74
75
```
- Mcmd/entire/cli/search_cmd_test.go +1/-1
15 unmodified lines
16
17
18
19
20
21
22
62 unmodified lines
85
86
87
87
88
89
90
91
6 unmodified lines
98
99
100
100
101
102
103
104
105
106
107
108
109
110
111
112
126 unmodified lines
239
240
241
238
239
240
241
242
243
244
245
246
247
242
243
244
245
246
247
248
249
250
251
252
253
254
255
135 unmodified lines
391
392
393
389
390
391
392
393
394
395
394
395
396
120 unmodified lines
517
518
519
522
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
21 unmodified lines
611
612
613
554
614
615
616
4 unmodified lines
621
622
623
565
624
625
626
2 unmodified lines
629
630
631
574
575
632
633
634
635
636
637
638
639
6 unmodified lines
646
647
648
588
649
650
651
652
592
653
654
655
656
596
657
658
659
660
2 unmodified lines
663
664
665
605
666
667
607
668
669
610
611
670
671
672
673
614
615
616
674
675
676
618
677
620
621
622
623
624
625
678
679
680
628
681
682
683
630
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
634
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
636
813
814
815
816
817
818
641
642
643
644
645
646
647
648
649
650
651
819
820
821
822
823
824
825
653
654
826
827
828
656
657
658
659
660
661
662
663
664
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
670
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
7 unmodified lines
909
910
911
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
912
913
914
288 unmodified lines
1203
1204
1205
994
995
996
997
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
999
1000
1001
1217
1218
1003
1004
1219
1220
1221
1222
1223
1224
1006
1225
1226
1227
1008
1228
1229
1230
1231
1011
1232
1013
1014
1015
1233
1234
1235
1236
1237
1017
1018
1019
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1022
1250
1024
1251
1252
1253
1254
1027
1255
1256
1257
1258
1259
33 unmodified lines
1293
1294
1295
1067
1296
1297
1298
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1299
1300
1301
1302
1303
1304
```