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 color fg/bg based on column value #552

Open
borjasanlei opened this issue Apr 22, 2024 · 0 comments
Open

Task color fg/bg based on column value #552

borjasanlei opened this issue Apr 22, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@borjasanlei
Copy link

borjasanlei commented Apr 22, 2024

Description

TW and TW-TUI let the user to extend it using UDAs and custom filters. By saving filters as contexts, or by setting non-visible UDAs for quick filtering, one can work with 'views' as in a MVC application. This gives the user virtually infinite features with minimal coding effort.

Right now the user can configure certain global colors depending on predefined values (e.g. +next tag, scheduling, dependencies, due dates...). However, these are predefined (few fields are allowed) and precomputed (the state is computed on runtime but the color and field cannot be changed on runtime).

In addition, TW-TUI acts a as a frontend so for experienced users, complex functionalities could be built using only tw UDAs and filters, but this cannot be translated into different colors in the TW-TUI.

As an example, one could

Solution

Colors (fg/bg) could be based on the value of a configurable UDA column

Additional context

If no configuration is provided work as it is working now

@borjasanlei borjasanlei added the enhancement New feature or request label Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant