Search for issues that you've recently looked at
Problem
A very common use case for searching for issues and merge requests is trying to find something you know you recently looked at. Usually people will use Gmail search or hope that Google chrome URL bar remembers it by typing a few keywords. These options all have their own challenges as they are not purpose built for this task.
Solution
There should be some way to search for issues or merge requests which is ordering results based on how recently you looked at the document.
Ideally you would get some search box which has a bunch of auto completed issues/merge requests list below which is just an ordered list of the most recently viewed issues/merge requests and as you type we start filtering down that list.
This could just be incorporated as part of the existing auto complete features in our current search bar.
Technical notes
Frontend approach
We could actually save on storage here by doing this entirely in the frontend. Javascript could save the recently viewed issues/MRs in local storage and filter down that list. It would be very performant and cost GitLab nothing. It also may be preferable to users as it involves less tracking.
Backend approach
We currently don't store anywhere the last MRs a user has viewed. We'd need some data model for this. It could be quite expensive storage but we'd obviously want to limit this to a small number of issues/merge requests and expire it after a period of time (eg. 30 days).
This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.