Refractoring Stage 6.13 Encapsulated productivity.js in a local scope; its consumers continue to use the existing productivity feature API. Bumped the version to 0.4.25 (Android version code 425) and updated REFACTOR_PLAN.md.

This commit is contained in:
2026-10-16 22:22:14 +03:00
parent 26d79fd836
commit 928410b10e
6 changed files with 12 additions and 4 deletions
+2
View File
@@ -89,6 +89,8 @@ test('account and snooze UI consume the explicit mail API instead of selected le
assert.doesNotMatch(pgpMailUi, /(?<!\.)\bmessages\.find|(?<!\.)\bactiveMessage\b|window\.pgpPrepareSend/);
assert.doesNotMatch(pgpUi, /\bconnectedMailAccount\b/);
assert.match(productivityUi, /window\.epMailFeatures\.productivity/);
assert.match(productivityUi, /^\(\(\) => \{/);
assert.match(productivityUi, /window\.epMailFeatures\.productivity = Object\.freeze/);
assert.match(productivityUi, /addMessageLabel,/);
assert.match(snoozeUi, /snoozeProductivityUi\.addMessageLabel/);
assert.doesNotMatch(snoozeUi, /(?<!\.)\baddMessageLabel\s*\(/);