Skip to content

Global Search - Store Recent Item Data

What does this MR do?

Work towards #239384 (closed)

This MR starts the process of storing and showing recently visited Groups and Projects on the Global Search page.

Naturally this is going to be a pretty large change across many files to add support for this. This MR is an attempt at Iteration.

This MR only focuses on managing the data in the LocalStorage object. To keep the data fresh, the plan is to store the items id's and "frequency" number. Then in future iterations we will add the data fetching and ui representation.

Screenshots (strongly suggested)

.mp4 of local storage updating as we use the existing UI

Local_Storage

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • [-] Label as security and @ mention @gitlab-com/gl-security/appsec
  • [-] The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • [-] Security reports checked/validated by a reviewer from the AppSec team
Edited by Zack Cuddy

Merge request reports

Loading