@deemp Thanks for the contribution! You've earned +27 points for this: +30 as a basis; +7 for the 71 hits-of-code that you wrote; -10 for too few (0) comments. Please, keep them coming. Your running balance is +73.
@fizruk Thanks for the review! You've earned +22 points for this: +25 as a basis; +7 for the 71 hits-of-code that you reviewed; -10 for too few (0) comments. Your running balance is +263.
PR-Codex overview
This PR introduces a
ToDataSort
type class and adds data-sort attributes to HTML elements.Detailed summary
ToDataSort
type class for converting data types toInteger
toDataSort
implementations forDouble
,Percent
, andInteger
mkDataSortAttribute
function for creating data-sort attributestoHtmlChange
function to include data-sort attributes based on the valuetoHtmlReportRow
function to includeN/A
fallback values for missing attributes