[PAGES-62] Disable duplicate action in 'single' areas and when 'maxComponents' is reached Created: 10/Mar/16  Updated: 30/Aug/16  Resolved: 01/Apr/16

Status: Closed
Project: Magnolia pages module
Component/s: None
Affects Version/s: 5.4.4
Fix Version/s: 5.4.5

Type: Bug Priority: Neutral
Reporter: Christoph Meier Assignee: Ilgun Ilgun
Resolution: Fixed Votes: 0
Labels: page-editor, quickwin, ux
Remaining Estimate: 0d
Time Spent: 0.5d
Original Estimate: Not Specified

Issue Links:
causality
is causing PAGES-89 Consolidate display of edit-bars for ... Open
relation
is related to MGNLUI-1586 PageEditor: action availability is in... Closed
is related to MGNLUI-2931 Add Component action availability Closed
is related to PAGES-49 Offer duplication of an existing comp... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Release notes required:
Yes
Sprint: Basel 37
Story Points: 5

 Description   

We currently show the "duplicate component" actions even when the duplication should not or should no longer be allowed:

  • The duplicate action is available within an area of type single. When clicked, the component is copied but not rendered. We should disable the action in such case.
  • For areas which define maxComponents, please verify that the duplicate action gets disabled once we reach the maximum number of allowed components.

Generated at Mon Feb 12 06:15:15 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.