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

Add Context To Search Results #13365

Open
amartin3225 opened this issue Nov 4, 2019 · 2 comments
Open

Add Context To Search Results #13365

amartin3225 opened this issue Nov 4, 2019 · 2 comments
Labels
area: search UX UX improvements to an existing workflow.

Comments

@amartin3225
Copy link

Currently when reviewing search results, it is not always clear which result is the one you want because there is no context surrounding the matched message. It would be useful if search results would show several lines before and after each match (e.g. similar to grep -C 10 <search-string>)

@zulip zulip deleted a comment from mayakhanna4 Nov 20, 2019
@zulip zulip deleted a comment from zulipbot Nov 20, 2019
@timabbott
Copy link
Sponsor Member

I think this would be a good feature in line with our vision.

This would be somewhat complicated to implement; it'll require at least:

  • Backend work to fetch the relevant nearby messages. It may be nearly impossible to efficiently fetch the data desired for this as a single bulk query, so we'd likely end up needing to write a loop to fetch adjacent messages (making it slower than other, but potentially still usable).
  • Frontend work to make the UI able to display these results in a sensible way.

I don't think this is ready for a contributor to work on; the backend design in particular needs to be done by a core team member before one will be able to make effective progress on this.

@zulipbot
Copy link
Member

Hello @zulip/server-search members, this issue was labeled with the "area: search" label, so you may want to check it out!

@Gittenburg Gittenburg added the UX UX improvements to an existing workflow. label Jul 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: search UX UX improvements to an existing workflow.
Projects
None yet
Development

No branches or pull requests

4 participants