Select the types of activity you want to include in your feed.
render conflicted commits with × glyph in graph renderer
Query conflict() from jj template and thread it through jj_commit -> node. Conflicted nodes display bold red × instead of ○, matching jj's native format.
···5656 let open Notty in
5757 let open Render_jj_graph in
5858 let content_lines = render_content node_row.node in
5959-6059 let available_rows = node_row :: continuation_rows in
6160 let result = ref [] in
6261 (* Distribute content lines across available rows *)
···7372 (* If content needs more lines than available, add synthetic continuation rows *)
7473 if List.length content_lines > List.length available_rows
7574 then (
7676- let node_glyphs = [ "○"; "@"; "◌"; "◆" ] in
7575+ let node_glyphs = [ "○"; "@"; "◌"; "◆"; "×" ] in
7776 let synthetic_graph =
7877 let chars = node_row.graph_chars in
7978 let replaced = ref chars in
···158157 | `Branch ->
159158 "branch"
160159 in
161161- let base =
162162- Printf.sprintf "Preview: dest=%s source=%s" mode_str source_str
163163- in
164164- let label =
165165- match invalid with
166166- | None ->
167167- base
168168- | Some msg ->
169169- base ^ " - " ^ msg
170170- in
160160+ let base = Printf.sprintf "Preview: dest=%s source=%s" mode_str source_str in
161161+ let label = match invalid with None -> base | Some msg -> base ^ " - " ^ msg in
171162 W.string label)
172163 in
173164 let items =
···223214 Render_jj_graph.render_nodes_structured
224215 state
225216 nodes
226226- ~node_attr:(Commit_render.graph_node_attr)
217217+ ~node_attr:Commit_render.graph_node_attr
227218 in
228219 error_var $= None;
229220 rendered_rows, rev_ids
···323314 Vars.ui_state.trigger_update $= ()))
324315 else (
325316 (*If the files are focused we shouldn't send this*)
326326- if Focus.peek_has_focus focus
327327- then Show_view.(push_status (Graph_preview (Vars.get_hovered_rev ())));
317317+ (if Focus.peek_has_focus focus
318318+ then Show_view.(push_status (Graph_preview (Vars.get_hovered_rev ()))));
328319 [%log debug "Hovered revision: '%s'" (Global_vars.get_unique_id hovered)];
329320 Global_funcs.update_views_async ())))
330321 ~custom_handler:(fun ~selected ~selectable_items key -> handleKeys key)
+2
jj_tui/lib/commit_render.ml
···2222 then fg lightblack
2323 else if node.working_copy
2424 then fg green ++ st bold
2525+ else if node.conflict
2626+ then fg red ++ st bold
2527 else if node.immutable
2628 then fg cyan
2729 else fg white