Commit graph

167 commits

Author SHA1 Message Date
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
djmaze
cc03546484 Reduce JavaScript footprint 2021-08-20 15:40:07 +02:00
djmaze
5f21fcc100 hasher.changed.* to hasher.* 2021-08-13 10:01:01 +02:00
djmaze
d536b5eeee Change ()=>{} into ()=>0 2021-08-13 09:58:43 +02:00
djmaze
8b116fa8ba Cleanup some code 2021-08-12 20:17:37 +02:00
djmaze
5590fd4860 isNonEmptyArray => arrayLength 2021-07-21 21:34:17 +02:00
djmaze
d69743cee5 Cleanup closeCommand & cancelCommand because both are defined for popups 2021-07-16 09:11:10 +02:00
djmaze
d67cfaa3a4 Resolve Issue #93 2021-05-31 16:19:01 +02:00
djmaze
109c6b6ab5 Cleanup HTML and CSS 2021-04-30 16:39:27 +02:00
djmaze
60a4a248d1 Simplify onWarmUp into onBuild 2021-04-23 00:12:42 +02:00
djmaze
fe4dbc729c Added isFunction() 2021-03-24 14:22:25 +01:00
djmaze
845483d127 Bugfix: messagelist viewAppendArea failed to missing observableArray 2021-03-16 17:09:39 +01:00
djmaze
0b64083543 Array.isArray to isArray
Array.isNotEmpty to isNonEmptyArray
2021-03-16 16:49:14 +01:00
djmaze
986b8f056b prevent creation of _defineProperty() function 2021-03-16 16:08:01 +01:00
djmaze
eff92c3152 Cleanup AppUserStore
Simplify KeyState/Focused as Scope enum
2021-03-16 16:06:16 +01:00