← Back to team overview

mahara-contributors team mailing list archive

[Bug 1893591] Re: improve block dimension saving on DB

 

The patch https://reviews.mahara.org/#/c/11391/ is meant to fix part of
the problems mentioned here

To test:
Load up a page with 3 blocks on it
Then open developer tools (F12) in FF and go to console tab and then turn off all the options at the right except XHR
Resize one block

In core
As you drag the resize arrow it sends off XHR calls to save the data and the more you drag it the more calls

In patch
There is only saving of blocks once you let go of the resizer - one save per block

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1893591

Title:
  improve block dimension saving on DB

Status in Mahara:
  In Progress
Status in Mahara 20.04 series:
  Confirmed
Status in Mahara 20.10 series:
  Confirmed
Status in Mahara 21.04 series:
  Confirmed
Status in Mahara 21.10 series:
  In Progress

Bug description:
  When editing a page, the way we save the block dimensions is not efficient and can be improved.
  For example if we add a block in the page, we will have an ajax call for every block that is moved, when we could have only one call for all the grid.
  When resizing a block there are multiple ajax calls even before the resizing stops.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1893591/+subscriptions



References