Giter Club home page Giter Club logo

alfred-timing's Introduction

alfred-timing Build Status

Alfred workflow for Timing app

Install

npm install --global alfred-timing

Requires Node.js 8+ and the Alfred Powerpack.

  1. Install workflow by running $ npm install --global alfred-timing in Terminal
  2. Generate new Timing API token here
  3. Insert yout API token into the token field in "Workflow Environment Variables" window:

Usage

In Alfred, type t, press Return, and enter your task. You can create a new task or select the existing one (project will be selected automatically).

Development

Use alfred-link to create a symlink in the Alfred workflows directory pointing to your development location.

npx alfred-link

License

MIT © skibitsky

Contributors

  • Bhagya Silva (github.com/bhagyas)
  • Daniel Willitzer (github.com/dwillitzer)

alfred-timing's People

Contributors

bhagyas avatar dependabot[bot] avatar dwillitzer avatar skibitsky avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

alfred-timing's Issues

Wrong subproject assignment

Hey, I have noticed an issue with the wrong subproject being selected when it has the same name as another subproject that's under a different parent project. I'm not quite sure if it's ignoring subprojects completely, or if it's breaking because of the duplicate names.

For example, I have two parent projects, ABC Company and XYZ Company. They both have a subproject "Pre and Post Work."

  • ABC Company->Pre and Post Work
  • XYZ Company->Pre and Post Work

Each week, I do task "Weekly Task" which is always under ABC Company->Pre and Post Work.

When I initiate this workflow and type "Weekly Task," it matches my task and surfaces it in the list, which is great. When I hit enter and start this task, it shows in my taskbar that I am doing Weekly Task, but when I edit the currently running task via the taskbar, it's just a standalone project "Pre and Post Work," not under any parent project.

Does not handle tasks without a project

TypeError: Cannot read property 'title' of null
    at .../alfred-timing/tasks.js:29:28
    at Array.map (<anonymous>)
    at .../alfred-timing/tasks.js:28:16

Timing 1.2.0
Alfred 4.1.1
darwin 19.6.0

Installation Error

The workflow might fail to install saying that alfred-link was not allowed to access Alfred preferences. Similar issues can be found in repositories of other workflows built with Alfy, all of them have alfred-link as dependency.

There is an open issue in alfred-link repository on this error.

EsyUeKXUcAMny1Y

Possible Workaround

Even though I was unable to reproduce the problem on my machine, I've noticed that in all these error messages alfred-link tries to access file com.runningwithcrayons.Alfred-Preferences-3.plist. I don't have this file on my Mac, but I do have com.runningwithcrayons.Alfred-Preferences.plist (without -3 in the end).

For everyone experiencing this issue I suggest to follow this advice and create symlink by executing the following command in terminal:

ln -s ~/Library/Preferences/com.runningwithcrayons.Alfred-Preferences.plist ~/Library/Preferences/com.runningwithcrayons.Alfred-Preferences-3.plist

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.