diff --git a/apps/gittensory-miner-extension/README.md b/apps/gittensory-miner-extension/README.md index 06dd6cf02a..15b0bb46d2 100644 --- a/apps/gittensory-miner-extension/README.md +++ b/apps/gittensory-miner-extension/README.md @@ -18,6 +18,5 @@ available for the current issue. ## Local ranked cache Laptop-mode installs can paste JSON from a miner `discover` run into the options page. The extension stores that list in -`chrome.storage.local.rankedCandidates` and looks up the current issue there. A discovery-index URL can be saved for a -future hosted client path; it is not read yet, so when only unranked hosted metadata would be available the badge -degrades gracefully by staying hidden. +`chrome.storage.local.rankedCandidates` and looks up the current issue there. When no ranked signal is cached for the +current issue, the badge degrades gracefully by staying hidden. diff --git a/apps/gittensory-miner-extension/background.js b/apps/gittensory-miner-extension/background.js index bebc7cb081..d8c5b332a0 100644 --- a/apps/gittensory-miner-extension/background.js +++ b/apps/gittensory-miner-extension/background.js @@ -59,13 +59,11 @@ async function loadIssueOpportunityContext(message) { } async function loadMinerExtensionSettings() { - const stored = await chrome.storage.sync.get({ watchedRepos: [], discoveryIndexUrl: "" }); + const stored = await chrome.storage.sync.get({ watchedRepos: [] }); const watchedRepos = Array.isArray(stored.watchedRepos) ? stored.watchedRepos.map((value) => String(value).trim()).filter(Boolean) : []; - const discoveryIndexUrl = - typeof stored.discoveryIndexUrl === "string" ? stored.discoveryIndexUrl.trim() : ""; - return { watchedRepos, discoveryIndexUrl }; + return { watchedRepos }; } async function loadRankedCandidates() { diff --git a/apps/gittensory-miner-extension/options.html b/apps/gittensory-miner-extension/options.html index 0bf82ea7af..be2bb3f3b1 100644 --- a/apps/gittensory-miner-extension/options.html +++ b/apps/gittensory-miner-extension/options.html @@ -64,10 +64,6 @@