📱 On my way to #Debconf22 and it was the first time I could show the QR code of a train ticket on #phosh's lockscreen to the conductor (had to resort to unlock ➡️ nautilus ➡️ evince so far).
For that I stitched together a lockscren plugin that leverages #evince's libevince. Hope the other tickets will works just as well tomorrow.
@okennedy @purism https://source.puri.sm/guido.gunther/phosh/-/commits/next-tickets - you just dump everything into a `~/phosh-ticket-box` folder atm. A real "ticket" app needs to come next as we want more metadata attached so the widget can become more clever.
@bart @okennedy @agx @purism Like Bart wrote (from recent blog post about Itinerary, https://www.volkerkrause.eu/2022/06/04/kde-itinerary-april-may-2022.html): "Feedback and travel document samples are very much welcome, and there are plenty of other things that can be done without traveling as well."
@bart @linmob @agx @purism What's missing is the ability to import just a simple PDF. No metadata, no need for developers to update things when schemas, APIs, or ticket formats change. I'm happy to provide examples of past tickets, but the point is that these tools default to being clever, which inevitably leads to excluded edge cases. I like @agx 's approach better: default to the minimum functionality required (display a PDF on the lockscreen) and layer the clever features on top of that.
@okennedy That too is worth an issue 😉
@purism and it worked for for the other tickets on the way too 🙂 . Tweaked the UI a bit to use a close button rather than back which looks less confusing.