Skip to content

add last synced icon to results

Warren Gifford requested to merge cc/last-synced-icon into main

Created by: camdencheek

This PR implements the "last synced" icon as designed here.

The purpose of this icon is to provide users a way to know, at best, how recent their results are. Users should never see results for code that is pushed after that date.

Fixes #22255 (closed) cc @rrhyne

This PR:

  • Adds the last-synced icon to the each result type in the top right corner
  • Adds hover data so when users hover over the icon, they will see the last-synced time for the repo the result belongs to
  • Updates the spacing for the result header items on the right so the right side of the header is aligned with the right side of the icon.

Hover: Screen Shot 2021-08-30 at 13 08 58

Path matches: Screen Shot 2021-08-30 at 12 28 31

Content matches: Screen Shot 2021-08-30 at 12 28 55

Repository matches: Screen Shot 2021-08-30 at 12 29 14

Symbol matches: Screen Shot 2021-08-30 at 12 29 30

Commit matches: Screen Shot 2021-08-30 at 12 30 00

Diff matches: Screen Shot 2021-08-30 at 12 30 13

Single-line commit matches (see what I mean about how padding is different on commit/diff matches?): Screen Shot 2021-08-30 at 12 30 49

Scrolling: https://user-images.githubusercontent.com/12631702/131390817-324fc39b-63b5-4bfd-9ab7-fba755240d73.mov

Merge request reports

Loading