Time for updating my Hive Tools

in #toolsyesterday

EN (DE weiter unten)


This weekend i had some time to work on my Hive Tools again.
Since I had not worked on the project for a long time, I ran into several issues while updating everything that was needed.

The problems started after updating the old Node.js from version 16 to 20. This update caused a kind of chain reaction. I had to find compatible versions for SvelteKit, Svelte, Vite, Tailwind, TypeScript and several other packages. After upgrading everything, I ended up with hundreds of errors because the old code was no longer compatible with the new versions. There were many breaking changes during the time I did not work on the project.

After several hours of work, almost everything is running again.

The first diagram generation also received some improvements.

The new version of the vote charts currently works with up to 1000 votes. I think there is still an issue with pagination when fetching the votes.

I searched for some posts with more than 1000 votes so I can continue working on it next week.

Here is a screenshot how it currently looks.

image.png

The diagrams are already prepared for theming:

image.png

For comparison, here is a screenshot from the old version of hive-tools that was published on bplaced.

image.png

As the new Version works with static pages, I plan to publish it on GitHub Pages, when it's finished.


DE


Dieses Wochenende hatte ich wieder etwas Zeit, um an meinen Hive Tools zu arbeiten.
Da ich schon lange nicht mehr an dem Projekt gearbeitet hatte, stieß ich bei der Aktualisierung auf einige Probleme.

Die Probleme begannen nach der Aktualisierung des alten Node.js von Version 16 auf 20. Diese Aktualisierung löste eine Art Kettenreaktion aus. Ich musste kompatible Versionen für SvelteKit, Svelte, Vite, Tailwind, TypeScript und mehrere andere Pakete finden. Nachdem ich alles aktualisiert hatte, bekam ich am Ende Hunderte von Fehlern, weil der alte Code nicht mehr mit den neuen Versionen kompatibel war. Während der Zeit, in der ich nicht an dem Projekt gearbeitet hatte, gab es viele breaking changes.

Nach mehreren Stunden Arbeit läuft nun fast alles wieder.

Auch die erste Generierung von Diagrammen konnte ich scho verbessern.

Die neuen vote charts funktionieren bereits für Beiträge mit bis zu 1000 Votes. Ich vermute, es gibt noch ein Problem mit der Pagination beim Abrufen der Votes.

Also habe Ich nach Posts mit mehr als 1000 Stimmen gesucht, damit ich nächste Woche weiter daran arbeiten kann.

Hier ist ein Screenshot, wie es derzeit aussieht.

image.png

Die Diagramme sind bereits für Themes vorbereitet:

image.png

Zum Vergleich hier ein Screenshot aus der alten Version von hive-tools, welche bereits seit Jahren auf bplaced läuft.
image.png