Giter VIP home page Giter VIP logo

working-on-tree's Introduction

Note Tree (Try it here)

A lot of the time, I find myself doing things like this in notepad:

- [x] task1
- [x] task2
- [...] task3 big one
    - [...] subtask
        - [...] working...

It doesn't last for very long, because the tree of notes becomes very unwieldy very quickly. However, this process was the inspiration for this web app, which is a hybrid of a note-taking/jounralling program, and a time tracking tool with some features for tracking time estimates as well.

The html page can be downloaded and use offline.

Some good findings

The idea of an 'activity list' is also quite a good one. In fact, what I have found is that simply by placing timestamps in arbitrary places directly in a linear text document, we can retroactively associate certain parts of that document with higher level tasks, and infer the sorted list of activities as well as the time spent on each higher level task, with a bit of smart parsing. For example, with a document like this:

Task:
    <timestamp 1> - doin da thing
    <timestamp 3> - reworking some stuff


Task 2:
    <timestamp 2> - doin another thing

We can generate a report like this:


Activities:

<timestamp 1> [Task] - doing da thing (<timestamp 2 - timestamp 1>hrs)
<timestamp 2> [Task 2] - doin another thing (<timestamp 3 - timestamp 2>hrs)
<timestamp 3> [Task 1] - reworking some stuff

Times:

Task: <timestamp 2 - timetamp 1> + <timestamp 3 - now()> hrs
Task 2: <timestamp 3 - timestamp 2> hrs

And this turns out to be a great way to keep track of what we're doing in the day, but it is somewhat limited, in that we can't really get an insight into the overall work spent on a specific task.

Another thing I've found is that chrome has a bug which causes indexedDB to grow to an unbounded size. My indexedDB grew to 15GB in production, causing chrome to crash whenever it even attempted to read data from this database. Hence, I would recommend NOT using chrome or any chromium based browser to run this program. I have added code to the program to detect and flag this issue if it ever starts happening to you.

working-on-tree's People

Contributors

tejas-h5 avatar

Watchers

 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.