johannesjo / super-productivity

Super Productivity is an advanced todo list app with integrated Timeboxing and time tracking capabilities. It also comes with integrations for Jira, Gitlab, GitHub and Open Project.
http://super-productivity.com
MIT License
8.68k stars 753 forks source link

Auto-Conversion of Hashtag-Prefixed Tags to Avoid Duplicates #3035

Closed tempookian closed 3 months ago

tempookian commented 4 months ago

Problem Statement

Currently, when adding tags in the Superproductivity app, if a user prefixes a tag with a hashtag (e.g., "#urgent"), the app creates a new tag (e.g., "#urgent") instead of recognizing it as an existing tag without a hashtag (e.g., "urgent"). This leads to the creation of duplicate, unwanted tags.

image

:grey_question: Possible Solution

Implement a feature that automatically strips the hashtag from a tag name when entered (e.g., "#urgent" becomes "urgent"), and then matches it to an existing tag if one exists, to prevent the creation of duplicate tags.

:arrow_heading_up: Describe alternatives you've considered

An alternative could be a warning or prompt that informs users when they are about to create a tag with a hashtag that matches an existing tag, giving the option to merge with the existing tag or create a new one.

:heavy_plus_sign: Additional context

I appreciate the functionality and user-friendliness of the Superproductivity app. This tag management improvement could enhance user experience and efficiency. Thank you for considering this feature request.

github-actions[bot] commented 4 months ago

Thank you very much for opening up this issue! I am currently a bit overwhelmed by the many requests that arrive each week, so please forgive me, if I fail to respond personally. I am still very likely to at least skim read your request and I'll probably try to fix all (real) bugs if possible and I will likely review every single PR being made (please, give me a heads up if you intent to do so) and I will try to work on popular requests (please upvote via thumbs up on the original issue) whenever possible, but trying to respond to every single issue over the last years has been kind of draining and I need to adjust my approach for this project to remain fun for me and to make any progress with actually coding new stuff. Thanks for your understanding!

Jagdfalke commented 4 months ago

I am confused. What version do you use and what OS are you on? I cannot reproduce your described behaviour with 8.0.0 (neither on Windows nor on Android). If I use the syntax #hashtag a task is always assigned to the existing hastag.

johannesjo commented 4 months ago

I am also unable to reproduce this. Thanks for checking @Jagdfalke !!

tempookian commented 4 months ago

Thank you @johannesjo and @Jagdfalke for checking and my apologies for not being clear enough. I'm using Version 8.0.0 on Linux and here are the steps to reproduce the behavior:

  1. Launch the app.
  2. Navigate to the 'Today' tab.
  3. Right-click on a task.
  4. Select 'Edit Tags'.
  5. Enter a hashtag-prefixed tag, such as #urgent, rather than 'urgent'.

Observed Behavior: The system creates a new tag #urgent.

Suggested Behavior: Prevent the prefix # from being added to the beginning of the tag. Instead:

Jagdfalke commented 4 months ago

Thanks for your clarification. With your detailed description I could reproduce your observed behavior. To be honest, I've never run into this situation, but I second your opinion that it would be better if the hashtag would be ignored in this case.