-
Notifications
You must be signed in to change notification settings - Fork 137
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
Add additional guidance hints #142
Comments
The structure looks good to me! Now that I'm seeing it like this, I'm wondering whether the attribute value could be called something more generic like "meta" or "comment" or "training". Seeing an example, I can imagine a mobile/web client showing these values under certain conditions. Apologies for not thinking of this earlier. |
Haha, yes I agree actually. I has uses beyond making it visible only on printouts. Let's figure out what would make the most sense as an XLSForm heading and then decide whether we also need to change the XForm syntax or leave that as is. cc. @tinok |
"guidance" perhaps? |
There is already a Here's an extended example:
|
I agree that people will use this for more than just printable text. To me, what y'all are advocating is another hint, so why don't we just put hint in the name so it's super clear? I think Another option is to do something like what Wordpress does and support a <!--more--> tag that would allow for users to tap the hint to show more detail. To be clear, this would be we just have one hint column but support a magic tag inside. My guess is that Martjin will hate this... I'm not a big fan of even more options in Collect to toggle this, but we can fight over that some other day. |
I felt obliged to hate it but I cannot pretend. It's nice to avoid an extra column. So whatever is easiest for users, I agree with on the XLSForm side. |
A counter argument for a <!--more--> tag would be that users may have a
long hint but no short hint, so starting out with <!--more--> followed by
the long hint may seem a bit awkward. But I agree it's nice to avoid
another column (and many more columns in case of translations).
…On Wed, Aug 9, 2017 at 3:59 PM Martijn van de Rijdt < ***@***.***> wrote:
do something like what Wordpress does and support a tag
I felt obliged to hate it but I cannot pretend. It's nice to avoid an
extra column. So whatever is easiest for users, I agree with on the XLSForm
side.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#142 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AApG57m3Zm78-fi9x-0wossI4qXZWaFUks5sWg-EgaJpZM4Ot87E>
.
|
@MartijnR Does your comment mean that even if we go with @tinok The long hint with no short hint case is a good one to explicitly bring up. A leading |
I'm also wondering whether we should take a little step back and think a little about spec change ratification process as I described in this forum post. More brains are really useful for these kinds of changes and picking sub-optimal strategies can end up being really painful! I would never have thought of |
Yes, definitely. I think at XForms level it's a matter of adding |
Let's get some more feedback from others. @pld might have some smart ideas about this as well. Another counterargument for the Another problem with the approach is that older clients would all of a sudden show the print/guidance/expanded-hints on the screen of the app without an ability to hide them. The idea behind this is that they are hidden by default and displayed when/if necessary, e.g. for training purposes. |
I'm now going to enter the realm of a broader philosophical discussion. Let me know if you think this should happen somewhere else. My general sense is that there's no particular reason for XLSForm to map so closely to ODK XForms. In fact, XLSForm provides a great opportunity to introduce human-friendly abstractions without sacrificing the things that make XForms powerful and useful. As @MartijnR was mentioning here, the XForms approach would definitely be to add another value for the |
Yeah, that is a bigger question and I completely agree with you. We went down that road for KoBo to implement easy ways of creating matrix/ranking/roster questions (which are sets of similar questions but that the user can now create more easily), but haven't merged this in with master yet for a lack of any engagement. We seem to head in that direction but it's probably not part of #142 anymore.. cc @dorey |
Apologies, I think I may have derailed things with my suggestion to move to the forum. It would be great to have things in a single place for upcoming proposals but we're all here so let's try to get this done! If someone would prefer to first have a broader philosophical conversation somewhere, I am also happy to participate wherever that happens. @pld I saw you liked my comment above, is that just general agreement that XLSForm should deviate from XForms where more convenient for users or specific agreement to the I am currently liking something like: In verifying the spec-reality fault line, I confirmed that if something like I also saw that the ability to show expanded hints has been a user request on the Collect side (getodk/collect#71) so I'm glad we're taking the time to make this a little more general than only for printing. |
This has been added to the XForm spec now. See at the bottom of this section under I think, it is ready for implementation in pyxform with the |
@MartijnR it felt like enough consensus, right? I may try to take a stab at implementing this soon. |
Now that we've had a year to let it sit, I don't know if I'm so excited about |
I have a slight preference for a separate column, such as |
After thinking about it for a year, I'm still going with a separate column. Ha. |
Hehe, ok, then! That's ok with me as well. Now it sounds like consensus! |
This feature has recently been added to the ODK XForms Spec. Rationale for the feature is described here.
To add this feature to pyxform, could we do something like this perhaps?
input:
output:
The text was updated successfully, but these errors were encountered: