[GH-ISSUE #302] Add tag preview / virtual tag #174

Closed
opened 2026-03-20 17:27:28 +01:00 by sascha_hemi · 6 comments
Owner

Originally created by @olanwe on GitHub (Apr 19, 2024).
Original GitHub issue: https://github.com/OpenEPaperLink/OpenEPaperLink/issues/302

Originally assigned to: @nlimper on GitHub.

Is your feature request related to a problem? Please describe.
When designing a tag image using JSON (e.g. using the demo form) you will have to send the JSON data to an exisiting tag and wait for the result to be displayed. This is somewhat annoying, because you have to wait up to 40 seconds every time plus the refresh time of the display.

Describe the solution you'd like
It would be great if the entered JSON could be rendered to the screen as a preview immediately, so the result can be checked right away. This might be achieved by adding a "preview online" button to the jsontemplate-demo form. Clicking this button would send the rendered JSON image to the browser window immediately (instead of transmitting it to the tag).

Describe alternatives you've considered
An alternative solution could be a "virtual" tag that is being rendered in a browser window instead. So you could address this virtual tag just like a regular one and see the resulting image directly after transmission. This would help checking JPEGs too and provide the possibility to check rendering on different tag sizes and colors - even those that you do not own yet.

Originally created by @olanwe on GitHub (Apr 19, 2024). Original GitHub issue: https://github.com/OpenEPaperLink/OpenEPaperLink/issues/302 Originally assigned to: @nlimper on GitHub. **Is your feature request related to a problem? Please describe.** When designing a tag image using JSON (e.g. using the demo form) you will have to send the JSON data to an exisiting tag and wait for the result to be displayed. This is somewhat annoying, because you have to wait up to 40 seconds every time plus the refresh time of the display. **Describe the solution you'd like** It would be great if the entered JSON could be rendered to the screen as a preview immediately, so the result can be checked right away. This might be achieved by adding a "preview online" button to the jsontemplate-demo form. Clicking this button would send the rendered JSON image to the browser window immediately (instead of transmitting it to the tag). **Describe alternatives you've considered** An alternative solution could be a "virtual" tag that is being rendered in a browser window instead. So you could address this virtual tag just like a regular one and see the resulting image directly after transmission. This would help checking JPEGs too and provide the possibility to check rendering on different tag sizes and colors - even those that you do not own yet.
sascha_hemi added the enhancement label 2026-03-20 17:27:28 +01:00
Author
Owner

@hazbot72 commented on GitHub (Apr 30, 2024):

Seconded , this would be very useful

<!-- gh-comment-id:2085581637 --> @hazbot72 commented on GitHub (Apr 30, 2024): Seconded , this would be very useful
Author
Owner

@alzorin commented on GitHub (Apr 30, 2024):

I would also highly appreciate this feature.

<!-- gh-comment-id:2087408018 --> @alzorin commented on GitHub (Apr 30, 2024): I would also highly appreciate this feature.
Author
Owner

@nlimper commented on GitHub (Oct 28, 2024):

Both the preview and a virtual tag is a good idea. I will implement this at some point.

<!-- gh-comment-id:2441241430 --> @nlimper commented on GitHub (Oct 28, 2024): Both the preview and a virtual tag is a good idea. I will implement this at some point.
Author
Owner

@nlimper commented on GitHub (Nov 2, 2024):

tag preview done, in a57c797542
(or, it will appear in the next release, if you're into OTA updates)

You can right click a tag and click 'tag preview', which opens a popup window with the current or pending image. The popup is refreshed in real time. So if you want to test a json, just open the popup, and upload the json. No need to wait for the refresh of a tag anymore to see the results.

<!-- gh-comment-id:2453092778 --> @nlimper commented on GitHub (Nov 2, 2024): tag preview done, in https://github.com/OpenEPaperLink/OpenEPaperLink/commit/a57c797542536004cba3298d91e1668260b49106 (or, it will appear in the next release, if you're into OTA updates) You can right click a tag and click 'tag preview', which opens a popup window with the current or pending image. The popup is refreshed in real time. So if you want to test a json, just open the popup, and upload the json. No need to wait for the refresh of a tag anymore to see the results.
Author
Owner

@alzorin commented on GitHub (Nov 3, 2024):

Thank you, I am grateful. The new release came super-fast right away.

<!-- gh-comment-id:2453585122 --> @alzorin commented on GitHub (Nov 3, 2024): Thank you, I am grateful. The new release came super-fast right away.
Author
Owner

@olanwe commented on GitHub (Nov 5, 2024):

This is great, thank you very much! Works like a charm and simplifies testing a lot.

<!-- gh-comment-id:2455993458 --> @olanwe commented on GitHub (Nov 5, 2024): This is great, thank you very much! Works like a charm and simplifies testing a lot.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/OpenEPaperLink#174