GitTrends icon indicating copy to clipboard operation
GitTrends copied to clipboard

Renamed repo show as duplicate entries.

Open egvijayanand opened this issue 3 years ago • 1 comments

Describe the bug Renamed repositories show as duplicate entries. The items in the cache need to be revalidated against the server response on refresh.

To Reproduce Steps to reproduce the behavior:

  1. Sync with a GitHub account in the App (facing this issue on Android)
  2. Now rename a repo in the GitHub
  3. Open the GitTrends app and force fresh to bring in new data
  4. Both the original and the renamed repo show up in the list

Expected behavior Ideally, the original repo should have been removed from the list and only the renamed repo should be shown.

Screenshots Kindly refer to the attached one.

Desktop (please complete the following information):

  • OS:
  • Browser:
  • Version:

Smartphone (please complete the following information):

  • Device: Nokia
  • OS: Android 10
  • Browser: Chrome
  • Version v2.5.4 (app version)

Additional context

egvijayanand avatar Nov 07 '22 13:11 egvijayanand

Screenshot:

The one on the top of the list is the renamed repo and below that is the original one.

GitTrends-Repo-Rename-Issue-1

egvijayanand avatar Nov 07 '22 13:11 egvijayanand