Text block 'Quick edit' retract and double bar display issues

Bug #1890238 reported by Rangi Daymond
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
High
Robert Lyon

Bug Description

Test environment: current master
Browser: Chrome (latest)

Test steps:
1. As a logged in person, create a new page "Test page".
2. Add a text block as follows:
   - block title "Text Block"
   - leave the instructions blank
   - insert some content in the text block
   - set retractable to "Yes"
   - Save the block.
3. Select to view/display the page.
   Expected result: ✔ The page is displayed with the "Quick edit" bar,
     the content is NOT retracted.
   Actual result: as expected.
4. Select to retract the block content then expand it.
   Expected result: X The block content is retracted then expanded correctly.
   Actual result: The block content is retracted but so is most of the "Quick edit" bar.
   The page must be reloaded to display correctly.
5. (Reload the page) Select the "Quick edit" bar, the 'Text Block" edit panel is displayed,
   update the block content then Save.
   Expected result: ✔ The content change is displayed.
   Actual result: as expected.
6. Select the "Details" icon (top right of screen).
   Expected result: The 'Text Block" edit panel is displayed.
   Actual result: X The "Quick edit" bar disappears.
7. Select the "Details" icon again (top right of screen).
   Actual result: X Two "Quick edit" bars are displayed.

Please see attached mp4 video file

Revision history for this message
Rangi Daymond (rangid) wrote :
Robert Lyon (robertl-9)
Changed in mahara:
assignee: nobody → Robert Lyon (robertl-9)
status: New → In Progress
Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/11113

Changed in mahara:
milestone: none → 20.10.0
importance: Undecided → High
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/11113
Committed: https://git.mahara.org/mahara/mahara/commit/36cc477a3830b8a25a4ff2e1fd68118f5ec5c4b1
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit 36cc477a3830b8a25a4ff2e1fd68118f5ec5c4b1
Author: Robert Lyon <email address hidden>
Date: Wed Aug 5 13:29:42 2020 +1200

Bug 1890238: Stop the double 'Quick edit' bars appearing

Problem here was we we adding another bar unhidden to the existing
hidden one

Also allow the collapse to be a bit taller to show the title part

Change-Id: Ia40af96d6c08f9ef11563c865d36e5a3f7499a56
Signed-off-by: Robert Lyon <email address hidden>

Robert Lyon (robertl-9)
Changed in mahara:
status: In Progress → Fix Committed
Robert Lyon (robertl-9)
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.