Giter Club home page Giter Club logo

Comments (8)

tbabej avatar tbabej commented on August 17, 2024

Interesting approach. I have been planning to solve this problem by adding a :TaskWikiEdit command, so the workflow would be to add the task, save it, and run the edit command, which allows you to add/edit any attribute.

This, however, seems more straightforward, I like it. I'll try to do my best to make both approaches work.

from taskwiki.

tbabej avatar tbabej commented on August 17, 2024

The probem with this, however, is the following:

  • all new tasks entered manually will have the metadata saved and concealed
  • the tasks generated by the viewport would not

This introduces a inconsistency. If we wanted to fix it, we would have to make it configurable (per viewport) what kinds of metadata is to be shown in the tasks generated, which complicates the feature a lot, and is quite close to the taskwiki templating proposal.

Therefore I think we should accept the modstring, but not conceal it - we should make it disappear after applying the changes.

from taskwiki.

tbabej avatar tbabej commented on August 17, 2024

To verify that the changes have been applied, user can just toggle the :TaskWikiInfo command.

from taskwiki.

linuxcaffe avatar linuxcaffe commented on August 17, 2024

most excellent!

from taskwiki.

tbabej avatar tbabej commented on August 17, 2024

Fixed in master.

from taskwiki.

linuxcaffe avatar linuxcaffe commented on August 17, 2024

This feature seems not to be working anymore. After attempting

* [ ] Do this thing -- area:legal

on a new task, taskwiki throws this error;

Error detected while processing BufWrite Auto commands for "*.wiki":
Traceback (most recent call last):
  File "", line 1, in 
  File "/home/djp/dotfiles/vim/bundle/taskwiki/taskwiki/taskwiki.py", line 56, in update_to_tw
    cache.load_vwtasks()
  File "/home/djp/dotfiles/vim/bundle/taskwiki/taskwiki/cache.py", line 170, in load_vwtasks
    self[i]  # Loads the line into the cache
  File "/home/djp/dotfiles/vim/bundle/taskwiki/taskwiki/cache.py", line 77, in __getitem__
    vimwikitask = vwtask.VimwikiTask.from_line(self, key)
  File "/home/djp/dotfiles/vim/bundle/taskwiki/taskwiki/vwtask.py", line 203, in from_line
    modifications = util.tw_modstring_to_kwargs(modstring)[0]

from taskwiki.

tbabej avatar tbabej commented on August 17, 2024

As noted in doc/taskwiki.txt, please update your installation before submitting a bug report to verify it has not been fixed already.

This issue was fixed.

from taskwiki.

linuxcaffe avatar linuxcaffe commented on August 17, 2024

why so it is! thanks!

from taskwiki.

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.