Skip to content

Next

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
Minds Backend - Engine
Minds Backend - Engine
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
    • Insights
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
    • Locked Files
  • Issues 221
    • Issues 221
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 36
    • Merge Requests 36
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Security & Compliance
    • Security & Compliance
    • Dependency List
  • Packages
    • Packages
    • List
    • Container Registry
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Minds
  • Minds Backend - EngineMinds Backend - Engine
  • Issues
  • #862

Closed
Open
Opened 8 hours ago by Olivia Madrid@omadrid
  • Report abuse
  • New issue
Report abuse New issue

Analytics dashboard data modelling

Is this a bug? Make sure to use the Bug template above and be as detailed in your report as possible.

Please solve the reCAPTCHA

We want to be sure it is you, please confirm you are not a robot.

Related issues
0

    • Discussion 9
    • Designs 0
    • Olivia Madrid @omadrid added Sprint::09/11 - Nuanced Numbat scoped label 8 hours ago

      added Sprint::09/11 - Nuanced Numbat scoped label

    • Olivia Madrid @omadrid assigned to @markeharding 8 hours ago

      assigned to @markeharding

    • Olivia Madrid @omadrid changed milestone to %Analytics #mvp 8 hours ago

      changed milestone to %Analytics #mvp

    • Olivia Madrid @omadrid added Squad::Blue scoped label 8 hours ago

      added Squad::Blue scoped label

    • Olivia Madrid @omadrid added Priority::2 - Normal Product::Analytics Type::Feature scoped labels 8 hours ago

      added Priority::2 - Normal Product::Analytics Type::Feature scoped labels

    • Olivia Madrid
      Olivia Madrid @omadrid · 8 hours ago
      Developer

      Draft example JSON data model attached - lmk if a diagram would be useful and I can make one. See comments of front#1932 for a diagram that describes what the different names mean. analytics_model.js

      Edited by Olivia Madrid 8 hours ago
    • Mark Harding
      Mark Harding @markeharding · 2 hours ago
      Owner
      {
        "category": "traffic",
        "categories": [
          {
            "id": "traffic",
            "label": "traffic",
            "type": "chart"
          },
          {
            "id": "engagement",
            "label": "engagement",
            "type": "chart"
          },
          {
            "id": "trending",
            "label": "trending",
            "type": "list"
          }
        ],
        "timespan": "mtd",
        "timespans": [ 
          {
            "id": "today",
            "label": "today",
            "interval": "day",
            "from_ts_ms": 1569196800000
          },
          {
            "id": "mtd",
            "label": "month to date",
            "interval": "day",
            "from_ts_ms": 1567296000000
          },
          {
            "id": "ytd",
            "label": "year to date",
            "interval": "month",
            "from_ts_ms": 1546300800000
          }
        ],
        "metrics": [
          {
            "id": "active_users",
            "category_id": "traffic",
            "label": "active users",
            "description": "is this needed?",
            "chart_label": "count",
            "permissions": ["admin", "user"]
            "values": {
              "current": 120,
              "previous": 110
            }
          },
          {
            "id": "signups",
            "category_id": "traffic",
            "label": "signups",
            "description": "is this needed?",
            "chart_label": "count",
            "permissions": ["admin", "user"],
            "values": {
              "current": 1,
              "previous": 23
            }
          },
        ],
        "charts": [
          {
            "id": "active_users",
            "label": "unique active users",
            "x": ["19-04", "19-05", "19-06", "19-07", "19-08", "19-09"],
            "y": [100, 100, 200, 300, 500, 800]
          }
        ],
        "filter": "platform::web",
        "filters": [
          {
            "id": "platform",
            "label": "platform",
            "available": true,
            "options": [
              {
                "id": "web",
                "label": "Web",
                "description": "Why is this needed?",
                "available": true
              },
              {
                "id": "mobile",
                "label": "Mobile",
                "description": "Why is this needed?",
                "available": true
              }
            ]
          }
        ]
      }
      Edited by Mark Harding 2 hours ago
    • Mark Harding @markeharding added 30m of time spent at 2019-09-23 2 hours ago

      added 30m of time spent at 2019-09-23

    • Mark Harding @markeharding added Status::Review scoped label 2 hours ago

      added Status::Review scoped label

    • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
    Please register or sign in to reply

    The one place for your designs

    Upload and view the latest designs for this issue. Consistent and easy to find, so everyone is up to date.

    Assignee
    Mark Harding's avatar
    Mark Harding @markeharding
    Assign to
    none
    Epic
    None
    Analytics #mvp
    Milestone
    Analytics #mvp
    Assign milestone
    30m / --
    Time tracking
    Spent: 30m
    None
    Due date
    None
    6
    Labels
    Priority::2 - Normal Product::Analytics Sprint::09/11 - Nuanced Numbat Squad::Blue Status::Review Type::Feature
    Assign labels
    • View project labels
    None
    Weight
    None
    Confidentiality
    Not confidential
    Lock issue
    Unlocked
    2
    2 participants
    user avatar
    Mark Harding
    user avatar
    Olivia Madrid
    Reference: minds/engine#862