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:
@@ -20,7 +20,7 @@ window.OutlookRelook.Behavior = (function () {
|
||||
for (var i = 0; i < elements.length; i++) {
|
||||
if (elements[i].getAttribute('aria-expanded') === 'true') {
|
||||
elements[i].click();
|
||||
console.log('[Outlook Relook] Auto-collapsed ribbon');
|
||||
console.log('[Outcut] Auto-collapsed ribbon');
|
||||
}
|
||||
}
|
||||
}, 2000);
|
||||
@@ -217,7 +217,7 @@ window.OutlookRelook.Behavior = (function () {
|
||||
for (var w = 0; w < composeWindows.length; w++) {
|
||||
composeWindows[w].style.minHeight = '60vh';
|
||||
composeWindows[w].style.height = '60vh';
|
||||
console.log('[Outlook Relook] Auto-resized compose window');
|
||||
console.log('[Outcut] Auto-resized compose window');
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -242,7 +242,7 @@ window.OutlookRelook.Behavior = (function () {
|
||||
window.Notification = function (title, options) {
|
||||
var now = Date.now();
|
||||
if (now - lastNotificationTime < MIN_INTERVAL) {
|
||||
console.log('[Outlook Relook] Throttled notification: "' + title + '"');
|
||||
console.log('[Outcut] Throttled notification: "' + title + '"');
|
||||
return {};
|
||||
}
|
||||
lastNotificationTime = now;
|
||||
@@ -271,7 +271,7 @@ window.OutlookRelook.Behavior = (function () {
|
||||
setupAutoResizeCompose();
|
||||
setupThrottleNotifications();
|
||||
|
||||
console.log('[Outlook Relook] Behavior patches applied');
|
||||
console.log('[Outcut] Behavior patches applied');
|
||||
}
|
||||
|
||||
function updateSettings(settings) {
|
||||
|
||||
Reference in New Issue
Block a user