Moodle

Usability: All content that goes into the navigation blocks is trimmed

Details

  • Type: Sub-task Sub-task
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 2.0
  • Fix Version/s: 2.0
  • Component/s: Navigation, Usability
  • Labels:
    None
  • Affected Branches:
    MOODLE_20_STABLE
  • Fixed Branches:
    MOODLE_20_STABLE

Description

As discussed in http://moodle.org/mod/forum/discuss.php?d=140966 trimming all content goes into the navigation blocks can cause some real usability issues.
We need to find a better solution to this, or at least a solution that will allow people to configure it as they want.

Options as I see them at the moment:
1/ Don't trim anything.
2/ Create a config setting to allow people to change the trim length to what they want.
3/ Set the trim length to a much higher value.
4/ Trim to X words instead of letters.

Personally I tossing up between options 2 and 4, closer to 4 to avoid more settings but perhaps it is worth a setting.
I'm open to any ideas that people have have here as well.

Activity

Hide
Hubert Chathi added a comment -

Another option is to trim out the middle of the string instead of the end. e.g. "Training quiz #1" might become "Traini...z #1"
I think that it is worth having a setting for this. (Maybe even a per-course setting, if that won't screw up performance?)
The tooltip for the link should probably show the entire name as well.

Show
Hubert Chathi added a comment - Another option is to trim out the middle of the string instead of the end. e.g. "Training quiz #1" might become "Traini...z #1" I think that it is worth having a setting for this. (Maybe even a per-course setting, if that won't screw up performance?) The tooltip for the link should probably show the entire name as well.
Hide
Oleg Sychev added a comment -

Trimming out middle of the section seems like a good option. And tooltips with full text obviously too.

Also I think that text for breadcrumb should be less trimmed (i.e. higher length) than similar text going to the navigation block. There are much less space problems in breadcrumb.

Show
Oleg Sychev added a comment - Trimming out middle of the section seems like a good option. And tooltips with full text obviously too. Also I think that text for breadcrumb should be less trimmed (i.e. higher length) than similar text going to the navigation block. There are much less space problems in breadcrumb.
Hide
Sam Hemelryk added a comment -

Have commit a solution for this.
The navigation block now has two settings relating to trim, first the trim mode (right | left | center) with a default of right, the second the trim length.

Cheers
Sam

Show
Sam Hemelryk added a comment - Have commit a solution for this. The navigation block now has two settings relating to trim, first the trim mode (right | left | center) with a default of right, the second the trim length. Cheers Sam

People

Vote (0)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: