|
[
Permalink
| « Hide
]
Anthony Borrow added a comment - 14/Oct/08 04:16 AM
Regarding #1 - A continue to course button would be nice; however, I think its not too much of a stretch to have them use the breadcrumb but a continue button to course is OK. Are there other places where we expect the user to use the breadcrumb or should we be providing some type of continue button on each page. As for #2, I find the text at the top of the page "Assign roles in Course: ..." to be sufficient. There is help button for those not familiar with the page but I find it to be fairly intuitive. FYI - I've heard that the students at Strake Jesuit are working on a patch for this to add the "Continue to the course" button. Peace - Anthony
I saw some usability tests done on this page with an eye tracker and newbies were just not seeing the navigation bar at the top ..
I have to admit it does look really odd in the context of creating a course. You sort of expect a wizard type interface and it jars when you hit that second page... I agree with Martin - the lack of some sort of button at the bottom is an inconsistency, but we're taking care of that. So is the consensus that we don't need any more informational text on this page?
Chris - I suspect that we do not need more informational text. I would say start with adding the button and then we can evaluate the revised page to see if anything else would be helpful after the button is added. Would you and your team at Strake be willing to submit a patch? Peace - Anthony
So far we have the buttons on the page and they function correctly. We used the print_single_button() function to accomplish this. We also added two entries to the utf8 language strings for the two button's values and used the get_string() function to get them from the language strings. If we add entries to the English language, wouldn't all other languages need those two entries? If so, who's responsible for adding the new strings?
Chris - What strings did you create? Might we use continuetocourse? Personally I think that could be changed to say simply 'Continue to course' as the only place it is used is in /enrol/paypal/enrol.html and there it would be fine. I think the language is too wordy and makes it less flexible to be used in other places. In either case, to answer your question there are ways of handling the language strings but you do not have to worry about it. New strings are added by the translators of those language packs. Usually we try to let Koen (who handles translations know about what is happening) know by sending an email to translation@moodle.org if there is a significant change to a language string so that he can let the other translators know to update their language pack. Does that answer your question? Peace - Anthony
If we did use continuetocouse (which we discovered accidentally), then we would still need another string for the button on the sub-page where the roles actually get assigned. We were thinking about something like "Back to Assign Roles", which would require an added string in the language file. Does that sound good?
The more I think about it the less I like 'Continue to ...' and 'Return to ...' as they presume a flow as if the only way to get here were as part of creating a course. I think we are better served by sticking with action descriptions that will indicate where we will go when we click on a button. Nevertheless, I think Continue to course seems to work for the /admin/roles/assign.php page without a roleid. With a roleid, I think we could simply use get_string('assignrolesin', 'role', print_context_name($context)) to indicate that we will go back to assigning roles in the course. I think this might prevent you from having to create any new language strings. Peace - Anthony
Patch for bug
Button added on main "Assign Roles" page and each sub-page No extra informative text added because function is pretty self-explanatory. Chris - Generally speaking, I would encourage you to avoid using relative paths (i.e. ../../) and opt for absolute paths when possible. For example, take a look at how /mod/forum/index.php uses the print_single_button with $CFG->wwwroot to give an absolute rather than a relative path. That way if things ever got shuffled around for some reason it would still work. I'm attaching an updated patch that makes use of $CFG->wwwroot. Peace - Anthony
updated version using neutral paths and note that the continuetocourse string is in moodle.php not admin. Peace - Anthony
This is a great idea to fix. I've answered countless questions from confused users stuck on the assign roles page.
Will this be added to 1.9.x soon? Ryan - Have you been able to test the attached patch file? It would be good to get some confirmation that it works. I know that Martin has been busy traveling around to the various Moodle Moots but if you could provide some feedback that would be helpful. Peace - Anthony
Anthony,
I just tested patch.diff that was attached above. It works great! I was able to create a new course, it went to the assign roles page, then I clicked the button and it took me to the course. Simple, but greatly improves usability. The diff is missing the language string code change so the button isn't labeled...but that is an easy fix. Ryan - Thanks for testing. Which patch file did you use? I should have been specific and said to use
I just tested
Thanks for making this patch, it will solve a lot of confusion for new Moodle users. Martin - Feel free to re-assign this to me if you are too busy with travels. It's very straightforward. Peace - Anthony
Tim has committed a different approach for HEAD while resolving
Commited to 19STABLE, not merging with HEAD as Tim Hunt provides a more complete solution in response to
Thanks for the fix, Anthony.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||