zagortenay333 / cronomix Goto Github PK
View Code? Open in Web Editor NEWAll-in-one timer, stopwatch, pomodoro, alarm, todo and time tracker gnome-shell extension
License: MIT License
All-in-one timer, stopwatch, pomodoro, alarm, todo and time tracker gnome-shell extension
License: MIT License
One feature I really miss from other time trackers I've used is idle detection. When it detects that you haven't been using your computer for a user-specified length of time, it pops up a dialogue asking you what to do. You can either:
Of course this would require a resolution to #5 to be terribly useful, as well as recording explicit start/stop times for each interval.
System: Fedora 27, Gnome 3.26.2
Sometimes if i use the stop watch, stop it, lock the system and then unlock it again, the stop watch is at a completely different time. For example if the stop watch is at 1 h, after i lock and unlock the system the stop watch could be at 14 h.
On Ubuntu 17.10 (Gnome 3.26), installed timepp fresh from git.
Opening the settings dialog yields a stack trace:
Settings<._bind_settings@/home/taf/.local/share/gnome-shell/extensions/timepp@zagortenay333/prefs.js:343:33
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
Settings<._init@/home/taf/.local/share/gnome-shell/extensions/timepp@zagortenay333/prefs.js:48:9
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
_Base.prototype._construct@resource:///org/gnome/gjs/modules/_legacy.js:18:5
Class.prototype._construct/newClass@resource:///org/gnome/gjs/modules/_legacy.js:117:20
buildPrefsWidget@/home/taf/.local/share/gnome-shell/extensions/timepp@zagortenay333/prefs.js:776:20
Application<._selectExtension@resource:///org/gnome/shell/extensionPrefs/main.js:91:22
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
Application<._onCommandLine@resource:///org/gnome/shell/extensionPrefs/main.js:246:17
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
main@resource:///org/gnome/shell/extensionPrefs/main.js:402:5
@<main>:1:43
The error message is unfortunately in German
GLib.ConvertError: Die Adresse »« ist keine absolute Adresse, die das »file«-Schema verwendet
Freely translated it says: the address "" is no absolute address that is using the "file" scheme
Hello,
I really enjoy this gnome-shell
version of todo.txt
time tracking application.
But I think there could be a really nice option
I'd like to start running a task each time I start a pomo.
At the end of my pomo, the task is ended up and the task is marked as completed (x).
As I mark my tasks as daily recursive, they will appear next time.
I find it could be a nice way to proceed a daily chained tasks list.
Let's say I have this tasks :
2018-05-14 learn time_pp due:1d tracker_id: LTPP
2018-05-14 learn todo-cli.txt due:1d tracker_id: LTDC
How can I say to 'pomo' : "run the next uncompleted task fomr task/timetracker and when you'll stop mark this task as completed" ?
Do I have to use the todo-cli.sh
?
Hi, again!
I recently set the keyboard shortcut to search tasks (the one that goes by the label "Open popup menu and search tasks").
When I use the keyboard shortcut (with the popup menu hidden), what seems to happen is that the popup menu appears with the search input focused; then the popup menu's height is updated (and, in my case, the menu becomes scrollable) which causes the search input to lose focus.
If I use the keyboard shortcut whilst the menu is already showing then the menu's height seems to update whilst keeping the search input focused.
This effectively means that I have to use the shortcut twice to be able to search immediately. :)
Once again, thank you for the amazing extension!
GLib.ConvertError: The URI “” is not an absolute URI using the “file” scheme
Stack trace:
Settings<._bind_settings@/home/dario/.local/share/gnome-shell/extensions/timepp@zagortenay333/prefs.js:343:33
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
Settings<._init@/home/dario/.local/share/gnome-shell/extensions/timepp@zagortenay333/prefs.js:48:9
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
_Base.prototype._construct@resource:///org/gnome/gjs/modules/_legacy.js:18:5
Class.prototype._construct/newClass@resource:///org/gnome/gjs/modules/_legacy.js:117:20
buildPrefsWidget@/home/dario/.local/share/gnome-shell/extensions/timepp@zagortenay333/prefs.js:776:20
Application<._selectExtension@resource:///org/gnome/shell/extensionPrefs/main.js:91:22
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
Application<._onCommandLine@resource:///org/gnome/shell/extensionPrefs/main.js:246:17
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
main@resource:///org/gnome/shell/extensionPrefs/main.js:402:5
@
Here is what i have tested:
settings:
done file is specified as "done.txt"
todo file is specified as "todo.txt"
create a task, verify that task exists in todo.txt
log some time on task
check task as done, then clean tasks, make sure to select "archive to done and remove".
task is removed from todo.txt but done.txt is still empty.
BTW, thank you for an awesome plugin!
This option would be very useful. For example one may add tasks 'train with Anki', 'walk out the dog', 'play the piano', 'read news', 'call to mom', 'visit dentist', 'prepare gifts for New Year' etc, and mark them with recurrence.
I mean there are a lot of every day (week-month-years-..) todos that one must keep in mind. So would be great to have tracking of all of these staff. And if one can track, for example birthdays, in calendar apps, it is not handy to track there every-day things for sure.
After I installed the extension from
https://extensions.gnome.org/extension/1238/time/
on Ubuntu 17.10, with GNOME Shell 3.26.1, my desktop become unresponsive and I was not able to click anywhere. The same problem happened with the version currently available on GitHub. I had to delete the folder ~/.local/share/gnome-shell/extensions/timepp@zagortenay333
from the console before I could use the machine again.
Hi,
would it be possible that the number in the status menu shows only the number of items the current filter presents? So that when I have a long todo.txt and filter it down to only priorotized items, that the number in the status menu would show only the number of prioritized items.
Thanks.
For the purposes of sorting by threshold, if a task does not have a threshold date, fall back to using its creation date.
I have found this to be the most useful sort (older threshold -> lower on the list), as it's a form of pseudo-priority (stuff that you've passed the threshold for or added to your list most recently is likely to be at the front of your mind).
An alternative implementation would be to add a toggle to use threshold date as creation date if one exists.
Hi, I was trying to configure the extension with a todo.txt file created by an android app that set its location to a folder named "Simple App". There was no error message, I can select it and in the extension settings everything seems ok, but in the top bar I cannot see my todo, just the "select todo file in settings" message.
A quick fix was to create a link with no spaces on it
Currently (in latest Github master version) pressing enter creates a newline in the task entry. Would be nice if either shift+enter was designated to creating a newline, and enter would add the entered task, or if ctrl+enter was designated to add the task. Thanks!
Hello, would it be technically possible to sync with related GNOME apps?
I mean, for example setting an alarm in this extension could add an alarm to GNOME Clocks and vice-versa. GNOME Clocks has alarm, stopwatch, and timer, IMO this extension would be more useful and helpful if it was a way to access GNOME Clocks features from the panel instead of a separate tool that does the same thing and gives an impression of wanting to reinvent the wheel (I know it's not your goal, and it's not what I think, but it's just what some people could have in their mind using this).
On archlinux with gnome 3.24 on wayland. Not exactly sure how to provide debug logs if this is not enough info to reproduce.
Error Messages:
GLib.ConvertError: The URI “” is not an absolute URI using the “file” scheme
Stack trace:
Settings<._bind_settings@/home/origincode/.local/share/gnome-
shell/extensions/timepp@zagortenay333/prefs.js:343:33
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
Settings<._init@/home/origincode/.local/share/gnome-
shell/extensions/timepp@zagortenay333/prefs.js:48:9
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
_Base.prototype._construct@resource:///org/gnome/gjs/modules/_legacy.js:18:5
Class.prototype._construct/newClass@resource:///org/gnome/gjs/modules/_legacy.js:114:32
buildPrefsWidget@/home/origincode/.local/share/gnome-
shell/extensions/timepp@zagortenay333/prefs.js:776:20
Application<._selectExtension@resource:///org/gnome/shell/extensionPrefs/main.js:91:22
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
Application<._onCommandLine@resource:///org/gnome/shell/extensionPrefs/main.js:246:17
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
main@resource:///org/gnome/shell/extensionPrefs/main.js:402:5
@<main>:1:43
When installing the extension from Github, the extension fails to load with the following message in Looking Glass: TypeError: this.daily_csv_file is null
.
I had briefly installed the extension through the Gnome Extensions website before removing it and installing this one (since the preferences dialogue wouldn't open on that version - I believe the error was "" is not a URL
) just in case that might have caused the error.
Good morning. I have do a french translation of your Time++, here's the po file.
fr.po.gz
I have tried to adapt it as much better, then some translations have a little different sense, for sample time tracker is translated to "traqueur d'activité" ("activity tracker") instead of "traqueur de temps" (I'm not fully sure of this translation...)
Hi! First of all, thank you for this great extension! It looks and works great for me.
I've noticed, however, some interoperability issues with Dash to Panel.
Issues when the panel bar is positioned at the bottom:
Issue when the panel bar is positioned at the top:
I've tested this issues in the latest master branch. They seem to be caused by some manual positioning of the popup menus that you might be doing (I'm not sure about this, it's just my intuition). I have no idea if they are fixable without tying your code to Dash to Dock's or even if fixing them is something you'd be interested in; nevertheless, I thought that an issue listing some incompatibilities that I found may be nice to have. :)
Again, thank you very much for your work!
Hi there,
I really enjoy your extension. Are there any plans for making a standalone applicatio out of it - to make it useable on any DE? It's quite massive and feature packed therefore asking.
There seems to be an issue when opening the TODO dialog using the keybinding. I'm using the Dash to Panel and the Panel extensions. The dialog is being misplaced at the bottom:
normal:
Is there anyway to move up the dialog or to autoadjust similar as to how the message tray does it?
An option to repeat the notification sound for alarm/countdown until user stops it manually will be useful.
I haven't tried to reproduce this on other distributions but in Ubuntu 17.10 x64, I cannot seem to select and save a different sound for the Alarm than "beeps.ogg".
-Right click on Extension in top bar and select: Open Settings
-Select the Alarms tab
-Select a different Alarm Sound
-Note no Save button or any other button than the "X" (Close button) on the top right
-Click Close Button
-Repeat navigation to Alarm Sound area and note, it's now set back to "beeps.ogg"
Hi there, would you be willing to add a sorting criteria to sort tasks alphabetically by their "content"?
My scenario might be slightly unconventional but, among other things, I use Todo.txt to keep track of the shows I watch and at which episode I am for each show. I'd like my sorting to give priority to the name of the show instead of the task creation date, which I have no interest in. It would make it easier to find and edit the "content" (usually update the episode I'm at) of the show I'm looking for.
I.e., I'd like my sorting to be: pin > completed > priority > due date > context > projects > ALPHABETIC > creation date > completion date > recurrence date
(I don't really use recurrence date).
I don't think this should be especially difficult to implement, so I'd be willing to give it a try if you agree.
Thank you very much for your work!
I tested with the Gnome Shell extensions site and with the version of GitHub. The sound and popup doesn't work.
After installing it from gnome extensions, this is the ERROR I am getting when I try to open the preferences
.
I am using GNOME 3.26.
Gtk.BuilderError: /home/rwema/.local/share/gnome-shell/extensions/timepp@zagortenay333/data/prefs.ui:5:1 Required gtk+ version 3.20, current version is 3.18
Stack trace:
Settings<._init@/home/rwema/.local/share/gnome-shell/extensions/timepp@zagortenay333/prefs.js:31
wrapper@resource:///org/gnome/gjs/modules/lang.js:178
_Base.prototype._construct@resource:///org/gnome/gjs/modules/lang.js:110
Class.prototype._construct/newClass@resource:///org/gnome/gjs/modules/lang.js:213
buildPrefsWidget@/home/rwema/.local/share/gnome-shell/extensions/timepp@zagortenay333/prefs.js:776
Application<._selectExtension@resource:///org/gnome/shell/extensionPrefs/main.js:95
wrapper@resource:///org/gnome/gjs/modules/lang.js:178
Application<._onCommandLine@resource:///org/gnome/shell/extensionPrefs/main.js:259
wrapper@resource:///org/gnome/gjs/modules/lang.js:178
main@resource:///org/gnome/shell/extensionPrefs/main.js:397
@<main>:1
Any help will be appreciated.
Hello,
I am completely hopeless here.
My problem is, that after some time of using my pc time++ just stops working, and there is an error icon next to enable toggle in gnome tweaks.
After I reboot my PC, or manually delete extension and add it again, it works again.
Could you help?
First and foremost, thank you for this beautiful extension.
An option to show milliseconds in stopwatch section would come in handy for precise time tracking.
Try adding some task with description "+test123 @test456 this is just a test", you will see the test123 project and the test456 contexts appear in autocompletion. Then add "h:1" to the end of said task; they will no longer appear.
Wanted to bring up two points about this, figured I'd throw them in together, then they can be separated out if needed.
First: a small bug report. When sorting the todo-list by due date ascending, items without a due date are shown first, rather than the expected "most urgent tasks at the top".
Second: a bigger feature request. I've taken to using Simpletask on Android, and I absolutely love the fine-grained sorting system there. Any chance of getting something like that in Time++?
Hi,
it would be nice to have a filter for due-dates (like "due today", "items with a due-date").
Thanks
Hello. How does the time tracker work when dealing with values below 1min:
When I start tracking for a task and stop the tracking after 45 seconds, does the tracker still count those 45 seconds?
Thank you!
I'd like all time related functions (timer, stopwatch, pomodoro, alarm) grouped under 1 icon, but the todo list seperate, however there is currently no way to do that. When I select "Show single icon in panel" the "Show in seperate menu" option on my todo list is ignored. Honoring this setting would really help optimize my scarce panel space.
Hello, thank you for this extension, a must have!
I would like to know if it would be possible to add a setting for people who don't want any color. For example the green todo when you have 0 tasks, stuff like this.
Most system tray items that have a dropdown menu show it whenever the mouse rolls over them while any other dropdown menu is open. Time++ only shows it when you actively click on it.
To see the issue in action:
Is it possible to implement custom presets for Timer?
For example:
I am using the latest Master branch version (12/09/2017) and get an 'error loading extension' in Gnome Shell 3.22.2,
I checked the system journal for the error:
sudo journactl /usr/bin/gnome-shell
and found 1 warnings & 1 error
JS WARNING: [~/.local/share/gnome-shell/extensions/timepp@zagortenay333/extension.js 202]: anonymous function does not always return a value
JS ERROR: Exception in callback for signal: extension-found: SyntaxError: illegal character @ ~/.local/share/gnome-shell/extensions/timepp@zagortenay333/sections/timer.js:34
First of all, great work on the extension.
I'm wondering if this is possible? Being able to open a file related to a task would be quite helpful for those managing a lot of files. I used to do this in Zim Wiki.
Hello, When I left my computer alone for a moment the timeapp is crash. Also gnome-shell throws a segfault.
Sep 30 16:46:40 zero gnome-shell[4329]: Extension "timepp@zagortenay333" had error: TypeError: timepp is null Sep 30 16:46:40 zero gnome-shell[4329]: g_object_ref: assertion 'G_IS_OBJECT (object)' failed Sep 30 16:46:40 zero gnome-shell[4329]: Extension "timepp@zagortenay333" had error: Error: Argument 'file' (type interface) may not be null Sep 30 16:46:40 zero gnome-shell[4329]: Extension "timepp@zagortenay333" had error: TypeError: timepp is null Sep 30 16:46:40 zero kernel: gnome-shell[4329]: segfault at 316436643678 ip 00007fe38f8834d1 sp 00007fff657dc628 error 4 in libgobject-2.0.so.0.5200.3[7fe38f84e000+51000]
See attached .po file.
pt_BR.zip
My system: Ubuntu GNOME 17.04, GNOME Shell version 3.24.2
Steps to reproduce:
Hi,
Just found this extension. Nicely done!
Probably like you, I have several github repos full of issues.
It would be perfect if we could have our todo list fetched from the github repo issues that are assigned to us...
Is there a way to start a timer for a specific task from the command line?
I want to start a timer everytime I switch my workspace.
The extension is formatted like the due date extension, but with t:
as the prefix instead of due:
. Eg, t:2017-09-19
.
Its function is to postpone tasks that you want to appear in your list at a later date. For example, I add my homework for the entire semester, and then set a threshold date for the days it will be assigned. Sorting by threshold date is also super useful (for tasks with no threshold date, use the creation date instead).
If you'd like to play around with threshold dates, the Android app Simpletask has this feature, and it's honestly the best feature of the app (I manage my todo list using it almost exclusively, mostly because of threshold dates).
System: Ubuntu GNOME 17.04, GNOME shell version 3.24.2
Hello :D
Your extension is amazing!
I've found a bug, I don't know if you did know about it.
I start the SW, after some time (sec, min, whatever) I stop the SW and lock the screen. When I get back and start de SW, it start another countdown, from another time.
If I stop it in 01:11:56 > Pause it > Block the gnome > back > start > SW is in 00:45 (for exemple)
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.