@bobfrankston/rmfmail 1.1.88 → 1.1.90
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.commitmsg +6 -10
- package/client/app.bundle.js +2 -2
- package/client/app.bundle.js.map +2 -2
- package/client/app.js +10 -6
- package/client/app.js.map +1 -1
- package/client/app.ts +10 -5
- package/client/compose/compose.bundle.js +16 -0
- package/client/compose/compose.bundle.js.map +2 -2
- package/client/compose/spellcheck.js +23 -0
- package/client/compose/spellcheck.js.map +1 -1
- package/client/compose/spellcheck.ts +21 -0
- package/npmchanges.md +25 -0
- package/package.json +1 -1
- /package/packages/mailx-imap/{node_modules.npmglobalize-stash-73816 → node_modules.npmglobalize-stash-75596}/.package-lock.json +0 -0
package/.commitmsg
CHANGED
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
Search history records live (no-Enter) searches too
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
releaseFocus() now strips every .selected row. focusRow() also sweeps
|
|
10
|
-
stray .selected in single-select mode before highlighting its row, so
|
|
11
|
-
the list can never show a highlight that doesn't match the viewer.
|
|
3
|
+
Search history only recorded on Enter, so a search typed and run
|
|
4
|
+
live ("Hoddie") never appeared in the history dropdown. Every executed
|
|
5
|
+
search is now recorded; recordSearchHistory() prunes any entry that is a
|
|
6
|
+
prefix of the new query, collapsing the keystroke progression ("Hod",
|
|
7
|
+
"Hodd") into the final term so it lands in history exactly once.
|
package/client/app.bundle.js
CHANGED
|
@@ -7823,7 +7823,7 @@ function recordSearchHistory(query) {
|
|
|
7823
7823
|
const trimmed = query.trim();
|
|
7824
7824
|
if (!trimmed) return;
|
|
7825
7825
|
const cur = loadSearchHistory();
|
|
7826
|
-
const filtered = cur.filter((q) => q !== trimmed);
|
|
7826
|
+
const filtered = cur.filter((q) => q !== trimmed && !trimmed.startsWith(q));
|
|
7827
7827
|
filtered.unshift(trimmed);
|
|
7828
7828
|
if (filtered.length > SEARCH_HISTORY_MAX) filtered.length = SEARCH_HISTORY_MAX;
|
|
7829
7829
|
saveSearchHistory(filtered);
|
|
@@ -7917,7 +7917,7 @@ function doSearch(immediate = false) {
|
|
|
7917
7917
|
{ kind: "search", query, scope: effectiveScope, accountId: currentAccountId3, folderId: currentFolderId2, includeTrash },
|
|
7918
7918
|
`Search: ${query}`
|
|
7919
7919
|
);
|
|
7920
|
-
|
|
7920
|
+
recordSearchHistory(query);
|
|
7921
7921
|
}
|
|
7922
7922
|
var currentAccountId3 = "";
|
|
7923
7923
|
var currentFolderId2 = 0;
|