Detects when user changes same config setting 3+ times within 24 hours. Shows non-intrusive prompt offering help with guided calibration flow. Guided calibration features: - Test for false positives (walk around room) - Test for missed motion (sit still) - Suggest optimal value based on diurnal baseline SNR and link health - Apply suggested value button Files: - dashboard/js/proactive.js: Complete implementation with localStorage tracking Acceptance: - Help prompt fires after 3+ changes in 24h - Calibration flow tests both directions - Suggests value based on system data - Apply button works
23 lines
733 B
JavaScript
23 lines
733 B
JavaScript
"use strict";
|
|
|
|
// Update this array if you add/rename/remove files in this directory.
|
|
// We support Browserify by skipping automatic module discovery and requiring modules directly.
|
|
var modules = [
|
|
require("./internal"),
|
|
require("./utf32"),
|
|
require("./utf16"),
|
|
require("./utf7"),
|
|
require("./sbcs-codec"),
|
|
require("./sbcs-data"),
|
|
require("./sbcs-data-generated"),
|
|
require("./dbcs-codec"),
|
|
require("./dbcs-data"),
|
|
];
|
|
|
|
// Put all encoding/alias/codec definitions to single object and export it.
|
|
for (var i = 0; i < modules.length; i++) {
|
|
var module = modules[i];
|
|
for (var enc in module)
|
|
if (Object.prototype.hasOwnProperty.call(module, enc))
|
|
exports[enc] = module[enc];
|
|
}
|