Commit graph

264 commits

Author SHA1 Message Date
SebaSalvaG
e4ecda0e61 Don't reset the message list to page 1 and clear the search on message.show
The `mailbox.message.show` handler rewrote the hash to `mailBox(sFolder)` --
page 1, no search -- even when the user was already in that folder.

Because the hash of an open message carries the message id and the new one does
not, the two differ, the route fires again, the message is shown again, and the
handler runs again: a loop. Every iteration aborts whatever message list request
was pending, so browsing to page 2 or running a search silently bounces back to
page 1 of the INBOX with an empty search box.

Only navigate when we are not already in that folder. Clicking a new-mail
notification from another folder still takes you to the INBOX; if the message is
not in the current page, the else branch already opens it in the preview pane
without touching the list.

The same unconditional setHash a few lines below, for non-INBOX folders, gets
the same guard.
2026-08-23 22:38:40 +02:00
the-djmaze
3a589e240c Proper fix for default sortMode 2024-10-23 00:39:01 +02:00
the-djmaze
4f6783a991 Bugfix: sortMode undefined at login 2024-10-23 00:28:13 +02:00
the-djmaze
16106a28d5 Resolve #1798 2024-10-10 23:45:28 +02:00
the-djmaze
68045f50f6 Resolve #1787 2024-10-02 01:52:15 +02:00
the-djmaze
3ff2c4fb82 Hide undeleteCommand command when deleted messages are hidden #1657 2024-07-14 23:04:15 +02:00
the-djmaze
b70860c903 Only set flag \Deleted when Trash is set to "do not use" 2024-07-14 22:55:04 +02:00
the-djmaze
50e30dbb6e Slightly modified patch code of #1657 2024-07-11 01:31:58 +02:00
the-djmaze
53a6f04f18 Added "copy to" action in menu's for #1559 2024-04-28 17:32:25 +02:00
the-djmaze
015dcbdc41 Bugfix: error undefined msg.from[0] 2024-03-26 12:26:53 +01:00
the-djmaze
d6be75e39d Messages don't need generateUid() either 2024-02-06 12:09:17 +01:00
the-djmaze
4d66c02190 Improve fix for #1373 2023-12-28 01:28:22 +01:00
the-djmaze
2916583d0b Resolve #1332 2023-12-11 23:46:45 +01:00
the-djmaze
eb802135a9 Add folder full name to message uids set 2023-11-26 17:52:20 +01:00
the-djmaze
df7888e3a6 Remove the openDropdownTrigger and replace some with a better toggle 2023-11-26 17:50:18 +01:00
the-djmaze
9d876d1146 Draft code: on message view set hash 2023-11-26 15:11:01 +01:00
the-djmaze
5047c3c6b8 Resolve #1328 2023-11-24 00:16:08 +01:00
the-djmaze
b3309f7b4e Cleanup messagelist UpOrDown handling 2023-10-08 14:07:02 +02:00
the-djmaze
59f9ccdbdc Remove messagelist UpOrDown delay 2023-10-08 14:03:32 +02:00
the-djmaze
231ccb1e43 Cleanup and simplify messageList UpOrDown handling 2023-10-08 13:57:46 +02:00
the-djmaze
e1649d0361 Drop .actionHandle 2023-10-02 18:35:59 +02:00
the-djmaze
396caabdaa Bugfix: flagParent failed due to my change for #1248 2023-10-02 18:05:12 +02:00
the-djmaze
6b0e6ec02a Improved selector changes of #1248 2023-10-02 12:47:47 +02:00
Sergey Mosin
15e59ef65f fix: allow clicking action on entire "ListItem" area, instead of just the "text elements" 2023-09-18 15:50:48 -04:00
the-djmaze
eb566ca9db Changes for idea in #1150 (isSmall not active yet) 2023-08-28 10:11:34 +02:00
the-djmaze
dfc415e3a8 Allow when listLimited is active 2023-04-11 11:24:15 +02:00
the-djmaze
da2ab68fcc Cleanup some enums to consts 2023-04-03 10:29:26 +02:00
the-djmaze
91e60c1007 Resolve #1037 2023-04-03 09:35:56 +02:00
the-djmaze
45be0d7aa8 Bugfix: ask unload when mobile and message visible 2023-03-20 15:21:56 +01:00
the-djmaze
49f76ffe76 Move more JSON code into MailSo\Mail\Message 2023-03-13 13:01:05 +01:00
the-djmaze
5436253ffd Cache changes for #1003 2023-03-06 11:36:23 +01:00
the-djmaze
d8b05ee361 Resolve #992 2023-02-25 14:16:04 +01:00
the-djmaze
8623bb5d60 Reduce use of isMobile() 2023-02-23 15:43:32 +01:00
the-djmaze
57f497cf63 isMobile() not used in templates 2023-02-23 14:04:35 +01:00
the-djmaze
e1833ae032 Make layout fully responsive using matchMedia('(max-width: 799px)') 2023-02-23 13:54:32 +01:00
the-djmaze
1c1b043a50 Improved key event handling 2023-02-21 14:26:37 +01:00
the-djmaze
614e6c5756 Don't clone message for viewing, so that there is instant interaction with messagelist item 2023-02-14 10:11:25 +01:00
the-djmaze
e8c93a1d0c Improved EmailModel handling 2023-02-12 18:28:30 +01:00
the-djmaze
b448b8661d Properly fix #928 by redesign using display: flex 2023-02-08 17:39:30 +01:00
the-djmaze
974350ebee Found more JSON properties to change into JavaScript camelCase 2023-01-26 10:41:55 +01:00
the-djmaze
f080a302b1 Almost all JSON properties to JavaScript camelCase 2023-01-24 18:58:25 +01:00
the-djmaze
98996ba4b7 Resolve #843 2023-01-17 14:26:00 +01:00
the-djmaze
177dfcb7e5 Improved and solve #847 2023-01-12 16:54:40 +01:00
codiflow
7b29dca261 Adding a button to clear folder search input field 2023-01-12 13:24:34 +01:00
the-djmaze
0e5ae38c58 More changes for #815 2023-01-03 14:15:09 +01:00
the-djmaze
becdf29120 Changes for #815 2023-01-03 13:50:38 +01:00
the-djmaze
d4c4f84c13 https://github.com/the-djmaze/snappymail/issues/796#issuecomment-1367247159 2022-12-29 13:40:46 +01:00
the-djmaze
3a96823506 When message list grouped by FROM show dynamic date/time 2022-12-28 10:55:37 +01:00
the-djmaze
7c928ee78e When sorting on FROM also sort on REVERSE DATE 2022-12-27 21:34:32 +01:00
the-djmaze
4ac3cba065 Disable sorting on thread view #445 2022-12-27 12:49:50 +01:00