open-ux-tools icon indicating copy to clipboard operation
open-ux-tools copied to clipboard

FEATURE - Add explanation at the end of disabled context menu item due to non stable id

Open nikmace opened this issue 1 month ago • 0 comments

As a developer when I have started the CPE for an ADP that contains controls with no stable Id and their or their children controls context menu item for adding fragment is disabled I want to have an explanation at the end of the text for the context menu item, that tells me why it is disabled (due to non stable Id) so that I am explicitly aware the reason for the lack of this functionality for these controls

Description

In CPE, the developer does have an explanation for the reason the add fragment context menu item is disabled due to non stable id.

Acceptance Criteria

GivenWhenThen format (https://martinfowler.com/bliki/GivenWhenThen.html)

Given I have a ADP with unstable IDs when I open the RTA context menu with right click then see the first item Add Fragment with message "Unavailable due to unstable ID of the control or its parent control."

Notes

Tasks

  • [ ]
  • [ ] Unit Tests added
  • [ ] Test Cases defined

nikmace avatar May 28 '24 07:05 nikmace