Skip to content

Commit

Permalink
feat: remove 'redirect on {domain}' from main menu
Browse files Browse the repository at this point in the history
This removes "Redirect on {fqdn}" menu item from browser action menu.
DNSLink redirect is no longer enabled by default, and this feature does
not need to be present at all times (It remains on Preferences screen if
needed).

In the future we will change it to "Disaple IPFS integrations on these
hostnames"

Part of #741
  • Loading branch information
lidel committed Dec 6, 2019
1 parent 963a340 commit c7c3221
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions add-on/src/popup/browser-action/context-actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ function contextActions ({
</div>
`
}
// TODO: change "redirect on {fqdn}" to "disable on {fqdn}" and disable all integrations
/* TODO: change "redirect on {fqdn}" to "disable on {fqdn}" and disable all integrations
// removed per site toggle for now: ${renderSiteRedirectToggle()}
const renderSiteRedirectToggle = () => {
if (!isRedirectContext) return
return html`
Expand All @@ -83,10 +84,10 @@ function contextActions ({
})}
`
}
*/
return html`
<div class='fade-in pv1'>
${renderIpfsContextItems()}
${renderSiteRedirectToggle()}
</div>
`
}
Expand Down

0 comments on commit c7c3221

Please sign in to comment.