GithubHelp home page GithubHelp logo

mvrtza / obsidian-tracker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pyrochlore/obsidian-tracker

0.0 0.0 0.0 3.92 MB

A plugin tracks occurrences and numbers in your notes

License: MIT License

TypeScript 98.60% JavaScript 0.52% CSS 0.87%

obsidian-tracker's Introduction

Obsidian Tracker Plugin

GitHub release

This is an Obsidian plugin that helps you collect data from notes and represent it comprehensively.

Here is a table containing simplified examples showing what you can track.

What's New

Version 1.10.0

  • Add annotation mode for month view (examples)
  • Add parameters xAxisTickInterval, yAxisTickInterval, xAxisTickLabelFormat and yAxisTickLabelFormat for the line and bar chart (examples)
  • Allow using regular expression in parameter dateFormatPrefix and dateFormatSuffix (examples)
  • Add parameters file, specifiedFilesOnly, fileContainsLinkedFiles, and fileMultiplierAfterLink to retrieve data from specified files (examples)
  • Add a parameter textValueMap to convert texts or emojis to specified values (examples)
  • Fixed bugs
  • Enhanced error messages

Version 1.10.1

  • Fixed 'failed to load plugin' on iOS

Version 1.10.2

  • Fixed plugin not rendering on some macOS machines

Version 1.10.3

  • Allow using the parameter fitPanelWidth with the output type month and pie
  • Fixed the resizing and positioning of the chart tooltip

Version 1.10.4

  • Allow using a regular expression as a key of the parameter textValueMap
  • Add a parameter shiftOnlyValueLargerThan to determine when to do valueShift
  • Fixed bugs reported by users
  • Fixed typo in plugin settings

Version 1.10.5

  • Allow using a relative date value in initMonth in the month view

Version 1.10.6

  • Fixed the coloring for missing data in the month view

Version 1.10.7

  • Allow using html image tags as emoji inputs

Version 1.10.8

  • Fixed startDat/endDate misread as a relative date

!!! Breaking Changes !!!

From version 1.9.0, template variables, e.g. '{{sum}}', are deprecated. Instead, Tracker provide operators (+, -, *, /, %) and functions (dataset(), sum(), maxStreak(), ......etc) to help us do data processing. For users having code blocks from previous version, please replace '{{sum}}' by '{{sum()}}' or '{{sum(1)}}' by '{{sum(dataset(1))}}'. More information about the new expressions could be found here.

Usage

  1. Have some targets you want to track in daily notes.
  2. Add a new note for displaying the tracker.
  3. Add tracker code blocks manually (examples) or using commands.
  4. Switch the document view mode to 'Preview', then the code block will get rendered.

For more use cases, please download and open the examples folder in obsidian with this plugin installed and enabled.

More Details You May Want to Know

Support

  • If you like this plugin or want to support further development, you can Buy Me a Coffee.
  • Please report bugs and request features in GitHub Issues

obsidian-tracker's People

Contributors

pyrochlore avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.