Emoji favicons for the web
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

remove "flag" feature

- in 2.00, this will be replaced by extension icon notification

+6 -21
+3 -13
source/pages/settings_page.tsx
··· 17 17 18 18 const SettingsPage = ({ save, storage }: SettingsProps) => { 19 19 const { cache = defaultSettings, setCache } = storage || {}; 20 - const { 21 - enableFaviconActiveFlag, 22 - enableFaviconAutofill, 23 - enableSiteIgnore, 24 - } = cache.features || {}; 20 + const { enableFaviconAutofill, enableSiteIgnore } = cache.features || {}; 25 21 26 22 const setFeature = useCallback((feature: Target) => { 27 23 if (storage) { ··· 38 34 <form onSubmit={save}> 39 35 <h1>Settings</h1> 40 36 <Checkbox 41 - name='enableFaviconActiveFlag' 42 - label={t('enableFaviconActiveFlagLabel')} 43 - checked={enableFaviconActiveFlag} 44 - onChange={setFeature} 45 - /> 46 - <Checkbox 47 37 name='enableSiteIgnore' 48 38 label={t('enableSiteIgnoreLabel')} 49 39 checked={enableSiteIgnore} 50 40 onChange={setFeature} 51 41 /> 52 42 <Checkbox 53 - name='enableAutofillFavicon' 54 - label={t('enableAutofillFaviconLabel')} 43 + name='enableFaviconAutofill' 44 + label={t('enableFaviconAutofillLabel')} 55 45 checked={enableFaviconAutofill} 56 46 onChange={setFeature} 57 47 />
-2
source/types.ts
··· 7 7 ignoreList: IgnoreItem[]; 8 8 9 9 features: { 10 - enableFaviconActiveFlag?: boolean; 11 10 enableFaviconAutofill?: boolean; 12 11 enableSiteIgnore?: boolean; 13 12 }; ··· 18 17 ignoreList: [], 19 18 20 19 features: { 21 - enableFaviconActiveFlag: false, 22 20 enableFaviconAutofill: false, 23 21 enableSiteIgnore: false, 24 22 },
+3 -6
source/utilities/i18n.ts
··· 9 9 Favioli does NOT collect or store any of this data, and does NOT use these permissions for anything besides what is stated here.`; 10 10 11 11 const en: { [name: string]: string } = { 12 - enableFaviconActiveFlagDesc: 13 - 'Show an icon when using a favicon that Favioli has replaced', 14 - enableFaviconActiveFlagLabel: 'Enable Icon Replacement', 15 - enableAutofillFaviconDesc: 12 + enableFaviconAutofillDesc: 16 13 'If a website doesn\'t have a favicon, Favioli will automatically create one for it using an emoji.', 17 - enableAutofillFaviconLabel: 'Enable Autofill', 18 - enableAutofillFaviconPopup: broadPermissionsWarning, 14 + enableFaviconAutofillLabel: 'Enable Autofill', 15 + enableFaviconAutofillPopup: broadPermissionsWarning, 19 16 enableSiteIgnoreDesc: 'Select sites that autofill should ignore', 20 17 enableSiteIgnoreLabel: 'Enable Ignore List', 21 18 saveLabel: 'Save',