mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
feat: cleanup unused tags #232
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
@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.
@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.
@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!