Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the datalist filter previews to display meaningful values #166

Closed
nadouani opened this issue Apr 7, 2017 · 0 comments
Closed

Update the datalist filter previews to display meaningful values #166

nadouani opened this issue Apr 7, 2017 · 0 comments
Assignees
Milestone

Comments

@nadouani
Copy link
Contributor

nadouani commented Apr 7, 2017

Request Type

Enhancement

Problem Description

Enumerated field types like TLP and Severity, are stored internally as numeric values. For example:

  • TLP could be 0/1/2/3 for WHITE, GREEN, AMBER and RED
  • Severity could be 0/1/2/3 for EMPTY, LOW, MEDIUM and HIGH

Some data lists provide filtering capabilities, allowing filtering by some enumerated field (tlp and severity for instance). Once you apply a filter (think of "show me cases with HIGH severity), the UI displays a filter preview to make sure the user now what are the current applied filters

filters-preview

The issue here is the tlp:0 that should be tlp:White.

Possible Solutions

Within the filters definition, we could add a function used to convert the internal value to something user more friendly like

filters-display

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant