noredink-ui icon indicating copy to clipboard operation
noredink-ui copied to clipboard

Switching between `Table.string` and `Table.custom` is cumbersome

Open asterite opened this issue 2 years ago • 1 comments

This is an example of Table.string:

Table.string
{ header = "Topic"
, value = .topic
, width = Css.auto
, cellStyles =
    always
        [ Css.padding (Css.px 15)
        , Css.fontWeight Css.bold
        ]
, sort = Nothing
}

If we want to change it to Table.custom, the value property needs to be changed to view. Why? Could they be called the same? That way it would take, at least me, much less time and memory to remember how to switch from one to the other.

asterite avatar Aug 08 '22 12:08 asterite

Will be addressed as part of A11-2770

tesk9 avatar Apr 20 '23 16:04 tesk9