Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/extensionsIntegrated/Phoenix/guided-tour.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)) : {
Expand Down
20 changes: 20 additions & 0 deletions src/project/FileTreeView.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion tracking-repos.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"phoenixPro": {
"commitID": "5aa97d2d87bd85244e3a57d1c850810a7a29a85e"
"commitID": "d72beedc81737f4b408ada7eb37f38b8bff94a6e"
}
}
Loading