Skip to content

Instantly share code, notes, and snippets.

@BrianLitwin
Last active February 20, 2019 19:53
Show Gist options
  • Save BrianLitwin/84eb97fdd1b4fca7e8318610694c4220 to your computer and use it in GitHub Desktop.
Save BrianLitwin/84eb97fdd1b4fca7e8318610694c4220 to your computer and use it in GitHub Desktop.

sourcecred/sourcecred#576

  • design doc
  • "what to test"
  • node count (# of total), avg cred, total cred / node count, avg cred
  • a data source to test
  • Lets try to put up a mock of what it may look like
  • possibly look into what the design
  • documentation

-> layout a UI in big colors w/ no data in it -> write tests

render() 
    renderConfigurationRow()
        renderFilterSelect()
    <WeightConfig />
    <TableStatSummary />
    renderTable() 
  • goal: get a tested prototype up
  • should we have a testable table stats model ? provide some code for a sample graph to test on
class NodeStatsContainer extends React.PureComponent {
 
}

// surfaces total nodes, avg cred, and total cred 

class CurrentNodeStats extends React.Component {
 
}

// surfaces total nodes, number of nodes displayed, avg cred 

class NodeStats {

}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment