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

Only show the first line of multi-line tasks in the task list #693

Open
dlaidig opened this issue Mar 27, 2024 · 3 comments
Open

Only show the first line of multi-line tasks in the task list #693

dlaidig opened this issue Mar 27, 2024 · 3 comments

Comments

@dlaidig
Copy link

dlaidig commented Mar 27, 2024

Feature Request

What problem does it solve?

Sleek supports creating tasks that consist of multiple lines and encodes the newlines as DLE in the todo.txt file. However, the newlines only seem to have some effect in the task editor. In the task list, they are just shown as spaces and the entire content of the multi-line task is just put in one line. If there are long task descriptions, the task list becomes very cluttered.

I think it would be a lot better if only the first line is shown in the task list (with some kind of indicator that there is more content).

This issue goes in the direction of #510 but is a lot simpler with a much narrower scope. I hope that makes it relatively easy to implement. I would be really really glad to see the multi-line feature becoming useful for my use case in the near future. 😃

How does the user interface change to accommodate this request?

There are a few ways of implementing this, so I'll try to give some suggestions. As long as by default only the first line of text is visible in the task list, I'm happy.

  • The probably fastest implementation would be to show a badge (like for due text, possibly with just "..." as the content) that indicates that some content is missing. To see the full text, you can just click on the task and open it in the editor.
  • Clicking on the "..." badge could also open a dialog with the full text.
  • A bit nicer would be a way to expand the text within the task list, e.g., with some < / v arrow button. When expanding the item, the newlines should probably be rendered as newlines instead of spaces.
@dlaidig
Copy link
Author

dlaidig commented Jun 12, 2024

@ransome1 Is this something that aligns with your vision of sleek and that you might be willing to implement someday? Or is this a feature you don't agree with?

I understand that your time is limited and this message is absolutely not intended to push for getting this feature implemented sooner. I am really just curious what you think about my idea and if I maybe also totally misunderstood how the multi line feature was intended to be used.

@ransome1
Copy link
Owner

@dlaidig I am afraid that I can not contribute any time towards sleek at the moment and also in the near future, since my private situation has changed. Unless somebody else contributes something like this, please don't expect it any time soon. I wish I could give you a bit more optimistic news.

@dlaidig
Copy link
Author

dlaidig commented Jun 12, 2024

Like I said, I didn't mean to push, I just wanted to ask if the feature I described sounds reasonable to you or if it conflicts with your idea of how sleek should work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

2 participants