rename: Outlook Relook → Outcut, add keyboard presets, remove design UI from popup

- Rename extension to "Outcut" throughout all source files and console logs
- Add KEY_PRESETS object (gmail/outlook) and matchesAction() helper to keyboard.js
- Rewrite handleKeydown to use preset-based dispatch instead of hardcoded switch
- Update updateSettings to re-init when keyboardPreset changes
- Add keyboardPreset: 'gmail' default to settings-defaults.js
- Replace popup Design Tweaks UI with preset dropdown + dynamic help text
- Keep all design tweak content script logic intact (activatable via storage)
- Update manifest: version 1.0.0, remove activeTab, add homepage_url
This commit is contained in:
Joel Brock
2026-04-27 14:11:45 -07:00
parent 93a5888d83
commit 3de2db7d89
10 changed files with 199 additions and 523 deletions

View File

@@ -60,13 +60,13 @@ window.OutlookRelook.Injector = (function () {
for (var j = 0; j < menuItems.length; j++) {
if (/mark all as read/i.test(menuItems[j].textContent)) {
menuItems[j].click();
console.log('[Outlook Relook] Marked all as read');
console.log('[Outcut] Marked all as read');
return;
}
}
// Close context menu if option not found
document.body.click();
console.warn('[Outlook Relook] "Mark all as read" menu item not found');
console.warn('[Outcut] "Mark all as read" menu item not found');
}, 300);
}
};
@@ -244,7 +244,7 @@ window.OutlookRelook.Injector = (function () {
currentSettings = settings;
setupMarkAllRead();
setupFolderJump();
console.log('[Outlook Relook] Injector started');
console.log('[Outcut] Injector started');
}
function updateSettings(settings) {