-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(frontend/backend): address some of the many blocking issues (#1443)
* fix(frontend): prevent Cypht-related mobile nav CSS attributes from overriding third-party styles * fix(backend): showing server sieve capabilities * fix(frontend): git revision link not opening the remote url * fix(frontend): fadeOutAndRemove should not only be extended to cash but also to jQuery * fix(frontend): refresh ui state when adding a server * fix(backend): adding accounts via files imports * fix(backend): downloading server accounts sample files in third-party softwares * fix elements spacing of the search page * fix(backend): offline error message when hihandling a message action or deleting a folder * fix(frontend): hide the refresh icon on the search page as it's replaced by the update button * fix(frontend): delete a saved search term * fix(backend): undefined array key warnings when listing folders' messages * fix(frontend): ensure that a search operation updates the cached pages results * fix(frontend): ensure that a filter operation updates the cached pages results * fix(frontend): when opening an unread message, the counter does not get updated * fix(frontend): Snooze - Pick a date does not show a date picke * fix(frontend): remove the deleted message from the store when a delete action has been performed
- Loading branch information
1 parent
62e9174
commit 3c0db75
Showing
29 changed files
with
205 additions
and
120 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,26 @@ | ||
function showRoutingToast() { | ||
function showRoutingToast(message = 'Redirecting...') { | ||
if (window.routingToast) hideRoutingToast(); | ||
window.routingToast = showLoaderToast('Redirecting...'); | ||
window.routingToast = showLoaderToast(message); | ||
} | ||
|
||
function hideRoutingToast() { | ||
window.routingToast?.hide(); | ||
window.routingToast = null; | ||
} | ||
|
||
// Undefined is used as the default value instead of null to comply with the route handlers, which also use undefined as the default value. | ||
function getListPathParam() { | ||
return new URLSearchParams(window.location.search).get('list_path') | ||
return new URLSearchParams(window.location.next || window.location.search).get('list_path') ?? undefined; | ||
} | ||
|
||
function getMessageUidParam() { | ||
return new URLSearchParams(window.location.search).get('uid') | ||
return new URLSearchParams(window.location.next || window.location.search).get('uid') ?? undefined; | ||
} | ||
|
||
function getPageNameParam() { | ||
return new URLSearchParams(window.location.search).get('page') | ||
return new URLSearchParams(window.location.next || window.location.search).get('page') ?? undefined; | ||
} | ||
|
||
function getParam(param) { | ||
return new URLSearchParams(window.location.search).get(param) | ||
return new URLSearchParams(window.location.next || window.location.search).get(param) ?? undefined; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.