Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-3586

Dashboard Filter settings are persisted per user

    • Icon: Feature Request Feature Request
    • Resolution: Won't Do
    • Icon: L3 - Default L3 - Default
    • 3.6.0-alpha2, 3.6.0
    • None
    • backend
    • 4
    • Not defined

      AT:

      • There is a new endpoint PUT /api/dashboard/:id/filter
      • The payload of this new endpoint is identical to the one sent for report evaluation by id with filters applied
      • The GET /api/dashboard/:id endpoint returns a new field called "filter" containing the array saved
      • When a user is removed from the collection, their filter configurations for any dashboards within the collection are removed first
      • After syncing identities with the engine, we should clear up any filter configurations for revoked users
      • The filter array is bound to both the dashboard and the user. The same dashboard can have different filter settings for each user. The same user can have different filter settings for each dashboard
      PUT /api/dashboard/:id/filter
      
      request payload:
      [
        {...} // same structure as filters defined in the report
      ]
      
      GET /api/dashboard/:id
      
      response payload:
      {
        ..., // rest of the dashboard info
        filter: [
          {...} // same structure as filters defined in the report
        ]
      }

        This is the controller panel for Smart Panels app

            [OPT-3586] Dashboard Filter settings are persisted per user

            Sebastian Stamm created issue -
            Joshua Windels made changes -
            Description Original: AT:
             * There is a new endpoint PUT /api/dashboard/:id/filter
             * The payload of this new endpoint is identical to the one sent for report evaluation by id with filters applied
             * The GET /api/dashboard/:id endpoint returns a new field called "filter" containing the array saved
             * The filter array is bound to both the dashboard and the user. The same dashboard can have different filter settings for each user. The same user can have different filter settings for each dashboard

            {code:java}
            PUT /api/dashboard/:id/filter

            request payload:
            [
              {...} // same structure as filters defined in the report
            ]

            GET /api/dashboard/:id

            response payload:
            {
              ..., // rest of the dashboard info
              filter: [
                {...} // same structure as filters defined in the report
              ]
            }{code}
            New: AT:
             * There is a new endpoint PUT /api/dashboard/:id/filter
             * The payload of this new endpoint is identical to the one sent for report evaluation by id with filters applied
             * The GET /api/dashboard/:id endpoint returns a new field called "filter" containing the array saved
             * When a user is removed from the collection, their filter configurations for any dashboards within the collection are removed first
             * After syncing identities with the engine, we should clear up any filter configurations for revoked users
             * The filter array is bound to both the dashboard and the user. The same dashboard can have different filter settings for each user. The same user can have different filter settings for each dashboard

            {code:java}
            PUT /api/dashboard/:id/filter

            request payload:
            [
              {...} // same structure as filters defined in the report
            ]

            GET /api/dashboard/:id

            response payload:
            {
              ..., // rest of the dashboard info
              filter: [
                {...} // same structure as filters defined in the report
              ]
            }{code}
            Joshua Windels made changes -
            Mentioned Roles
            Joshua Windels made changes -
            Mentioned Groups
            Sebastian Bathke made changes -
            Labels Original: dashboard next_release New: current_release dashboard next_release
            Sebastian Bathke made changes -
            Labels Original: current_release dashboard next_release New: current_release dashboard
            Sebastian Stamm made changes -
            Labels Original: current_release dashboard New: dashboard
            Johannes made changes -
            Effort New: Not defined [ 11259 ]
            Sebastian Bathke made changes -
            Parent Issue Original: OPT-3202 [ OPT-3202 ] New: OPT-3590 [ OPT-3590 ]
            Sebastian Stamm made changes -
            Issue Type Original: Feature Part [ 10202 ] New: Feature Request [ 2 ]
            Parent Original: OPT-3590 [ 51390 ]
            Sebastian Stamm made changes -
            Epic Link New: OPT-3699 [ 52239 ]

              Unassigned Unassigned
              sebastian.stamm Sebastian Stamm
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: