[ANALYTICS-33] Add filters to dashboard Created: 20/Feb/19  Updated: 17/Apr/19  Resolved: 09/Apr/19

Status: Closed
Project: Analytics
Component/s: None
Affects Version/s: None
Fix Version/s: 1.0

Type: Story Priority: Neutral
Reporter: Laura Delnevo Assignee: Oanh Thai Hoang
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 0d
Time Spent: 2.5d
Original Estimate: Not Specified

Attachments: PNG File app dashboard filters.png    
Issue Links:
Relates
relates to ANALYTICS-44 Propagate filters updates to the Data... Closed
relates to ANALYTICS-58 Refresh filter bar when dashboard def... Closed
relates to MGNLUI-5139 Rename all related periscope style to... Closed
relation
is related to ANALYTICS-47 DOC: How to configure chart filters Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Documentation update required:
Yes
Date of First Response:
Epic Link: Analytics UI
Sprint: Add-Ons 9
Story Points: 8

 Description   
  • One filter applies to all the charts (e.g. time range) in my dashboard
  • I can configure the filter in the dashboard 
  • I can choose the fields in the filter- this is configurable and it can be any field type (e.g. date, rich text, etc.)

 

UI specs

The filter button behaves in the same way as fx. in definitions app or in find bar filters

  • It's placed in the title space on the right hand
  • It works like a toggle (expand / collapse on click)
  • Use the same filter styles as used in definitions or find bar filters
    • Use select field to select dashboard type
    • Use date range field to select date range

 



 Comments   
Comment by Oanh Thai Hoang [ 12/Apr/19 ]

For document:

Example configure for filter fields:

 filterFields:
  - name: listStyle
    class: info.magnolia.ui.form.field.definition.SelectFieldDefinition
    label: List style
    options:
      - name: bullet
        value: bullet
        selected: true
        label: Bullet
      - name: ordered
        value: ordered
        label: Ordered
      - name: inline
        value: inline
        label: Inline
  - name: site
    class: info.magnolia.ui.form.field.definition.TextFieldDefinition
    placeholder: site id
    label: Site
  - name: startDate
    class: info.magnolia.ui.form.field.definition.DateFieldDefinition
    label: Start date
  - name: title
    class: info.magnolia.ui.form.field.definition.CompositeFieldDefinition
    fields:
      - name: title
        class: info.magnolia.ui.form.field.definition.DateFieldDefinition
        label: Start date
      - name: date
        class: info.magnolia.ui.form.field.definition.DateFieldDefinition
        label: End date
Generated at Sun Feb 11 23:14:50 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.