Trevin Chow and Neil
abfe9bd329
Default repo avatars to the GitHub upstream owner and flag forks ( #4522 )
...
* Default repo avatars to the GitHub upstream owner and flag forks
Make the GitHub owner avatar the default repo icon and surface it as the
primary choice in the icon picker (the "Image" tab becomes "Avatar",
moves first, and opens by default). For forks, resolve the upstream/
parent owner so the avatar reflects the source repo instead of the
personal fork, and show a fork indicator (GitFork glyph + "Fork of
owner/repo" tooltip) next to the repo in the sidebar and settings.
Fork detection prefers the offline `upstream` remote, falling back to a
`gh repo view --json isFork,parent` lookup; the resolved upstream is
stored on the repo. Existing repos self-correct via a one-time startup
backfill (local repos) and a lazy backfill when their icon settings open
(SSH repos); new repos resolve at add-time. Reset now restores the
default (re-detecting the upstream) instead of clearing to the Folder
icon.
* Harden repo upstream avatar handling
---------
Co-authored-by: Neil <4138956+nwparker@users.noreply.github.com >
2026-06-02 20:55:35 -07:00
..
2026-05-31 06:49:05 -07:00
2026-05-31 05:13:38 -07:00
2026-05-31 06:40:02 -07:00
2026-05-31 06:40:19 -07:00
2026-05-31 05:19:39 -07:00
2026-05-31 11:02:56 -07:00
2026-05-31 11:02:56 -07:00
2026-06-02 15:28:34 -07:00
2026-05-31 06:40:02 -07:00
2026-05-30 11:16:44 -07:00
2026-06-02 18:10:31 -07:00
2026-06-01 20:01:03 -04:00
2026-06-01 12:36:16 -07:00
2026-06-02 01:41:34 -04:00
2026-05-30 16:33:09 -07:00
2026-06-02 18:10:31 -07:00
2026-05-31 06:40:02 -07:00
2026-05-31 10:10:52 -07:00
2026-05-30 13:24:20 -07:00
2026-05-31 10:24:32 -07:00
2026-05-31 06:40:02 -07:00
2026-06-02 00:11:56 -07:00
2026-05-16 14:36:46 -07:00
2026-05-31 06:49:05 -07:00
2026-05-31 06:40:02 -07:00
2026-05-31 08:42:45 -07:00
2026-06-02 14:58:33 -07:00
2026-05-31 11:02:56 -07:00
2026-06-02 20:55:35 -07:00
2026-05-31 10:48:43 -07:00
2026-05-31 06:40:02 -07:00
2026-05-31 07:17:50 -07:00
2026-06-02 20:55:35 -07:00
2026-06-01 19:04:04 -07:00
2026-05-21 19:10:16 -07:00
2026-04-20 19:41:12 -07:00
2026-06-02 21:17:20 -04:00
2026-06-01 15:14:15 -07:00
2026-06-01 21:20:15 -07:00
2026-05-31 05:55:04 -07:00
2026-05-30 11:05:58 -07:00
2026-05-30 02:46:28 -07:00
2026-06-02 21:20:13 -04:00
2026-06-02 18:10:31 -07:00
2026-05-31 10:25:18 -07:00
2026-05-31 10:42:03 -07:00
2026-05-31 21:31:54 -07:00
2026-06-02 13:15:47 -07:00
2026-05-31 15:13:15 -04:00
2026-05-31 11:13:50 -07:00
2026-06-02 20:55:35 -07:00
2026-06-01 20:01:03 -04:00
2026-05-31 03:32:27 -07:00
2026-05-31 09:04:13 -07:00
2026-05-30 13:26:48 -07:00
2026-05-31 16:24:35 -04:00
2026-06-01 15:54:08 -07:00
2026-06-02 16:54:11 -07:00
2026-05-30 13:07:44 -07:00
2026-05-31 04:26:26 -07:00
2026-05-30 12:44:04 -07:00
2026-06-02 15:28:34 -07:00
2026-05-18 14:09:21 -07:00
2026-05-18 14:09:21 -07:00
2026-05-18 14:09:21 -07:00
2026-05-25 15:07:40 -07:00
2026-05-30 21:20:37 -07:00
2026-04-19 12:09:32 -07:00
2026-05-15 23:52:37 -07:00
2026-05-30 15:26:11 -04:00
2026-05-30 15:26:11 -04:00
2026-05-18 14:43:24 -07:00
2026-05-31 05:05:58 -07:00
2026-05-31 05:05:58 -07:00
2026-06-02 16:54:11 -07:00
2026-05-30 09:04:52 -07:00
2026-05-30 09:04:52 -07:00
2026-05-30 09:04:52 -07:00
2026-05-30 09:04:52 -07:00
2026-06-02 20:55:35 -07:00
2026-06-02 20:55:35 -07:00
2026-05-25 22:20:15 -07:00
2026-05-25 22:20:15 -07:00
2026-05-02 16:06:11 -07:00
2026-05-02 16:06:11 -07:00
2026-05-30 21:20:37 -07:00
2026-05-30 21:20:37 -07:00
2026-06-02 20:55:35 -07:00
2026-06-02 20:55:35 -07:00
2026-05-31 11:46:24 -07:00
2026-05-31 02:21:17 -07:00
2026-05-31 02:21:17 -07:00
2026-05-26 00:24:45 -07:00
2026-05-21 21:52:26 -07:00
2026-05-21 21:52:26 -07:00
2026-05-21 21:52:26 -07:00
2026-05-21 21:52:26 -07:00
2026-05-30 10:11:48 -07:00
2026-05-30 10:11:48 -07:00
2026-05-31 01:43:32 -07:00
2026-05-31 01:43:32 -07:00
2026-04-14 10:25:55 -07:00
2026-04-14 10:33:25 -07:00
2026-05-27 00:47:01 -07:00
2026-05-26 20:56:11 -07:00
2026-04-03 00:42:44 -07:00
2026-05-30 13:09:17 -07:00
2026-05-30 13:09:17 -07:00
2026-05-27 00:47:01 -07:00
2026-05-27 00:47:01 -07:00
2026-05-27 00:47:01 -07:00
2026-05-15 23:52:37 -07:00
2026-05-26 20:56:11 -07:00
2026-05-15 23:52:37 -07:00
2026-05-30 16:54:32 -04:00
2026-05-30 16:54:32 -04:00
2026-05-31 10:11:51 -07:00
2026-05-31 10:11:51 -07:00
2026-05-06 23:30:03 -07:00
2026-05-23 12:33:49 -07:00
2026-05-20 22:09:35 -07:00
2026-05-20 22:09:35 -07:00
2026-05-30 11:01:09 -07:00
2026-05-21 13:22:37 -07:00
2026-05-30 11:01:09 -07:00
2026-05-31 17:47:15 -07:00
2026-05-30 12:53:34 -07:00
2026-05-26 20:28:51 -07:00
2026-05-30 12:53:34 -07:00
2026-05-30 12:53:34 -07:00
2026-05-29 16:06:33 -07:00
2026-05-29 16:06:33 -07:00
2026-05-29 16:06:33 -07:00
2026-04-07 21:02:36 -04:00
2026-05-20 17:33:07 -04:00