diff --git a/src/extensionsIntegrated/Phoenix/guided-tour.js b/src/extensionsIntegrated/Phoenix/guided-tour.js index ccbc40775b..d402047889 100644 --- a/src/extensionsIntegrated/Phoenix/guided-tour.js +++ b/src/extensionsIntegrated/Phoenix/guided-tour.js @@ -27,10 +27,10 @@ define(function (require, exports, module) { // All popup notifications will show immediately on boot, we don't want to interrupt user amidst his work // by showing it at a later point in time. - const GENERAL_SURVEY_TIME = 1200000, // 20 min + const GENERAL_SURVEY_TIME = 35 * 60 * 1000, // min -> ms SURVEY_PRELOAD_DELAY = 10000, // 10 seconds to allow the survey to preload, but not // enough time to break user workflow - POWER_USER_SURVEY_INTERVAL_DAYS = 35; + POWER_USER_SURVEY_INTERVAL_DAYS = 45; const userAlreadyDidAction = PhStore.getItem(GUIDED_TOUR_LOCAL_STORAGE_KEY) ? JSON.parse(PhStore.getItem(GUIDED_TOUR_LOCAL_STORAGE_KEY)) : { diff --git a/src/project/FileTreeView.js b/src/project/FileTreeView.js index 7c05bb9934..6e366f7268 100644 --- a/src/project/FileTreeView.js +++ b/src/project/FileTreeView.js @@ -351,6 +351,16 @@ define(function (require, exports, module) { type: "text", defaultValue: this.props.name, autoFocus: true, + + // 🔒 Disable OS / browser assistance + autoComplete: "off", + autoCorrect: "off", // Safari / iOS + autoCapitalize: "off", // Safari / iOS + spellCheck: false, // Chrome / Firefox / Safari + inputMode: "text", // Prevent smart keyboards + enterKeyHint: "done", // Optional, avoids suggestions UI + + // Event handlers onKeyDown: this.handleKeyDown, onInput: this.handleInput, onClick: this.handleClick, @@ -776,6 +786,16 @@ define(function (require, exports, module) { type: "text", defaultValue: this.props.name, autoFocus: true, + + // 🔒 Disable OS / browser assistance + autoComplete: "off", + autoCorrect: "off", // Safari / iOS + autoCapitalize: "off", // Safari / iOS + spellCheck: false, // Chrome / Firefox / Safari + inputMode: "text", // Prevent smart keyboards + enterKeyHint: "done", // Optional, avoids suggestions UI + + // events onKeyDown: this.handleKeyDown, onInput: this.handleInput, onBlur: this.handleBlur, diff --git a/tracking-repos.json b/tracking-repos.json index 5320c71ee0..b0e0787bee 100644 --- a/tracking-repos.json +++ b/tracking-repos.json @@ -1,5 +1,5 @@ { "phoenixPro": { - "commitID": "5aa97d2d87bd85244e3a57d1c850810a7a29a85e" + "commitID": "d72beedc81737f4b408ada7eb37f38b8bff94a6e" } }