Upgrade the Bootstrap version and minimal design refresh#13
Conversation
| ]).toSorted(([v1], [v2]) => v2 - v1); | ||
| nodeList.forEach((node, ix) => { | ||
| node.href = values[ix][1]; | ||
| node.innerText = values[ix][2]; |
There was a problem hiding this comment.
Interesting, so it looks like the parsers are sorted randomly now. I'm curious; what's the value of that?
There was a problem hiding this comment.
“just for my own fun”, was what I wrote on the Python PR 😄
The more serious answer would be how I do not want the list to convey some preference for one parser over the other. Any stable sort, like alphabetic, would have five out of six parser pages out the same link first (alphabetically: Go).
Of course that is still just a personal preference thing where I wanted to mix it up! I found this way of doing it as a small progressive enhancement a nice little tweak. And it means it can be implemented by all the different languages’ front-ends as it does not rely on server-side randomisation.
This is based on microformats/microformats-parser-website-python#22.
I am trying to do a refresh of the pages. Partly triggered by the fact that we are using a deprecated CDN to serve an alpha version of Bootstrap today.
This takes the front-end design that was done over on Python. We did not need to adapt much at all as we have recently gotten everything else updated in this repository.
This also exposes the experimental features, to close #11, following the checkbox design that was part of the Python front-end design.
Note on merging: happy to get any and all feedback, but want to forewarn that I might merge this in myself within the next few days just to keep the momentum going 🚀