Go to file
2022-02-08 18:26:12 -05:00
data feat: Add results 2022-02-08 18:26:12 -05:00
lib feat: align graph 2022-02-08 17:44:59 -05:00
pages chore: Switch formatter. 2022-01-30 10:29:45 -05:00
public MVP with just an ordering, but no quantitative estimates 2021-06-06 23:14:05 +02:00
styles fix: munging around with tailwinds configuration 2021-12-08 13:49:29 +01:00
.gitignore fix: cleanup 2022-01-31 17:09:46 -05:00
netlify.toml fix: install netlify plugin 2022-01-28 15:51:29 -05:00
package-lock.json fix: install netlify plugin 2022-01-28 15:51:29 -05:00
package.json fix: install netlify plugin 2022-01-28 15:51:29 -05:00
postcss.config.js fix: munging around with tailwinds configuration 2021-12-08 13:49:29 +01:00
README.md fix: install netlify plugin 2022-01-28 15:51:29 -05:00
tailwind.config.js fix: munging around with tailwinds configuration 2021-12-08 13:49:29 +01:00

About

This repository creates a react webpage that allows to extract a utility function from possibly inconsistent binary comparisons

Object structure

The core structure is json array of objects. Only the "name" attribute is required; the (numerical) id is also internally required but it's created on the fly. The reason that ids are needed is that comparing objects is annoying.

The isReferenceValue property determines the display at the end, but it is optional.

So internally this would look like:

[
    {
        "id": 1,
        "name": "Peter Parker",
        "someOptionalKey": "...",
        "anotherMoreOptionalKey": "...",
        "isReferenceValue": true
    },
    {
        "id": 2,
        "name": "Spiderman",
        "someOptionalKey": "...",
        "anotherMoreOptionalKey": "..."
    }
]

Netlify

https://github.com/netlify/netlify-plugin-nextjs/#readme