Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Clearly display last sync time on repository and file views #17064

Open
@rrhyne

Description

@rrhyne

Details

Several users have reported questions about the last update time of the repositories and files in their search results. See this Slack thread for a collection of issues:

https://sourcegraph.slack.com/archives/C0HMGV90V/p1609797067109900

Users generally:

  • want to know if the file they are looking at in Sourcegraph is current with its status in their code host
  • want to know if the repository they are viewing was cloned or synced after their last commit

In the case of the repository or file being out of sync, the user:

  • would like to know when the repository will next be synced or alternatively be able to trigger a sync

Proposed solution

This information currently exists on the repository/settings/mirroring and cloning page, but it is only viewable by site admins.

Adding the value from the Last refreshed: time on the file view and on the repository home page will give users more confidence in their search results or the ability to spot an issue with their results.

Consider renaming Last refreshed: to 'Last synced' to be consistent with how this functionality is discussed in the system status notifications.

Additionally, we should consider providing the user with a way to manually trigger a sync. This would reduce friction around our inability to state when the next sync time will occur and facilitate the resolution of their current search requirements.

Type of debt

  • UX - inconsistent experiences throughout the product that negatively impacts the learnability and integrity of the flow

Estimated amount of work

1 day design?
1 day development?

Areas affected

  • Repository pages
  • File view pages

Impact

Affects the user's trust in the accuracy of the data they are viewing

Urgency

If the resolution is to display the sync time only, this could be addressed in 1 to 2 releases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    cp-core-workflowIssues for the Core workflow cross-product workdesign-debtIssues connected to the design debt (please, use 'design debt' template to describe the problem)fpt/p3Nice to have (non critical)fpt/ui-papercutfrontend-platformIssues related to our frontend platform, owned collectively by our frontend crew.needs-designDesign requests - add to 'design priorities' project, add a deadline, if possible..sourcegraph-refinement-bot

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions