Skip to content

Feature: Simple Filtering #92

@benloh

Description

@benloh

Joshua's writeup of simple filtering (from https://indiana-my.sharepoint.com/:w:/g/personal/jdanish_iu_edu/EWSbxa56u9dOtbKT3u3fQhEBMYidfLTC1c4cEfr6hSSRlw?rtime=d4osTmMR2Eg):

Templates

  1. Add a field to all fields in the template for type and for now only include number or text

  2. If we have time, add validation for number, but if not I can add it if the property is there

Actual filter

  1. Create a small movable pop up window that triggers from the tab bar for filtering

    1. This is tabbed with 2 tabs to start: Nodes and Edges

    2. Help text drawn from this template

  2. In each tab:

    1. By type: list node / edge types with check boxes to include / exclude them. All included by default.

    2. Then, this has a list of node and edge fields, and each one has a drop down as follows:

      a. If the type is “text” then it includes “not filtered”, “contains” or “doesn’t contain”
      1. If you select contains or doesn’t contain, you can type a string and it will filter accordingly
      2. Ideally we have a way of using multiple strings with quotes to do multi-filter, but if not the basics are a great start

      b. If the type is “number” then it includes some basic mathematical comparisons such as =, !=, >, < and a space for a number
      1. (Note, auto-calculated degrees count as a number)
      2. If we can add calculated fields like “nearest neighbor” then do so. (maybe specify the key 1 or 2)

  3. In the bottom of the popup

    1. A clear and close button

    2. Clear clears all the filters / re-sets it

    3. I assume we don’t need apply as it will happen automatically with each selection

Features

  • Filter status display line
  • Date filtering

Future Features

  • Highlight -- Fade filtered objects instead if hiding them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions