Skip to content

Global Search - Inflate Recent Items

Zack Cuddy requested to merge 239384_03-global-search-inflate-recent-items into master

What does this MR do?

Work towards #239384 (closed)

This change adds logic to inflate the Group and Project data stored in localStorage for Global Search. We store the inflated dat in localStorage and then in the background freshen the data up once the user hits the page.

Following this MR we will add the change to represent this data in the UI.

Screenshots (strongly suggested)

Groups LS -> Inflate -> LS

Load from LS Inflate from API Store in LS (on select)
Group_LOAD Group_Inflated Group_STORE

Projects LS -> Inflate -> LS

Load from LS Inflate from API Store in LS (on select)
Project_Load Project_Inflate Project_Store

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