Skip to content

Upgrade the Bootstrap version and minimal design refresh#13

Open
Zegnat wants to merge 4 commits into
microformats:nextfrom
Zegnat:feat/bootstrap-5-upgrade
Open

Upgrade the Bootstrap version and minimal design refresh#13
Zegnat wants to merge 4 commits into
microformats:nextfrom
Zegnat:feat/bootstrap-5-upgrade

Conversation

@Zegnat

@Zegnat Zegnat commented Jul 23, 2026

Copy link
Copy Markdown
Member

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 🚀

Comment thread views/index.html.ejs
]).toSorted(([v1], [v2]) => v2 - v1);
nodeList.forEach((node, ix) => {
node.href = values[ix][1];
node.innerText = values[ix][2];

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting, so it looks like the parsers are sorted randomly now. I'm curious; what's the value of that?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

“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.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add experimental option flags

2 participants