feat: cleanup unused tags #232

Closed
opened 2025-11-11 14:12:36 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @explorigin on GitHub (Jan 26, 2024).

Is your feature request related to a problem? Please describe.
The tag interface is not obvious. I was clicking around and ended up creating a tag that didn't apply to any of my chats. Now I have a tag in the nav drawer that won't go away and doesn't describe any of my chats.

Describe the solution you'd like
Provide a way to curate unused tags or (even better) automatically clean them up periodically. Some documentation around the tag feature (or tooltips) would be nice.

Describe alternatives you've considered

  • Ignore the extra tags - Call it OCD, I like my interfaces to be clean and relevant
  • Go into the DB and manually remove them - "ain't nobody got time for that"
Originally created by @explorigin on GitHub (Jan 26, 2024). **Is your feature request related to a problem? Please describe.** The tag interface is not obvious. I was clicking around and ended up creating a tag that didn't apply to any of my chats. Now I have a tag in the nav drawer that won't go away and doesn't describe any of my chats. **Describe the solution you'd like** Provide a way to curate unused tags or (even better) automatically clean them up periodically. Some documentation around the tag feature (or tooltips) would be nice. **Describe alternatives you've considered** - Ignore the extra tags - Call it OCD, I like my interfaces to be clean and relevant - Go into the DB and manually remove them - "ain't nobody got time for that"
Author
Owner

@justinh-rahb commented on GitHub (Jan 26, 2024):

This feels like a bug of some kind, certainly unintended behaviour at the least. If there's no chat with a given tag in the chats list, the tag should be automatically deleted. IE if the last chat with a given tag is deleted, the tag should be deleted too.

@justinh-rahb commented on GitHub (Jan 26, 2024): This feels like a bug of some kind, certainly unintended behaviour at the least. If there's no chat with a given tag in the chats list, the tag should be automatically deleted. IE if the last chat with a given tag is deleted, the tag should be deleted too.
Author
Owner

@explorigin commented on GitHub (Jan 26, 2024):

I don't mind calling a bug. It's a matter of perspective since only the UX is mildly broken on a non-critical feature.

@explorigin commented on GitHub (Jan 26, 2024): I don't mind calling a bug. It's a matter of perspective since only the UX is mildly broken on a non-critical feature.
Author
Owner

@tjbck commented on GitHub (Jan 27, 2024):

Hi, Thanks for the suggestion! For now, you should be able to remove the unused tag from the sidebar by adding the tag to a random chat and removing it from the chat. Also, Feel free to make a PR!

@tjbck commented on GitHub (Jan 27, 2024): Hi, Thanks for the suggestion! For now, you should be able to remove the unused tag from the sidebar by adding the tag to a random chat and removing it from the chat. Also, Feel free to make a PR!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#232