← Back to team overview

mahara-contributors team mailing list archive

[Bug 1243015] [NEW] On custom layout builder, disable the "add row" button when you're at the maximum number of rows

 

Public bug reported:

We shouldn't display the "add a row" button when it won't do anything.
Or at least, we should display it in a grayed-out "disabled" mode.

To replicate:

1. Create a page
2. Go to "Edit layout"
3. Expand "Advanced options"
4. Expand "Create custom layout"
5. Click "Add a row" 5 times, each time adding one row, until you have 6.

Actual result: "Add a row" looks exactly the same, but now clicking on it won't do anything
Expected result: "Add a row" should be grayed out or disappear in order to indicate that it's no longer usable. If you delete a row, it should re-enable.

** Affects: mahara
     Importance: Medium
     Assignee: Robert Lyon (robertl-9)
         Status: Confirmed


** Tags: flexible-layout

-- 
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/1243015

Title:
  On custom layout builder, disable the "add row" button when you're at
  the maximum number of rows

Status in Mahara ePortfolio:
  Confirmed

Bug description:
  We shouldn't display the "add a row" button when it won't do anything.
  Or at least, we should display it in a grayed-out "disabled" mode.

  To replicate:

  1. Create a page
  2. Go to "Edit layout"
  3. Expand "Advanced options"
  4. Expand "Create custom layout"
  5. Click "Add a row" 5 times, each time adding one row, until you have 6.

  Actual result: "Add a row" looks exactly the same, but now clicking on it won't do anything
  Expected result: "Add a row" should be grayed out or disappear in order to indicate that it's no longer usable. If you delete a row, it should re-enable.

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


Follow ups

References