Commit graph

181 commits

Author SHA1 Message Date
the-djmaze
c1bed26fd1 Resolve #399 (just remove the confusing feature "hide submit button") 2022-05-17 09:15:06 +02:00
the-djmaze
80eed213d9 Allow cancelable on some custom javascript events. 2022-04-29 13:07:49 +02:00
the-djmaze
8c8c414bda v2.14.2 2022-04-05 11:06:22 +02:00
the-djmaze
48974d1b5a Get rid of i18nInit and improve i18nUpdate 2022-04-05 10:31:55 +02:00
djmaze
d6dc4d291c Split Sieve/Filters code from app.js so that i can work on the new Sieve GUI 2022-03-11 10:26:25 +01:00
the-djmaze
3e494f6519 Cleanup views system 2022-03-08 12:28:16 +01:00
the-djmaze
4dd58f7c36 Cleanup and better rename settings screens to match template names 2022-03-08 00:51:32 +01:00
the-djmaze
60987f4623 Cleanup shortcuts scope handling 2022-03-07 13:47:03 +01:00
the-djmaze
fe0f6af9f4 Renamed closeCommand() to close() because it has no command feature anymore 2022-03-04 09:21:24 +01:00
the-djmaze
f0b0d21386 Some small cleanups/corrections 2022-03-03 19:22:17 +01:00
the-djmaze
f50f2c5ea0 decorateKoCommands() each command must have function
And due to that, a bug is found and solved in MessageView
2022-03-03 17:34:45 +01:00
the-djmaze
fafe56ecb4 Fix and improved hasher routing 2022-03-03 16:28:05 +01:00
the-djmaze
096faae844 Remove some shortcuts due to conflicts, read #252 2022-03-02 09:26:30 +01:00
the-djmaze
3de19b22b6 Solve hideSubmitButton issue 2022-03-01 10:36:27 +01:00
the-djmaze
f4d98130a5 Simplify save settings 2022-03-01 10:18:12 +01:00
the-djmaze
e26f00e268 Resolve #250 2022-02-28 16:10:23 +01:00
the-djmaze
97bc3ef585 Enable AbstractViewSettings 2022-02-28 10:38:47 +01:00
the-djmaze
92cec80b73 Improved plugin documentation 2022-02-26 10:33:11 +01:00
the-djmaze
36feca6ce7 modalVisibility() to modalVisible() 2022-02-26 01:06:18 +01:00
the-djmaze
65a3b9e4c7 Bugfix: Popup Escape/Close key failed 2022-02-25 13:13:09 +01:00
the-djmaze
169dbfecca Added some documentation 2022-02-25 12:11:32 +01:00
the-djmaze
2edd55f01f Drop cancelCommand in favor of closeCommand and improve AbstractViewPopup handling 2022-02-24 22:40:17 +01:00
the-djmaze
24b638cd82 Cleanup some JavaScript 2022-02-21 15:36:34 +01:00
the-djmaze
b2a492bdab Cleanup knockout subscribables 2022-02-17 09:36:29 +01:00
the-djmaze
5748dea4bc Cleanup component models 2022-02-16 23:12:12 +01:00
the-djmaze
44ee236709 dispatchEvent(new CustomEvent(...)) to fireEvent(...) 2022-02-11 12:21:16 +01:00
the-djmaze
f6400b6da2 Remove rl.showScreenPopup in favour of AbstractViewPopup.showModal 2022-02-07 15:20:39 +01:00
the-djmaze
686138ae15 Revamp isPopupVisible to AbstractViewPopup.hidden 2022-02-04 09:49:55 +01:00
djmaze
a15454fd15 Cleanup createCommand() 2021-12-31 13:50:33 +01:00
djmaze
954de06f86 Switch from ko.computed to ko.pureComputed
This should provide performance and memory benefits over regular computed observables
2021-12-31 13:30:05 +01:00
djmaze
2a01d8c991 Cleanup user-select 2021-12-28 14:48:20 +01:00
djmaze
b98762dd68 Replace deprecated String.substr with String.slice 2021-12-08 11:35:41 +01:00
djmaze
6d7911a9ed Object.entries().forEach() to forEachObjectEntry() 2021-12-01 14:23:37 +01:00
djmaze
d5ea7dc188 Revert change that shouldn't be commited 2021-11-12 09:57:32 +01:00
djmaze
ce413b7b7a Some account switch reload improvements 2021-11-12 09:36:08 +01:00
djmaze
3950ff049c Display <dialog> as flex so that <header> is always top on scroll 2021-11-08 20:41:38 +01:00
djmaze
5b0dd471bc Improved the (User|Admin) Settings screens 2021-11-07 21:19:48 +01:00
djmaze
6170de5aee Drop bootstrap modal.less by using <dialog> <header> and <footer>
https://snappymail.eu/demo/ updated for testing
2021-11-07 17:06:08 +01:00
djmaze
880d4a05e9 Drop the ko.bindingHandlers.modal as click.koModal is never used
And replace hideScreenPopup() with this.closeCommand();
2021-11-06 22:08:45 +01:00
djmaze
263e595ba2 Added: resize messages list vertical 2021-11-05 10:20:06 +01:00
djmaze
e52addf346 When login don't reload the whole browser. Just rebuilt screens 2021-11-01 11:24:11 +01:00
djmaze
21a9e24233 Revert templateId to viewModelTemplateID for issue #150 2021-10-11 14:31:54 +02:00
djmaze
c9fe7516c4 Remove unused parameter 'name' in views 2021-09-23 09:41:02 +02:00
djmaze
8be4c384bb Improved AbstractScreen properties
Improved settings screens
Views:
* sDefaultScope & sCurrentScope to sub-class keyScope
* drop viewModelVisible
* rename viewModelTemplateID to templateID
* rename viewModelPosition to viewType
2021-09-22 20:17:44 +02:00
djmaze
11f69ef9e4 Drop popupVisibilityNames/viewModelName in favor of the new visiblePopups Set 2021-09-22 13:37:12 +02:00
djmaze
631b487163 Bugfix: close popups on browser back/forward hash change 2021-09-10 10:25:58 +02:00
djmaze
b65b77f518 Bugfix: TypeError curValue is null 2021-09-03 09:30:53 +02:00
djmaze
fa25be0631 Make unsubsribeLinks observable 2021-09-01 16:10:44 +02:00
djmaze
36971482a0 Some code cleanups 2021-09-01 11:02:51 +02:00
djmaze
f2d172de7d Prevent unloading of browser window when popups (like composer window) are open. 2021-08-31 16:17:20 +02:00