Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-12228

RuleBooks - Create a new Rulebook


    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.3.0
    • Fix Version/s: 4.3.0
    • Component/s: UI
    • Labels:
    • Sprint:
      UP6 Sprint 2, UP6 Sprint 3
    • Rank:


      As a user, I want to Create New Rulebooks and easily add rules to them by drag and drop.

      User flow:

      • 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"

      Acceptance Criteria

      • 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.


        1. Create New RuleBook1.png
          Create New RuleBook1.png
          105 kB
        2. Create New RuleBook2.png
          Create New RuleBook2.png
          117 kB
        3. Create New RuleBook3.png
          Create New RuleBook3.png
          131 kB
        4. Create New RuleBook4.png
          Create New RuleBook4.png
          139 kB
        5. Create New RuleBook5.png
          Create New RuleBook5.png
          130 kB
        6. RuleBook.png
          120 kB
        7. RuleBooks Specs1.png
          RuleBooks Specs1.png
          268 kB
        8. RuleBooks Specs2.png
          RuleBooks Specs2.png
          145 kB
        9. RuleBooks Specs3.png
          RuleBooks Specs3.png
          161 kB



            • Assignee:
              ajai Ajai Narayan
              lea Lea
            • Votes:
              0 Vote for this issue
              3 Start watching this issue


              • Created: