igrybkov / alfred-focus-on-work Goto Github PK
View Code? Open in Web Editor NEWAlfred workflow to remove distractions and focus on your tasks
License: MIT License
Alfred workflow to remove distractions and focus on your tasks
License: MIT License
Depends on ability to manipulate with workflow settings (#47)
Pomodoro reminder depends on #1 where reminder functionality should be added
Potentially crosses with task pausing implementation (#48) - at least they should be checked together
The current library has some bugs which are limiting usage of taskpaper format.
Talk to @people(igrybkov) to find a solution
Add ability to pause a task execution and restore time settings from the same point where they've been before a task was paused
Seems like this library has much better API. It is worth to think about migration.
To changes various settings used in the workflow it's nice to a command-line interface since it could be used in the automation scripts.
Add time steps equivalent to 5 minutes for time < 1h
Provide documentation on all possible environment variables to customize the app
Related to #8
The issue is reproducible on version v0.1.1
Add ability to change workflow settings through Alfred interface
This action would require several events:
ShowSettingsItems
ShowSettingOptions
AddConfigurationValueToSet
RemoveConfigurationValueFromSet
RemoveConfigurationValue
SetConfigurationValue
menu:settings
- prints all settingsmenu:setting-options <settings-menu-item>
- prints options for chosen configurationsettings:set <path> <value>
- sets value to the configurationsettings:add <path> <value>
- adds value to the set of values in the configurationsettings:remove <path>
- removes value from the configurationsettings:remove-from-set <path> <key>
- removes value from the configurationFor each item:
settingPath
- a path of the settingsettingPath
- path of the settingsettingValue
- chosen valuesettingAction
- either set
, add
or remove
action. If ommited, add
used by defaultnextAction
environment variableAdd matches to allow quickly jump to the desired value, like '10m', 'pomodoro', 'hour', '1.5h'
For now, if a task inside a project which is the task itself, the dash sign is shown in the project breadcrumbs (subtitle)
Use "Stop sign" as an icon, use task title as menu title and move action test "Stop current work" to subtitle
Like, last 3 tasks you were working on
Allow overriding configuration settings from environment variables if they're set. This would allow to configure an app through Alfred environment variables without touching command line
The answer "Yes" should be second in menu ;)
Like multiple taskpaper files or several Jira instances.
Allow to use multiple Jira instances
God knows how I hate Makefiles with their weird syntax and irrational behavior like any new line resets the context (workdir, for example), but commands in the same line share the context.
To get rid of makefiles, we need to migrate to another scripting platform. Runjs looks good for this role: https://github.com/pawelgalazka/tasksfile/tree/runjs
Also, when the task started this way, "Continue work" menu still shown instead of "Stop current work"
The goal is to move control logic from the app.js
to modules instead. This should give modules some flexibility in making decisions whether to show something or not and in which way.
There are two options to design such behavior:
app.js
check for a function and if it present then calls itAnyway, for each command, all arguments must be passed through event/function arguments and the module decides whether to add anything to output or not.
Caching for a small amount of time (3-10 seconds) would increase performance for menu navigation
Generate uuid for each process started by Alfred and, when starting a job, persist that process in config.
When execution is finished, if saved uuid is the same as in the session, then stop an execution, otherwise, do nothing.
For the second case, you could start a web-server which would accept redirect.
This extension doing this: https://github.com/lox/alfred-github-jump
https://developer.github.com/v3/issues/#list-issues
https://github.com/octokit/rest.js
Unlinking happens when application switched between dev-release versions, upgraded or removed.
During this action, alfred-unlink
removes a directory which had workflow settings inside.
This behavior really annoying and should be avoided. A possible fix is to inline that module and fix it in place. Another fix is to patch it during install.
alfred-unlink
Before relying on an app (for example, showing tasks for TaskPaper or starting tracking in Timing) check whether an app is available.
It's nice to have all the tasks listed at the end of the main menu to use search and start work immediately.
Make this option configurable through settings
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.