As a user, I want to Create New Rulebooks and easily add rules to them by drag and drop.
- Click on the “Create a New Rulebook” in the “Rulebooks” tabs
- Rules tabs open
- The user can add rules by drag and drop rules from the list
• The user can hover over the list, background color of the rows changes,
• The user can click and drag the row, the row background stays highlighted, a rule card (with name of the rule) is displayed and in the main canvas the drag and drop area is highlighted
• if there are other rules in the canvas a visual indicator is displayed to show the position of where the rule is added. The user can drop a rule at the top or bottom of the list or in-between two existing rules.
- The name a new Rulebook and add a description. Unnamed Rulebooks are going to be assigned the default name “Untitled_n"
- Rulebooks are displayed in a summary view.
- The tabs display the number of Rulebooks saved
- In the Rulebook tab, the user can add new Rulebooks, scroll through existing ones or search by the name, description (if available) or tags
- In the Rulebook summary view, the following info is surfaced per Rulebook
• Rulebook name
• Owner Name
• Date of creation
• Number of Rules contained by the Rulebook
• Description (if available)
- The username of the person creating the Rulebook is automatically assigned as owner name
- Date is displayed as “Today”
- Rulebook created in previous dates displayed a date formatted as mm/dd/yy
- Rulebooks are displayed in order of creation from top to bottom
- Rulebooks have unique names if the user inputs an existing name, the system adds _n to the new name.
- Rulebooks names can be edited by opening a Rulebook and clicking on the name: Textbook appears, name is highlighted (use the same pattern as headers name in Data Prep)
- Details can be edited (same pattern as above)
- The user can add Tags by clicking the [+] (use the same pattern as Add a tag in Datasets and Applications details view
- There is a visual feedback on hover for elements that can be clicked/selected, etc.