Code Monkey home page Code Monkey logo

gnome-extension-taskwarrior's Introduction

Taskwarrior access from GNOME Shell

This GNOME shell extension is enabling access to Taskwarrior from the gnome shell taskbar.

Supported Taskwarrior Features

  • Display pending tasks list (default by urgency)
  • Display extended tasks data (due date, project, priority and tags)
  • Add new tasks
  • Mark tasks as done
  • Delete tasks
  • Start/Stop tasks
  • Modify task attributes
  • Filter pending task list on projects, tags, etc ...
  • Custom keybinding to open task list
  • Custom task description string length

Upcoming Features

  • Page system when too many tasks to display on screen
  • More customization through preferences menu
  • More keybindings

Screenshots

taskwarrior gnome shell extension.

taskwarrior gnome shell extension 01

taskwarrior gnome shell extension 02

taskwarrior gnome shell extension 03

Usage

The usage is similar to taskwarrior command line syntax without the need to the "task id cmd" prefix. To add a task just enter the description and extra attributes if needed inside the "Add task" field. For instance:

Edit extension usage in github README prio:H due:today +gnome

It will add a task with description "Edit extension usage in github README", priority H, tag "gnome" and due date set to today.

The pending task list can be filtered using the "Add filter" field. The filter field is persistent. For instance for filtering all the task belonging to a specific project "gnome-extension":

proj:gnome-extension

When the task is done, simply click on "done" button. The task can be started and stopped if fitting your workflow.

By clicking on the description, a submenu will be displayed allowing to "delete" or "modify" that specific task. For instance to modify the due date to next monday, click on "modify" button and enter in the modal window:

due:monday

The extension was developped primarily to support my own TODO workflow trying to keep the unobtrusive quality of taskwarrior. Any improvement idea is welcome.

Installation

From gnome extensions website

The extension is available from the extensions.gnome.org website. Visit the following link for instructions.

https://extensions.gnome.org/extension/1052/taskwarrior-integration/

From source

The extension can be installed directly from source, either for the convenience of using git or to test the latest version.

Clone the desire branch with git

git clone https://github.com/sgaraud/gnome-extension-taskwarrior.git \
~/.local/share/gnome-shell/extensions/[email protected]

A Shell reload is required Alt+F2 r Enter and extension has to be enabled with gnome-tweak-tool

Configuration

Configuration option currently available with gnome-tweak-tool.

taskwarrior gnome shell extension preferences.

taskwarrior gnome shell extension preferences

Dependencies

Taskwarrior V2.3.0 or higher ❗ Make sure Taskwarrior is installed on your system.

Bug Reporting

😅 Bugs should be reported to the Github bug tracker issues.

Author

  • sgaraud (Sylvain Garaud)

License

Copyright (C) 2016 Sylvain Garaud

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

gnome-extension-taskwarrior's People

Contributors

mcku avatar sgaraud 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

gnome-extension-taskwarrior's Issues

Support for context

Hello,

I have two different task lists that I use in parallel using the contex command.

# task context work
Context 'work' set. Use 'task context none' to remove.
# task list
ID Age Due        Description                    Urg 
 5 11d 2016-09-27 Answer to John                 2.1
1 task

And when I switch to my personal list:

# task context perso
Context 'perso' set. Use 'task context none' to remove.
# task list
ID Age Due        Description                    Urg 
 6 8d 2016-10-01 Pay the bill                   2.1
1 task

When I install this extension, all my tasks are displayed on a unique list which is not pratical.
Is there a way to at least only show/force one context even if there is no simple GUI to switch back and forth ?

Thanks
Alphazo

Feature request: sync

Thanks for this extremely useful gnome extension!
Would it be possible to incorporate a "sync" button that performs a synchronization with the task server?

Text is unreadable when using bright Adapta theme

As you can see an the screenshots, when using the brigt variant of Adapta (non-Nokto), the properties of tasks are unreadable. This shouldn't be an issue of Adapta, because everything else is behaving fine.

tooltip_001
tooltip_002

gnome-shell segfault on menu opening

On my system, with gnome-shell 3.22 on Ubuntu (gnome3-staging ppa), clicking on the taskwarrior icon a second time (to close the menu) causes gnome-shell to crash:

segfault at 0 ip 00007f98802a653a sp 00007ffe81e2bb48 error 4 in libc-2.24.so[7f9880206000+1bd000]

The first click (to open the menu) works fine. It's the second click (to close it) that causes the crash. This issue may be due to the fact that I'm running the staging version of gnome-shell and not due to the taskwarrior extension itself; but I thought I'd mention it anyway. This version of gnome-shell is otherwise stable on my system (ie.no other extensions cause it to crash).

No Line Break with long task description on Multi Monitor setup

Hey there. First thx for your great extension!

Setup
I am heavily using taskwarrior for my task organisations and also documentation (via annotations). My setup: Fedora 24, Gnome 3.20 and 3 Monitors.

Monitor-Setup:
| LEFT-Monitor | CENTER-Monitor (Primary) | RIGHT-Monitor |

Problem
When there is a long task description the Window of your addon is spawning all over my main screen and the screen left of it because you raising the windows size with the task description length. Maybe limit the printed description and make linke breaks.

| LEFT-Monitor | CENTER-Monitor (Primary) | RIGHT-Monitor |
-------------------------------- WINDOW ----------|

Gnome TaskWarrior extension fails to load after upgrade to Fedora 30

I updated my system from Fedora 29 to Fedora 30.
After that the Gnome TaskWarrior extension fails to load.

RPM: gnome-shell-extension-taskwarrior-4.0-4.fc30.noarch

Gnome-tweaks displays an exclamation sign, with "Error loading extension".
Gnome Looking-glass shows these lines:
TypeError: this._construct is not a function
TypeError: _indicator is undefined
TypeError: this._construct is not a function

If more (debug)info is needed, please let me know.

Egon

Doesn't work with Gnome 3.36.1

Upgraded to Gnome 3.36.1 and now I'm getting "Error loading extension" in Gnome Tweaks.

I would just try and upgrade the code myself, but I'm not sure how to debug this?

Stop task when screensaver is activated

If taskwarrior is used in combination with timewarrior it is IMHO very helpful to stop the active task in case the screensaver gets manually activated, or if it gets activated after idle time, to not confuse timetracking.

I certainly see reasons to let the current task active. In the end its up to the user to decide how idle time should be handled. In my case nothing has to be tracked.

Translation junk in several dialogues

In gettext translation files, it is customary to store information in an empty string (""). There are a few such strings used in this extension, which then displays this information in the interface.

An example is the 'modify task' dialogue.

Number of tasks over a certain urgency/due date range

I like having a number in the bar to see how many tasks I need to be worried about. I'm not sure what the best solution is (perhaps have a certain set of filters or something), but I'd like to see something before clicking the menu button.

Added tasks are not quoted

If the task contains a ' adding will fail because the string is not quoted according to gnome-shell:

org.gnome.Shell.desktop[1986]: GLib.ShellError: Text endete, bevor ein passendes Anführungszeichen für ' gefunden wurde. (Der Text war »task add Xen's qdisk«)

Creating the same task with tasknc works.

No tasks listed

After installing the extension no task are listed even if I've got 6 active tasks.
bildschirmfoto von 2016-03-12 10-34-04

gnome-shell segfaults when closing the extension menu

Scenario:

  1. Click on the taskwarrior extension icon
  2. click again to close it
  3. gnome shell segfaults

log entry:

juin 20 16:33:03 38-billcipher kernel: gnome-shell[3078]: segfault at 0 ip 00007f38b9718b5a sp 00007ffea36bb0e8 error 4 in libc-2.23.so[7f38b967a000+1c0000]

my system: ubuntu 16.04, using Ubuntu GLIBC 2.23-0ubuntu3
extension: latest git commit d619b7b

The issue is not reproducible if I use the key binding to open/close the menu
If I exit the taskwarrior menu by hovering away the mouse on another top panel entry, I can click normally

Adding a new task with existing filter should use the filter

Hello,

Thanks for creating and maintaining this extension :)

I wish that when adding a new task with an existing filter, the new task would use the filter.

  1. Enter filter "+home"
  2. Add new task "tune_piano"

What happens now: the new task "tune_piano" is not visible in the filtered tasks
What I wish: the new task "tune_piano" is visible in the filtered tasks (because when adding the new task, it was already adding the filter "+home" as well)

Best,

Color coded listing of tasks

Hi,

Is it possible to have the tasks colored based on the priority? That would be a great feature for tasks to stand out among a big list.

Can't disable task shortcut

From the preferences, I can't disable the shortcut. Pressing backspace at the key prompt resets it to Ctrl-F8

No Screenshots - broken link

In your READNE.md, you have a link that apparently was meant to link to screenshots -- https://github.com/sgaraud/gnome-extension-taskwarrior/blob/master/taskwarriorgnomeshell.png?raw=true -- but that's a 404 broken link.

Which is a shame because there aren't any other screenshots I can find, either here at github or over at the gnome extensions page. And since there is another TaskWarrior extension -- i.e. TaskWhisperer https://github.com/sgaraud/gnome-extension-taskwarrior/blob/master/taskwarriorgnomeshell.png?raw=true -- screenshots would be really useful, to help potential users (such as myself) see what's different with this extension, whether it would make sense to install it along side the other one, or instead of the other one, or not at all.... if you see what I mean.

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.