traewelling-tagtistic
- 9 Devlogs
- 9 Total hours
A Tool to see Träwelling Statistics based on Tags
A Tool to see Träwelling Statistics based on Tags
I added a README, and deployed traewelling-tagtistic onto our Kubernetes Cluster. It is now live at tagtistic.pfuschen.jetzt and ready to ship!
I now added a UI for the new API. It still needs more refinement but I like the Initial Design. Clicking on a Bar shows you, which Check-Ins have said tag set. The rightmost bar also shows Check-Ins with no Tag Value assigned.
I updated the API to show more Information. More specifically, it now shows Journeys, that did not have a specific tag set at all and it shows which Journeys had a Tag Value.
Now I just have to implement this in the UI…
Oh well…
As I am writing this, Träwelling is having scheduled maintenance. I can’t really test, what I’ve done but I tried to improve the CSS a bit…
I am trying to orient the UI a bit after https://fabian-c.github.io/Traewelling-Maps. And while that appears to be Vibe Coded, I don’t think mine counts as vibe coded if I just steal some CSS Variables from it, right? right?
I started working on the Frontend. My final plan is to make this look at least a bit decent but I am not good at design… (Please dont look at the Icon of Mover, pleasseeee)
Anyways, I find it interesting to visualize my Check-Ins for the first Time. I am very amazed that I spent 35 Hours over the last 356 Days in Stadler Flirts alone…
Uhhmmm yeah here is a random Graph I guess…
This is just the default template of Chart.js, the Library I am going to use for the Frontend.
But actually displaying this took longer than I wanted. It took me quite a long time for the HTML File to be included in my Python Wheel. Because of that, Flask was not able to find the File to render it…
Apparently, MANIFEST.in is more or less obsolete and I had to specify these files in the pyproject.toml. Also, the Frontend now lives in a subdirectory of the Python Code, not at the root of the project…
It is starting to work! The API can now return the number of Check-Ins for a specific Tag Value!
However, there are no filters or any other advanced features…
I am trying to build traewelling-tagtistic.
Träwelling is a Social-Platform, where you “Check-In” to public transit services.
You can also set Tags to, for example, show what Train Model you are currently riding.
traewelling-tagtistic is going to be a Website, where you can see various Statistics about these Tags.
For now however, I get a 400 Bad Request from the Träwelling API if I use Python requests. However, it works from Firefox… 🤔