Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-1934

Modify the shortener from format text directive to show always HTML

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2
    • Fix Version/s: 3.2.1
    • Component/s: UX (User eXperience)
    • Labels:
    • Testing Instructions:
      Hide
      • Check that shortened texts has now "Show more" text.
      • Check "show more" text is readable with the white gradient background.
      • Check that shortened texts don't follow links, play videos, open images... and instead of that the text is expanded.
      • Check that expanded texts do the right click action (follow links, etc) inside them and the text does not collapse.
      • Check that expanded texts click outside a link, video, etc collapses the text.
      • Check that shortened texts with "fullview-on-click" opens a new state with the whole text (e.g. Assignment online texts or feedback).
      Show
      Check that shortened texts has now "Show more" text. Check "show more" text is readable with the white gradient background. Check that shortened texts don't follow links, play videos, open images... and instead of that the text is expanded. Check that expanded texts do the right click action (follow links, etc) inside them and the text does not collapse. Check that expanded texts click outside a link, video, etc collapses the text. Check that shortened texts with "fullview-on-click" opens a new state with the whole text (e.g. Assignment online texts or feedback).
    • Affected Branches:
      MOODLE_32_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE
    • Pull Master Branch:
    • Sprint:
      Moodle Mobile 3.2.1

      Description

      Currently the shortening is done using the character length of the string. This is done cleaning HTML tags before.

      We can shorten HTML using max-height and overflow attributes on CSS and adding visual indicators to show the text has been shortened.

      Amazon does that on comments.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              pferre22 Pau Ferrer
              Reporter:
              pferre22 Pau Ferrer
              Peer reviewer:
              Dani Palou Dani Palou
              Integrator:
              Juan Leyva Juan Leyva
              Tester:
              Berta Maroto Berta Maroto
              Participants:
              Component watchers:
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                28/Feb/17

                  Time Tracking

                  Estimated:
                  Original Estimate - 2 days, 1 hour
                  2d 1h
                  Remaining:
                  0m
                  Logged:
                  Time Not Required
                  Not Specified