Reviewed: https://reviews.mahara.org/10987 Committed: https://git.mahara.org/mahara/mahara/commit/4cff0886363f94ff4edbf2e4e660c9088d2e24d5 Submitter: Robert Lyon ([email protected]) Branch: 20.04_STABLE
commit 4cff0886363f94ff4edbf2e4e660c9088d2e24d5 Author: Aatharsh Girishwar Vijaya Sugumar <[email protected]> Date: Tue May 19 13:56:41 2020 +1200 Bug 1879410: Add a text block in Dashboard page using TestingDataGenerator.php Modified create_block() functionality of TestingDataGenerator.php to generate blocks in the Dashboard page Modified code based on review comments - moved sql query to else block, used list instead of array and added type='dashboard' in sql query, modified dashboard str match from preg match Change-Id: I8880226008217b0bc3ed9b97301ad060c998d058 Signed-off-by: Aatharsh Girishwar Vijaya Sugumar <[email protected]> (cherry picked from commit d811cd3c6c820655697c2a2c5ad7d875d4709b78) -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it! https://bugs.launchpad.net/bugs/1879410 Title: Add a text block in Dashboard page using TestingDataGenerator.php Status in Mahara: Fix Committed Status in Mahara 19.04 series: New Status in Mahara 19.10 series: New Status in Mahara 20.04 series: Fix Committed Status in Mahara 20.10 series: Fix Committed Bug description: Data generator scripts are used to auto-populate cloud instances (Mahara QA sites) with pre-defined test data. Modification of the create_block() function of TestingDataGenerator.php is required to add a Text block in the Dashboard page. Test instructions: A site created with pre-populated data using the data population script should have a Text block in the dashboard page of every people with info like group count, group admin count, group member count. When logged in as People1 the text block on dashboard will have Group Count:2 Group Admin:2 Group member:0 and for People101 Group Count:2 Group Admin:1 Group member:1 To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1879410/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : [email protected] Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp

