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

Feature Request: Multiple Tracker .tkr files #154

Open
pigsflew opened this issue Jun 11, 2021 · 0 comments
Open

Feature Request: Multiple Tracker .tkr files #154

pigsflew opened this issue Jun 11, 2021 · 0 comments

Comments

@pigsflew
Copy link

I'd love to be able to upload/edit and download a set of trackers in a single json file with an array of tracker objects when working with a "combined tracker", like my blood pressure tracker set here:

[
  {
    "type": "tracker",
    "tracker": {
      "tag": "bp",
      "id": "a918e683188bdea8d712a6aa62af5267",
      "type": "note",
      "color": "#81D4FA",
      "math": "sum",
      "ignore_zeros": false,
      "uom": "num",
      "emoji": "🩸",
      "score": "1",
      "one_tap": false,
      "include": "",
      "note": "#bp_sys(110) #bp_dia(80) #bp_hr(80)",
      "hidden": false,
      "label": "Blood Pressure"
    },
    "created": "2021-06-11T20:42:01.360Z",
    "version": "5.6.2"
  },
  {
    "type": "tracker",
    "tracker": {
      "tag": "bp_sys",
      "id": "7b523ac764148254f4e487357dea0abb",
      "type": "value",
      "color": "#81D4FA",
      "math": "mean",
      "ignore_zeros": false,
      "uom": "mmHg",
      "emoji": "Sys",
      "default": 110,
      "score": "custom",
      "score_calc": [
        {
          "if": "value",
          "is": "gte",
          "v": 130,
          "sc": "-1"
        },
        {
          "if": "value",
          "is": "gte",
          "v": 120,
          "sc": "0"
        },
        {
          "if": "value",
          "is": "gte",
          "v": 110,
          "sc": "1"
        },
        {
          "if": "value",
          "is": "lt",
          "v": 110,
          "sc": "-1"
        }
      ],
      "one_tap": false,
      "include": "",
      "hidden": true,
      "label": "Systolic"
    },
    "created": "2021-06-11T21:02:32.367Z",
    "version": "5.6.2"
  },
  {
    "type": "tracker",
    "tracker": {
      "tag": "bp_dia",
      "id": "d1578547ded7ad49f716820c13765238",
      "type": "value",
      "color": "#81D4FA",
      "math": "mean",
      "ignore_zeros": false,
      "uom": "mmHg",
      "emoji": "Dia",
      "default": 80,
      "score": "custom",
      "score_calc": [
        {
          "if": "value",
          "is": "gte",
          "v": 90,
          "sc": "-1"
        },
        {
          "if": "value",
          "is": "gte",
          "v": 80,
          "sc": "0"
        },
        {
          "if": "value",
          "is": "gte",
          "v": 70,
          "sc": "1"
        },
        {
          "if": "value",
          "is": "lt",
          "v": 70,
          "sc": "-1"
        }
      ],
      "one_tap": false,
      "include": "",
      "hidden": true,
      "label": "Diastolic"
    },
    "created": "2021-06-11T21:04:40.753Z",
    "version": "5.6.2"
  },
  {
    "type": "tracker",
    "tracker": {
      "tag": "bp_hr",
      "id": "0e171d8539acf9ed597bc6fb18bdbe0a",
      "type": "value",
      "color": "#369DD3",
      "math": "mean",
      "ignore_zeros": false,
      "uom": "bpm",
      "emoji": "HR",
      "default": "80",
      "score": null,
      "one_tap": false,
      "include": "",
      "hidden": true,
      "label": "Pulse"
    },
    "created": "2021-06-11T21:06:22.611Z",
    "version": "5.6.2"
  }
]

I'd also love to be able to edit and add new sub-trackers of a combined tracker inline in the editor.

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

No branches or pull requests

1 participant