lobolabs / productivity_scripts

1 stars 0 forks source link

make an alfred hotkey that enters a time log into a timesheet entry #3

Closed abbood closed 7 years ago

abbood commented 7 years ago

Business Requirement

allow user to directly log time they spend on a specific project to a specific timesheet

Analysis

This can be simplified by the following assumptions.

for example if i type the following in the alfred box jira 3:00 then this should work on all of these:

jira migration
JIRA migration
the Jira migration

etc

technical requirement

given user is using this spreadsheet for time logging and user launches alfred and enteres %project case insensitive substring% %hh:mm% where h = hour, m = minute when clicks on enter then the spreadsheet should update the row/column of that project on that date with the added hours

Status Update

feb 15th, @abbood

trying to use caching, and working on creating a singelton method to call the google sheets service (ie must learn singelton in python)

feb 14th 2:00pm @abbood

made python command line work perfectly.. see this commit aa40835 with it's log message next step: integrate it into alfred workflow.. documentation is poor, following tutorial here for now

feb 14th @abbood

successfully wrote script that can update number to a cell corresponding to today (see 1e9c6ee).. now we must add the ability to specify the project name via regex (challenging)

feb 13th @abbood

working now on writing a method that scans a spreadsheet sheets and returns the sheet title and column that matches today's date

Related Issues

References

abbood commented 7 years ago

game plan

step 1: hello world

abbood commented 7 years ago
abbood commented 7 years ago

ran quick start guide.. worked fine.. see this commit

abbood commented 7 years ago

step 2: enter data into specific spreadsheet

abbood commented 7 years ago

step 3: write script that finds appropriate sheet to enter tab into

ie we gotta find the sheet that has the date range we're interested in

abbood commented 7 years ago

step 4: make program work on python command line

done

abbood commented 7 years ago

step 5: add notificaiton indicating success of adding something

abbood commented 7 years ago

step 6: change workflow, make it display suggestions at first

given user types log then list of all projects display when user click on a display it auto fills (how?) then user adds a number (as hours) after adding the number.. it should execute and send notification

abbood commented 7 years ago

http://alfredworkflow.readthedocs.io/en/latest/user-manual/third-party.html