22 comments

  • Kyle MitchellKyle Mitchell, almost 4 years ago

    I want this. Make it happen.

    6 points
  • Clark Wimberly, almost 4 years ago

    This is a design doc for a plugin I was planning to build, until I learned that it ins't possible with Sketch's current plugin architecture.

    Until it's technically possible, I thought I'd share the concept to see if anyone else might find this useful.

    5 points
    • Bart ClaeysBart Claeys, almost 4 years ago

      Can you elaborate on why you think it's impossible to develop?

      2 points
      • Clark WimberlyClark Wimberly, almost 4 years ago

        Someone from Bohemian told us so: http://mail.sketchplugins.com/pipermail/dev_sketchplugins.com/2014-August/000547.html

        Basically there is no method for inserting custom icons into the toolbar (minor issue) and no way to run active/repeated events (bigger issue).

        Looks like they are working on it though!

        "As for events, it is something we’d like to do, moving forward, but we’re still in the design/discussion phase"

        1 point
        • Bart ClaeysBart Claeys, almost 4 years ago

          Couldn't you simply start with tracking mouse movement? If there is mouse movement, then there is activity and that time can be added to the log. Each file would then contain one number, resembling the total time spent within the doc.

          0 points
          • Clark WimberlyClark Wimberly, almost 4 years ago

            I don't think a plugin can "track" anything, is the problem. Plugins in Sketch currently have to be explicitly ran (usually with a hotkey), they can't just hang out in the background listening for triggers.

            Maybe soon!

            0 points
  • Kelly SuttonKelly Sutton, almost 4 years ago

    So this doesn't exactly help, but LayerVault could do this on a generalized level for any filetype.

    Since we track every save, someone could potentially map saves to spurts of working on a file. If anyone's interested in doing that, it would be pretty trivial to implement using the API. It would just be a matter of what formula you use to define continuous work.

    4 points
    • Clark WimberlyClark Wimberly, almost 4 years ago

      I think basing it on saves alone would be insanely tricky, as there be no way to detect inactivity. Lots of times I leave a file open for random amounts of time, jumping back in and saving like no big deal.

      I guess it would be a start, but I'd rather use save data to show "lifespan" of a file, maybe in a Github-style activity graph. It would be neat to see start date, end date, save velocity, etc— but I don't think I'd trust it for total hours spent active in the file.

      0 points
      • Kelly SuttonKelly Sutton, almost 4 years ago

        Yeah, you'd have to make a few executive decisions around what defines "thinking" vs. "I'm no longer working on this file." I think that threshold would probably be somewhere around 10 minutes. That is, if you haven't made a new save to a file in 10 minutes, you are no longer working on that file.

        0 points
        • Patrick SmithPatrick Smith, almost 4 years ago

          Well since LayerVault has an app open all the time on the Mac, the tracking of other activity could be built into there too, such as which app is open (-[NSWorkspace frontmostApplication]) and mouse movement, combine this with the save detection and you could get some pretty good results there.

          0 points
  • Bardan Gauchan, almost 4 years ago

    Damn, I was excited by this until I realized it is just a concept :(

    4 points
  • Mike CuestaMike Cuesta, almost 4 years ago

    Wow - would absolutely love to have. Great idea.

    2 points
  • Tyler HowarthTyler Howarth, almost 4 years ago

    Often wondered if something like this would be possible with the Layervault API...

    1 point
  • Koy CarrawayKoy Carraway, almost 4 years ago

    Is this a real thing or just a proof of concept? Please say real :)

    1 point
    • Clark Wimberly, almost 4 years ago

      Concept. We tried to build it and found out it was impossible with the current way that Sketch plugins work.

      Exploring other options, just thought I should try to gauge interest before I waste too much time on it, haha.

      0 points
  • Lee Fuhr, almost 4 years ago

    Love this concept. In my ideal world, it could link up to my Harvest account, and let me assign a project to each folder in my Projects directory. If I'm working on a file somewhere in one of those directories, track time against the connected project.

    Oh, and since I'm being ideal, it would work with Photoshop too. :)

    0 points
  • Aaron CalzadoAaron Calzado, almost 4 years ago

    This needs to be implemented in all the pro apps I use. Then maybe I can get a better idea on how to estimate my time.

    0 points
  • David KlawitterDavid Klawitter, almost 4 years ago

    You beautiful monster. Why limit it to just Sketch though. Take it WORLDWIDE.

    0 points
    • Clark Wimberly, almost 4 years ago

      The funny thing is that this plugin would likely be in Photoshop, but I only use Sketch now for production work so I've got no drive to take it there.

      Maybe someday....

      0 points
  • Giulio MichelonGiulio Michelon, almost 4 years ago

    Please make this happen.

    0 points
  • Kurt Cunningham, almost 4 years ago

    Love this concept. Would love it more if you could integrate with Harvest. That way I could track my time right from Sketch.

    0 points