-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some forms are .txt only and web UI wants .html? #325
Comments
I guess we only support HTML forms now? (@xylo04) If so, I think we should mark those forma as unsupported in the UI or at least give a better error message. Let's call this a bug 🙂 |
Or
😃 |
Would that work? 😁 |
... if so, we can easily add a fallback wrapping txt-only forms when serving them to the web client 🙂 |
.. the details are starting to come back to me. IIRC, the html contains logic to accept user input. So we would need to generate that as well. |
Yes HTML forms include user input but I would argue that for text-only
templates it’s not your problem to figure out what the input should be. I
don’t know if these text-only forms are even used by anyone. More of an
upstream problem for winlink to finish the handful of non-HTML templates or
retire them.
…On Wed, Feb 23, 2022 at 6:14 PM Martin Hebnes Pedersen < ***@***.***> wrote:
.. the details are staring to come back to me. IIRC, the html contains
logic to accept user input. So we would need to generate that as well.
—
Reply to this email directly, view it on GitHub
<#325 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABBHS5ZOIPNSR42ACTFEECTU4VS43ANCNFSM5O2RXCCA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I'll add, myself and at least a few other users are following Winlink Thursday exercises, and this week's challenge was to download a text-only form and put it into WLE's Private Templates. Well, this issue is preventing use of text only forms, plus Pat doesn't really have a Private Templates directory yet. So this was a reminder to keep widening our feature set! 👍 |
The FEMA R5AN net this week wants 'Winlink Check In', which is .txt only. |
This one is interesting: this week's ETO Winlink Thursday calls for "Mapping-GIS Forms" "Hospital Bed Report." At the current forms version 1.0.198, that one only has a text file, but the first line of the template references HTML files:
Those files are not found in the
So the search path for finding referenced files is not just the same directory. |
When I try to compose via http interface the template
MAPPPING-GIS FORMS/Local Weather Report
I get a not found error forhttp://127.0.0.1:8080/api/forms?formPath=MAPPING-GIS%20FORMS%2FLocal%20Weather%20Report.html
.Looking in the templates directory, I see that these forms are only available as .txt files. I'm not sure if the missing HTML files are a pat or a Winlink issue (since there's a perfectly fine HTML local weather form in
WEATHER FORMS
).(Pat is really nice! Finally some amateur UI software that doesn't require Windows.)
The text was updated successfully, but these errors were encountered: