zulip / zulip

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
https://zulip.com
Apache License 2.0
21.33k stars 7.74k forks source link

support for hashtags #2329

Open hrotkogabor opened 7 years ago

hrotkogabor commented 7 years ago

It would be a very nice to have the feature, to be able to add tags with hash mark. Like here in github, if I add a tag like #bug in the text, it can be clicked to see all the messages that contains this tag. I think that it is very similar to the function of 'mentions'.

timabbott commented 7 years ago

Interesting idea; there's some potential conflicts with other features that we'd need to think about (specifically auto-linkification of #streamName to the stream and our "realm filters" to auto-linkify things like #123 to bug 123 in a bug tracker).

This would just be a faster alias to searching for #bug in the search bar at the top of the page?

hrotkogabor commented 7 years ago

I think of it like mentions, but here I can write anything after the #. There could be a new menu in the top left box to list the posts that includes the tag. e.g.: Private Messages

HashTags

Clicking on HashTags/documentation would list all the posts including the tag #documentation.

brainwane commented 7 years ago

A lightweight way to tag messages is also being discussed in #1901.

If we really don't want to use # because that would clash with linking to streams, then we could choose a different character, like !.

xeruf commented 1 year ago

Honestly I don't see a problem clashing with streams - if there is a stream with the name, link to it, if there isn't, link to the appropriate search query. I would rather avoid introducing extra unintuitive characters. Maybe this as well as the auto-linkification of streams could be implemented as default linkifiers, thus they could be disabled and adjusted to fit to the community.