Hajk icon indicating copy to clipboard operation
Hajk copied to clipboard

QrCode implementation in Print/Anchor

Open OlofSvahn opened this issue 11 months ago • 6 comments

So as we all now, qr codes are cool, and therefore we should have them in hajk. Specifically in Print and Anchor (Utskrift and Dela).

I've already tested an implementation using the enableAppStateInHash and it seems to work fine.

Qr codes can be implemented in both print:

image image

And in Anchor:

image

And we should probably only allow qr code generation if enableAppStateInHash is enabled. Question is, what do we show if enableAppStateInHash is false? Nothing, or maybe inactive buttons? What do you think?

OlofSvahn avatar Mar 07 '24 07:03 OlofSvahn

Really nice. Especially in the Share function!

jesade-vbg avatar Mar 07 '24 07:03 jesade-vbg

Cool!

Hallbergs avatar Mar 08 '24 12:03 Hallbergs

Would be great if you could post new screenshots after your changes in Anchor. :)

jesade-vbg avatar Mar 08 '24 14:03 jesade-vbg

Sure!

So you can now turn qr image on and off like this: image image

OlofSvahnVbg avatar Mar 08 '24 14:03 OlofSvahnVbg

Fuller image:

image

OlofSvahnVbg avatar Mar 08 '24 14:03 OlofSvahnVbg

And ignore the incorrect tooltip

OlofSvahnVbg avatar Mar 08 '24 14:03 OlofSvahnVbg