Giter VIP home page Giter VIP logo

Comments (5)

drobertadams avatar drobertadams commented on July 1, 2024

The semantics are that "start" starts a new entry, while "continue" continues an existing entry. I'm not sure I would want to confuse the two.

from toggl-cli.

staff0rd avatar staff0rd commented on July 1, 2024

@drobertadams indeed, I ended up taking a look at the code (as you are aware from the unrelated PRs), turns out my expectation was what the code was already doing when continue was called on a new day, so I did this, staff0rd/toggl-cli@9d8a6e9, which as you suggest is probably not what you're intending.

However, maybe staff0rd/toggl-cli@afb515c is helpful without the above? - should I create a PR for it?

from toggl-cli.

drobertadams avatar drobertadams commented on July 1, 2024

I think your last suggestion makes sense. It continues the last entry if no
parameters are given. Go ahead with the PR.

Robert

On Fri, Oct 16, 2015 at 7:21 PM Stafford Williams [email protected]
wrote:

@drobertadams https://github.com/drobertadams indeed, I ended up taking
a look at the code (as you are aware from the unrelated PRs), turns out my
expectation was what the code was already doing when continue was called
on a new day, so I did this, staff0rd/toggl-cli@9d8a6e9
staff0rd@9d8a6e9,
which as you suggest is probably not what you're intending.

However, maybe staff0rd/toggl-cli@afb515c
staff0rd@afb515c
is helpful without the above? - should I create a PR for it?


Reply to this email directly or view it on GitHub
#39 (comment)
.

Dr. Robert Adams
School of Computing and Information Systems
Grand Valley State University

from toggl-cli.

staff0rd avatar staff0rd commented on July 1, 2024

The toggl web UI defaults continue to creating a new entry, which is why the toggl-cli continue operation does not seem intuitive to me. The web UI has the following settings under My Profile;

  • Save start and stop times (a new entry is created each time) [Default]
  • Save duration only (continues on top of the existing time entry)

Setting this option to Save duration only causes the web UI to perform the continue similar to toggl-cli's continue.

Would you accept a PR where an option similar to the settings above is included in .togglrc (defaulting to your continue expectation if required) so that a user can control whether toggl-cli creates a new entry or not?

from toggl-cli.

drobertadams avatar drobertadams commented on July 1, 2024

Yes I would certainly accept that. I personally like continuing previous
entries (saving duration only), but as long as there's a flag in .togglrc,
it can certainly work both ways.

On Thu, Nov 12, 2015 at 12:09 AM Stafford Williams [email protected]
wrote:

The toggl web UI defaults continue to creating a new entry, which is why
the toggl-cli continue operation does not seem intuitive to me. The web
UI has the following settings under My Profile;

  • Save start and stop times (a new entry is created each time)
    [Default]
  • Save duration only (continues on top of the existing time entry)

Setting this option to Save duration only causes the web UI to perform
the continue similar to toggl-cli's continue.

Would you accept a PR where an option similar to the settings above is
included in .togglrc (defaulting to your continue expectation if
required) so that a user can control whether toggl-cli creates a new entry
or not?


Reply to this email directly or view it on GitHub
#39 (comment)
.

Dr. Robert Adams
School of Computing and Information Systems
Grand Valley State University

from toggl-cli.

Related Issues (20)

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.