Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task UDAs cannot be contracted #3612

Open
vanya-robertson opened this issue Aug 30, 2024 · 0 comments
Open

Task UDAs cannot be contracted #3612

vanya-robertson opened this issue Aug 30, 2024 · 0 comments
Labels

Comments

@vanya-robertson
Copy link

Background information

I ran task 80 mod est:5h
I have estimate as an UDA with type duration in my config:

uda.estimate.type=duration
uda.estimate.label=Estimated Time

I expected estimate to change from its existing value to 5h.
Instead, the task was renamed to "est:5h"

task diag:

task 3.1.0
   Platform: Linux

Compiler
    Version: 14.2.1 20240805
       Caps: +stdc +stdc_hosted +LP64 +c8 +i32 +l64 +vp64 +time_t64
 Compliance: C++17

Build Features
     Commit: 5c6cc3e52
      CMake: 3.30.2
    libuuid: libuuid + uuid_unparse_lower
 Build type:

Configuration
       File: /home/jcrtf/.config/task/taskrc (found), 5948 bytes, mode 100644
       Data: /home/jcrtf/.local/share/task (found), dir, mode 40755
     TASKRC: /home/jcrtf/.config/task/taskrc
   TASKDATA: /home/jcrtf/.local/share/task
         GC: Enabled
    $EDITOR: nvim
Hooks
     System: Enabled
   Location: /home/jcrtf/.local/share/task/hooks
     Active: on-modify.timewarrior  (executable)
   Inactive: on-add.trackwarrior    (not executable) (symlink)
             on-modify.timetracking (not executable)
             on-modify.trackwarrior (not executable) (symlink)

Tests
   Terminal: 264x73
 Broken ref: Scanned 1691 tasks for broken references:
             No broken references found

Feature request

  • Could task uda contraction be implemented?
  • This would constitute contractions of unorphaned UDAs (eg. estimate: -> est:) being processed in the same way other attributes are, such as priority: -> pri:
  • It would streamline adding and editing tasks.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Backlog
Development

No branches or pull requests

2 participants