| 1 | [[BackLinksMenu]] |
| 2 | |
| 3 | [[TicketQuery(summary=LINKS_HUD_UI_MANAGING_LINKS, format=table, col=summary|owner|status|type|component|priority|effort|importance, rows=description|analysis_owners|analysis_reviewers|analysis_score|design_owners|design_reviewers|design_score|implementation_owners|implementation_reviewers|implementation_score|test_owners|test_reviewers|test_score|)]] |
| 4 | |
| 5 | = Analysis = |
| 6 | |
| 7 | == Overview == |
| 8 | The goal of this task is to make the managing of the links easier. For this reason remove the "add" button inside the links hud, instead of it add "New Rule" item inside the rule combo box. Here is how the entire hud behaves: |
| 9 | * Case the user selects element that has no links: |
| 10 | * When the Links hud is opened, rule combo box is enabled and has only one element - "New Rule". "Trigger" combo box is enabled as well (everything else is disabled at this point) and the selected item is "choose trigger". |
| 11 | * When the user select some trigger |
| 12 | * New item is added inside the "Rule" combo box and it is selected. This item is the current link that is attached with the selected trigger. |
| 13 | * "choose trigger" item is removed from "Trigger" combo box |
| 14 | * "Action" combo box becomes enabled and the default selected item is "choose action" (represent empty action). |
| 15 | * When the user select action |
| 16 | * "choose action" item is removed from the "Actions" combo box. |
| 17 | * User can now set different parameters for this link. The color boxes became editable. If the action has some parameters that are needed, appropriate controls appear with default values typed/selected. |
| 18 | * Case the user selects item that has links: |
| 19 | * The last added rule for this item is selected and all its parameters are editable. |
| 20 | * If the user selects "New Rule" the hud starts to behave in same manner as in the first case. |
| 21 | Note: If the user add trigger and close the hud, no link will appear under preview mode. However if after a several operations he select the same element and opens the links hud, the hud should be in his previous state (the previous selected trigger should appear, and there is a rule item associated with it). |
| 22 | |
| 23 | == Task requirements == |
| 24 | * Create the described behavior |
| 25 | |
| 26 | == Task result == |
| 27 | * The result should be code |
| 28 | |
| 29 | == Implementation idea == |
| 30 | * described in the overview section |
| 31 | |
| 32 | == Related == |
| 33 | |
| 34 | == How to demo == |
| 35 | * Create a link via hud links |
| 36 | |
| 37 | = Design = |
| 38 | ^(Describe your design here.)^ |
| 39 | |
| 40 | = Implementation = |
| 41 | ^(Describe and link the implementation results here (from the wiki or the repository).)^ |
| 42 | |
| 43 | = Testing = |
| 44 | ^(Place the testing results here.)^ |
| 45 | |
| 46 | = Comments = |
| 47 | ^(Write comments for this or later revisions here.) |