@@ -763,6 +763,9 @@ can be selected from the start."
763
763
; ;; Insert
764
764
765
765
(defun forge--insert-topics (type heading topics )
766
+ ; ; (setq magit-section-inhibit-markers t)
767
+ ; ; (setq magit-section-insert-in-reverse t)
768
+ ; ; (setq magit-section-preserve-visibility t)
766
769
(when topics
767
770
(let ((width (apply #'max (--map (length (oref it slug)) topics))))
768
771
(magit-insert-section ((eval type) nil t )
@@ -771,26 +774,28 @@ can be selected from the start."
771
774
'magit-section-heading )
772
775
(magit--propertize-face (format " (%s ) " (length topics))
773
776
'magit-section-child-count )))
774
- (magit-insert-section-body
775
- (dolist (topic topics)
776
- (forge--insert-topic topic width))
777
- (insert ?\n )
778
- (magit-make-margin-overlay nil t ) )))))
777
+ ; ; (magit-insert-section-body
778
+ (dolist (topic topics)
779
+ (forge--insert-topic topic width))
780
+ (insert ?\n )
781
+ (magit-make-margin-overlay nil t )))))
779
782
780
783
(defun forge--insert-topic (topic &optional width )
781
- (magit-insert-section ((eval (oref topic closql-table)) topic t )
784
+ (magit-insert-section ((eval (oref topic closql-table)) topic 'hide )
782
785
(insert (forge--format-topic-line topic (or width 5 )))
786
+ ; ; TODO cache
783
787
(forge--insert-topic-marks topic t )
784
788
(forge--insert-topic-labels topic t )
785
789
(insert " \n " )
786
- (magit-log-format-author-margin
787
- (oref topic author)
788
- (format-time-string " %s" (parse-iso8601-time-string (oref topic created)))
789
- t )
790
- (when (and (slot-exists-p topic 'merged )
791
- (not (oref topic merged)))
792
- (magit-insert-heading)
793
- (forge--insert-pullreq-commits topic))))
790
+ ; ; (magit-log-format-author-margin
791
+ ; ; (oref topic author)
792
+ ; ; (format-time-string "%s" (parse-iso8601-time-string (oref topic created)))
793
+ ; ; t)
794
+ ; ; (when (and (slot-exists-p topic 'merged)
795
+ ; ; (not (oref topic merged)))
796
+ ; ; (magit-insert-heading)
797
+ ; ; (forge--insert-pullreq-commits topic))
798
+ ))
794
799
795
800
(defun forge--insert-topic-labels (topic &optional separate )
796
801
(and-let* ((labels (closql--iref topic 'labels )))
0 commit comments