Comments (5)
I'll close this issue, but feel free to reopen it if there is any progress.
from utt.
Thanks @privong, let me think about it and I'll get back to you soon.
from utt.
I had missed the -c COMMENT
option to utt add
; I don't think I can directly use this to address my need, but it might also be possible to incorporate this additional layer of tagging into the Activity comment(s).
from utt.
Hi @privong, I can see that a labels/tags feature can be useful to some people. However, I'm not sure how popular it would be and how it should be reported in the report view. So I propose that you start with a plugin, then you test it for a little while (and maybe by others too), and then we add it to utt if it's a success (with a config flag that allows to enable/disable it).
Note that I've just merged a PR that allows overriding the report view from a plugin. So you can create your plugin by using utt's public api. You can see an example here how I overrode the report view in the tests: https://github.com/larose/utt/blob/master/test/integration/utt_example_plugin/utt/plugins/report_view.py
As for the syntax, I prefer:
$ utt add "project-1: widget-1 design [meeting]"
Unfortunately, the plugin system doesn't currently allow this kind of changes to utt, but what you can do, in the meantime, is to add the labels/tags as a comment. Example:
$ utt add "project-1: widget-1 design" -c "[meeting]"
Then, your plugin will be able to parse the comment of each activity.
I think the plugin should output a new section between the projects and activities sections.
Please let me know what you think.
from utt.
@larose Sounds good. Thanks for looking at this and giving it some thought. I agree that the bracketed tagging syntax seems like the better option. Thanks for pointing me to the report-override plugin example.
I'll poke at this and will do a PR once I have something worth looking at. I'm not sure what that timeline will be though. I'll keep this issue open, in case you or others want to chime in with more thoughts.
from utt.
Related Issues (20)
- Feature request: "per_task" type of CSV report HOT 3
- Working with utf8 coding to represent german characters. HOT 3
- Add a flag to display 'Details' section when running `report --from<> --to<>` HOT 1
- Git-based version of utt HOT 3
- OSError: [Errno 22] Invalid argument (When deleting content of report-file) HOT 1
- Report for "one month" HOT 1
- Some individual integration tests fail
- Feature request : report a date HOT 6
- Problem when using incorrect python version HOT 3
- Python version requirements HOT 4
- Export working times in excel sheet HOT 2
- Allow spaces in project names? HOT 2
- Relax pytz requirement? HOT 10
- end day HOT 3
- Show total time HOT 2
- stretch --merge option HOT 2
- Why doesn't the Activity Report account for time spent in tasks started in the previous day? HOT 3
- Configurable log location HOT 6
- Uncaught exception when date in wrong format HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from utt.