From 94db6c69fa4aa25231e213c6d0e185197bfe3418 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Thu, 11 Feb 2021 18:55:09 -0500 Subject: Permissions button in browser action popup (#1368) * Add key icon * Update context icon styles * Add permissions links * Show warning badge if permissions are insufficient for certain settings * Create PermissionsUtil * Use PermissionsUtil in Backend * Update SettingsController to use PermissionsUtil * Update AnkiController to use getRequiredPermissionsForAnkiFieldValue * Show the permissions buttons/links on the context page when necessary * Update MV3 compatibility --- .eslintrc.json | 1 + 1 file changed, 1 insertion(+) (limited to '.eslintrc.json') diff --git a/.eslintrc.json b/.eslintrc.json index 0afb1a43..4500e436 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -176,6 +176,7 @@ "ext/bg/js/mecab.js", "ext/bg/js/media-utility.js", "ext/bg/js/options.js", + "ext/bg/js/permissions-util.js", "ext/bg/js/profile-conditions.js", "ext/bg/js/request-builder.js", "ext/bg/js/simple-dom-parser.js", -- cgit v1.2.3