Giter VIP home page Giter VIP logo

Comments (5)

larose avatar larose commented on May 21, 2024 1

I'll close this issue, but feel free to reopen it if there is any progress.

from utt.

larose avatar larose commented on May 21, 2024

Thanks @privong, let me think about it and I'll get back to you soon.

from utt.

privong avatar privong commented on May 21, 2024

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.

larose avatar larose commented on May 21, 2024

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.

privong avatar privong commented on May 21, 2024

@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)

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.