Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-65205

Messaging interface assumes secondary color is light shade

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Peer review in progress
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.6.3
    • Fix Version/s: None
    • Component/s: HTML and CSS, Messages, Themes
    • Labels:
    • Testing Instructions:
      Hide

      Login as Admin

      1. Create a new user s1
      2. Open the messaging interface search for user s1 and send user s1 a message
      3. Login as user s1
      4. Reply to the message send by the admin user
      5. Verfiy the send message is a light shade of gray
      6. Verify the received message has a white background color
      7. Verify the message container background has a lighter shade of gray
      8. Verify you can read the message time in the message bubble
      9. Verify you can see the day the messages were send in the message container

       

      Now install the attached Moodle preset

      • Navigate to Site Administration -> appearance -> Boost
      • Upload the Moodle preset file in Preset Files
      • Select the Moodle preset file in Theme Preset
      • Now test the messaging again for steps 5 to 9 from the test above.
      Show
      Login as Admin Create a new user s1 Open the messaging interface search for user s1 and send user s1 a message Login as user s1 Reply to the message send by the admin user Verfiy  the send message is a light shade of gray Verify  the received message has a white background color Verify  the message container background has a lighter shade of gray Verify you can read the message time in the message bubble Verify  you can see the day the messages were send in the message container   Now install the attached Moodle preset Navigate to Site Administration -> appearance -> Boost Upload the Moodle preset file in Preset Files Select the Moodle preset file in Theme Preset Now test the messaging again for steps 5 to 9 from the test above.
    • Affected Branches:
      MOODLE_36_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-65205-master
    • Story Points:
      3
    • Sprint:
      Moppies Moodle 3.8 Sprint 1, Moppies Moodle 3.8 Sprint 2, Moppies Moodle 3.8 Sprint 3

      Description

      The messaging interface in Boost uses bg-secondary behind some text but assumes that it's a pale shade, since it puts hardcoded gray and dark gray text on top of it.

      The text colors should use color-yiq functions to ensure they are readable if the secondary color is set to something else.

        Attachments

          Activity

            People

            • Assignee:
              basbrands Bas Brands
              Reporter:
              bawjaws David Scotson
              Peer reviewer:
              David Scotson
              Participants:
              Component watchers:
              Amy Groshek, David Scotson, Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón, Jake Dallimore, Jun Pataleta, Ryan Wyllie, Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 6 hours
                6h