-
jonas’
also: https://up-for-grabs.net/#/filters?tags=xmpp
-
jubalh
> I want to involve in this organization. Is there any open project to contribute to? Check out profanity;)
-
jonas’
(they’re gone already, I just wanted to mention up-for-grabs)
-
Sam Whited
Possibly stupid question about data forms: does the order of the title and instruction fields matter? All the examples put them at the top, and obviously the order of actual fields matters, but can you have a title or instructions anywhere in the form or are they just always at the top?
-
Zash
Probably not, tho I guess internal order fo multiple <instructions> might affect how the form gets presented. I'd actually worry more about multiple <instructions>, don't remember seeing that being allowed before.
-
lovetox
Sam Whited, no
-
lovetox
if your question is if you can use it to describe fields
-
lovetox
The OPTIONAL <title/> and <instructions/> elements enable the form-processing entity to label the form as a whole ..
-
lovetox
this sentence implies for me instruction and title is for a form, and not for fields
-
lovetox
so yes you can put the instruction somewhere between fields, but its still a instruction for the form and not for the filed
-
lovetox
and clients have a special place where the put the form instruction in the GUI
-
Zash
<field>s have a <desc> tag for long-form field description
-
Zash
There's <field type=fixed> for "headings" within the form
-
Sam Whited
Sounds good to me, thanks.
-
Sam Whited
I'm not sure how the spec means it to be, but as long as no one else is allowing instructions to be scattered around the form.
-
lovetox
you can scatter them, but i can only talk for Gajim, you cant control with that where i display them
-
lovetox
its for the form, and i place them at the top no matter where you scatter them
-
lovetox
and yes the correct way is type=fixed
-
lovetox
you can see that work in prosodys MUC Config form
-
lovetox
and Gajim
-
Zash
Is anyone actually using multiple <instructions> anywhere?
-
lovetox
https://share.hoerist.com/philipp/p0GPfFzBgUo7VSic/Screenshot_from_2020-12-06_20-14-33.png
-
lovetox
^ Sam Whited
-
Zash
That looks familiar. i3? :)
-
lovetox
yes
-
Zash
^5
-
lovetox
btw Zash, look at the Persistent option
-
lovetox
i think its not good to put a description into the label
-
lovetox
you have a long desc anyway, Gajim shows it in the tooltip
-
Zash
Mmmm
-
Zash
Lots of "for/in the room" that might be considered redundant
-
lovetox
and i should think about if tooltip is really good, its not easy to discover
-
lovetox
yeah the word room is mentioned a lot
-
Zash
The concept of "persistence", especially as a boolean, is a bit weird and I'd like to replace it ... one day
-
lovetox
The form instruction is here is also a bit redundant
-
lovetox
submit this form, yeah no shit
-
Zash
Hahaha
-
Zash
https://xmpp.org/extensions/xep-0004.html#protocol says <instructions> shouldn't contain newlines, but https://xmpp.org/extensions/xep-0045.html#example-158 has a whole pile of them
-
lovetox
totally redundant again
-
lovetox
it lists the full default configuration
-
lovetox
in the form that shows you the default configuration
-
lovetox
makes sense
-
Zash
Been that way since 2013, before that instructions was identical to title
-
Zash
🤷️