Explorer

html-ui.event-lines-html

description
(en) The HTML of the text of definy_list_events or definy_describe_event
type
Fn(language: String, text: String) -> List<@html.node>
expression
fn(language$990, text$0) =>
  [
    @html.element(
      name: "div",
      attributes: [{name: "class", value: "history"}],
      children: @html-ui.event-flush(
        state: @core.list-fold(
          T: String,
          A: @html-ui.event-lines-state,
          reducer: fn(acc$1, item$2) =>
            @html-ui.event-line(language: $990, state: $1, line: $2),
          init: {project: "", branch: "", hash: "", mode: "", out: [], card: [], kind: ""},
          xs: @core.string-split(text: $0, separator: "\n")
        )
      )
    ),
    @html-ui.time-script
  ]
visibility
public
html-ui.event-lines-html (project html-ui, branch main, snapshot Daaw3vbJhY15cDW6JsA4JuXvffjj_qFyxoZQMUM8hvQ)
id: _jKahplkcy7N41jfKQfd75tDajn_XpsZ8EJwB_4XeSE
content hash: mp-c0-tYNFBsVS0YeDH1OcqtIVFLFU5jODMabUyfXmE